Created
February 8, 2022 06:06
-
-
Save gunesmes/1f4c787cdd3fd719d0812247d61a0ca4 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// | |
// BaseTest.swift | |
// TestDictionaryUITests | |
// | |
// Created by MESUT GUNES on 1.08.2021. | |
// Copyright © 2021 MesutGunes. All rights reserved. | |
// | |
import Foundation | |
import XCTest | |
open class BaseTest: XCTestCase { | |
private var baseScreen = BaseScreen() | |
public enum Constants { | |
public static let defaultWaitTime = 10.0 | |
public static let defaultLoadingTime = 30.0 | |
} | |
lazy var app = baseScreen.app | |
open override func setUp() { | |
app.launch() | |
app.launchArguments = ["enable-testing"] | |
continueAfterFailure = false | |
} | |
open override func tearDown() { | |
app.terminate() | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment