-
-
Save laevandus/25b662970d1beff939598fae2050e3e2 to your computer and use it in GitHub Desktop.
This file contains 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 UITestingNetworkingUITests: XCTestCase { | |
override func setUpWithError() throws { | |
continueAfterFailure = false | |
} | |
func testExample() throws { | |
let app = XCUIApplication() | |
app.launchArguments = ["--uitesting"] | |
app.launch() | |
app.buttons["Load Data"].tap() | |
XCTAssertEqual(app.staticTexts.element.label, "MyMockedData") | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment