Created
August 9, 2020 09:54
-
-
Save cipolleschi/88be8db1304bfe69c339811343a79765 to your computer and use it in GitHub Desktop.
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
| class LegalTests: XCTestCase { | |
| var app: XCUIApplication! | |
| var tosButton: XCUIElement! | |
| var privacyButton: XCUIElement! | |
| var continueButton: XCUIElement! | |
| var homeScreen: XCUIElement? | |
| override func setUpWithError() throws { | |
| try super.setUpWithError() | |
| continueAfterFailure = false | |
| self.app = XCUIApplication() | |
| self.app.launch() | |
| self.tosButton = app.buttons[LegalView.AccessibilityIdentifiers.tosButton.rawValue] | |
| self.privacyButton = app.buttons[LegalView.AccessibilityIdentifiers.privacyButton.rawValue] | |
| self.continueButton = app.buttons[LegalView.AccessibilityIdentifiers.continueButton.rawValue] | |
| } | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment