Merge branch 'master' into e2e-env-fix

This commit is contained in:
Wyatt Johnson
2017-01-26 16:47:52 -07:00
committed by GitHub
36 changed files with 872 additions and 305 deletions
+6 -6
View File
@@ -8,7 +8,7 @@ const embedStreamCommands = {
},
approveComment() {
return this
.waitForElementVisible('@commentList')
.waitForElementVisible('@moderationList')
.waitForElementVisible('@approveButton')
.click('@approveButton');
}
@@ -17,17 +17,17 @@ const embedStreamCommands = {
module.exports = {
commands: [embedStreamCommands],
elements: {
commentList: {
selector: '#commentList'
moderationList: {
selector: '#moderationList'
},
banButton: {
selector: '#commentList .actions:first-child .ban'
selector: '#moderationList .actions:first-child .ban'
},
rejectButton: {
selector: '#commentList .actions:first-child .reject'
selector: '#moderationList .actions:first-child .reject'
},
approveButton: {
selector: '#commentList .actions:first-child .approve'
selector: '#moderationList .actions:first-child .approve'
}
}
};