mirror of
https://github.com/wassname/talk.git
synced 2026-07-24 13:20:47 +08:00
ready to push changes
This commit is contained in:
@@ -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');
|
||||
|
||||
},
|
||||
|
||||
@@ -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'
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user