This commit is contained in:
Belen Curcio
2016-12-18 11:31:27 -03:00
parent 27ffb05454
commit 428a62ffd4
18 changed files with 7402 additions and 81 deletions
+31
View File
@@ -0,0 +1,31 @@
const embedStreamCommands = {
ready() {
return this
.waitForElementVisible('body', 2000)
;
},
login() {
return this
.waitForElementVisible('@signInButton')
.click('@signInButton')
.waitForElementVisible('@signInDialog');
}
};
export default {
commands: [embedStreamCommands],
elements: {
signInButton: {
selector: '#coralSignInButton'
},
signInDialog:{
selector: '#signInDialog'
},
commentBox: {
selector: '#commentBox'
},
postButton: {
selector: '#commentBox .coral-plugin-commentbox-button'
}
}
};