AutoCat2/AutoCat2UITests/AutoCat2UITests.swift

35 lines
824 B
Swift

//
// AutoCat2UITests.swift
// AutoCat2UITests
//
// Created by Selim Mustafaev on 05.03.2022.
//
import XCTest
import AutoCatCore
class AutoCat2UITests: XCTestCase {
private let testLogin = "test@gmail.com"
private let testPassword = "12345"
override func setUpWithError() throws {
continueAfterFailure = false
}
override func tearDownWithError() throws {
// Put teardown code here. This method is called after the invocation of each test method in the class.
}
func testExample() throws {
let app = XCUIApplication()
app.launchArguments += ["UI-TESTING"]
app.launchEnvironment["testKind"] = Testing.TestKind.addNumberSuccess.rawValue
app.launch()
app.auth(login: testLogin, password: testPassword)
}
}