Created
May 10, 2018 06:54
-
-
Save tranhieutt/5fb3a443b3d4ebbe70e6479fb6f7da78 to your computer and use it in GitHub Desktop.
testRegisterWithUserName
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
func testRegisterWithUserName() { | |
let textField = app.textFields["input user name"] | |
textField.tap() | |
textField.typeText("user name") | |
app.buttons[register].tap() | |
XCTAssert(app.alerts.element.staticTexts["user is correct"].exists) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment