Last active
April 22, 2019 11:33
-
-
Save ngtk/16acbe04733c2cad21a15a5da4426010 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 testSignup() { | |
| let app = XCUIApplication() | |
| let signUpPage = WelcomePage(app: app) | |
| let completePage = signUpPage. | |
| .typeEmail("[email protected]") | |
| .typePassword("jg28hwm90iflz") | |
| .typeName("Smith") | |
| .tapCreateAccountButton() | |
| _ = completePage | |
| .then { XCTAssertEqual($0.headingText, "Welcome, Smith!") } // It is like devxoul/Then | |
| .pickCompany("Japan") | |
| // ... | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment