ready to push changes

This commit is contained in:
Belen Curcio
2016-12-19 13:12:20 -03:00
parent 155351a88f
commit 29ee652ac8
3 changed files with 3 additions and 2 deletions
-1
View File
@@ -54,7 +54,6 @@ const embedStreamCommands = {
likeComment() {
return this
.waitForElementVisible('@likeButton')
.waitForElementVisible('@likesCount')
.click('@likeButton');
},
flagComment() {
@@ -16,6 +16,7 @@ module.exports = {
embedStreamPage
.likeComment()
.waitForElementVisible('@likesCount', 2000)
.expect.element('@likeText').text.to.equal('Liked');
},
+2 -1
View File
@@ -9,10 +9,11 @@ export default {
},
'Visitor signs up': client => {
const embedStreamPage = client.page.embedStreamPage();
const hash = Math.floor(Math.random() * (999 - 0));
embedStreamPage
.signUp({
email: 'visitor@test.com',
email: `visitor_${hash}@test.com`,
displayName: 'Visitor',
pass: 'testtest'
});