Skip to content

Instantly share code, notes, and snippets.

@gunesmes
Created February 8, 2022 06:06
Show Gist options
  • Save gunesmes/1f4c787cdd3fd719d0812247d61a0ca4 to your computer and use it in GitHub Desktop.
Save gunesmes/1f4c787cdd3fd719d0812247d61a0ca4 to your computer and use it in GitHub Desktop.
//
// 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