This file contains hidden or 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
import XCTest | |
// App instance | |
let app = XCUIApplication() | |
class BaseXCTestCase: XCTestCase { | |
// setUpWithError() and tearDownWithError() goes here | |
This file contains hidden or 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
import XCTest | |
// App instances | |
let app = XCUIApplication() | |
let springBoardApp = XCUIApplication(bundleIdentifier: "com.apple.springboard") | |
// MARK: - | |
let alertsHandler = AlertsHandler() |
This file contains hidden or 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
import XCTest | |
let app = XCUIApplication() | |
final class FrutaiOSUITests: XCTestCase { | |
override func setUpWithError() throws { | |
continueAfterFailure = false | |
} |
This file contains hidden or 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
import XCTest | |
/// Reference to the main app under test. | |
let app = XCUIApplication() | |
/// Enum representing various interaction strategies for tapping UI elements. | |
enum HitModes { | |
/// Tap immediately without waiting for the element to appear. | |
case noWait | |