mirror of
https://github.com/wassname/talk.git
synced 2026-08-07 11:29:44 +08:00
Return this
This commit is contained in:
@@ -5,7 +5,7 @@ module.exports = {
|
||||
.waitForElementVisible('body');
|
||||
},
|
||||
login(user) {
|
||||
this
|
||||
return this
|
||||
.setValue('@emailInput', user.email)
|
||||
.setValue('@passwordInput', user.password)
|
||||
.waitForElementVisible('@signIn')
|
||||
@@ -13,7 +13,7 @@ module.exports = {
|
||||
.click('@loginButton');
|
||||
},
|
||||
register(user) {
|
||||
this
|
||||
return this
|
||||
.waitForElementVisible('@registerButton')
|
||||
.click('@registerButton')
|
||||
.setValue('@emailInput', user.email)
|
||||
|
||||
Reference in New Issue
Block a user