Created
November 12, 2014 00:41
-
-
Save christian-bromann/57a476bf4d663c22b6c3 to your computer and use it in GitHub Desktop.
new syntactic sugar for WebdriverIO commands
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
describe(function() { | |
it('should login', function() { | |
"#inputUsername".setValue('userA'); | |
"#inputPassword".setValue('*****'); | |
".submit".click(); | |
return browser.getTitle().should.be.equal('Welcome userA'); | |
}); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment