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,14 @@
|
||||
exports.command = function(username, password) {
|
||||
|
||||
this
|
||||
.waitForElementVisible('#entrySignIn', 1000)
|
||||
.verify.elementPresent("#signInPageEmailInput")
|
||||
.verify.elementPresent("#signInPagePasswordInput")
|
||||
|
||||
.setValue("#signInPageEmailInput", username)
|
||||
.setValue("#signInPagePasswordInput", password)
|
||||
|
||||
.click("#signInToAppButton").pause(1000)
|
||||
|
||||
return this; // allows the command to be chained.
|
||||
};
|
||||
Reference in new issue
Block a user