Added nightwatch starrynight scaffold folder
This commit is contained in:
1 parent
2ea9eae0aa
commit
d2ab42e11c
18 files changed
+246
No files matched your search
@@ -0,0 +1,23 @@
|
||||
exports.command = function(email, password) {
|
||||
|
||||
this
|
||||
.waitForElementVisible('#entrySignUp', 1000)
|
||||
.verify.elementPresent("#signUpPageEmailInput")
|
||||
.verify.elementPresent("#signUpPagePasswordInput")
|
||||
.verify.elementPresent("#signUpPagePasswordConfirmInput")
|
||||
|
||||
.clearValue("#signUpPageEmailInput")
|
||||
.clearValue("#signUpPagePasswordInput")
|
||||
.clearValue("#signUpPagePasswordConfirmInput")
|
||||
|
||||
// .setValue("#signUpPageUsernameInput", "Jane Doe")
|
||||
.setValue("#signUpPageEmailInput", email)
|
||||
.setValue("#signUpPagePasswordInput", password)
|
||||
.setValue("#signUpPagePasswordConfirmInput", password)
|
||||
|
||||
.click("#signUpPageJoinNowButton").pause(200)
|
||||
|
||||
|
||||
|
||||
return this; // allows the command to be chained.
|
||||
};
|
||||
Reference in new issue
Block a user