Created
August 2, 2020 10:16
-
-
Save cipolleschi/26ee2aed7a31387749acbf804137c607 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
| func testExample() throws { | |
| // UI tests must launch the application that they test. | |
| let app = XCUIApplication() | |
| app.launch() | |
| // Use recording to get started writing UI tests. | |
| // Use XCTAssert and related functions to verify your tests produce the correct results. | |
| // XCODE STARTS WRITING HERE:👇 | |
| let app = XCUIApplication() | |
| app.staticTexts["Tap to accept TOS"].tap() | |
| app.staticTexts["Tap to Accept Privacy Policy"].tap() | |
| app.staticTexts["Continue"].tap() | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment