This commit is contained in:
Belen Curcio
2017-11-10 10:45:26 -03:00
parent 6ff4994d0d
commit fbc5a9d74b
2 changed files with 6 additions and 1 deletions
+1 -1
View File
@@ -18,7 +18,7 @@ module.exports = {
this
.click('@moderateNav')
.expect.section('@moderate').to.be.visible;
return this.section.stories;
return this.section.moderate;
},
goToStories() {
this
+5
View File
@@ -16,8 +16,13 @@ module.exports = {
},
'user logs in': (client) => {
const {testData: {user}} = client.globals;
const embedStream = client.page.embedStream();
const comments = client.page.embedStream().section.comments;
embedStream
.navigate()
.ready();
comments
.openLoginPopup((popup) => popup.login(user));
},