Created
February 23, 2019 15:08
-
-
Save PierreCavalet/ebe73703f5a710c2752f9f7bc8906293 to your computer and use it in GitHub Desktop.
Use the configuration file
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
module.exports = { | |
'Demo test': function (browser) { | |
browser | |
.url(browser.launch_url) | |
.waitForElementVisible('[data-nw=name-input]') | |
.setValue('[data-nw=name-input]', 'Pierre') | |
.weirdPause(browser.globals.timeToWait) | |
.assert.containsText('[data-nw=welcome-message]', 'Welcome Pierre !') | |
.end() | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment