mirror of
https://github.com/wassname/talk.git
synced 2026-07-15 11:26:58 +08:00
Fix Commenter/BestCommentTest to postComment before checking things.
This commit is contained in:
@@ -15,8 +15,8 @@ module.exports = {
|
||||
const embedStreamPage = client.page.embedStreamPage();
|
||||
|
||||
embedStreamPage
|
||||
.likeComment()
|
||||
.waitForElementVisible('@likesCount', 2000)
|
||||
.postComment('Hi everyone. Isn\'t this the BEST comment!?')
|
||||
.waitForElementVisible('@likeButton')
|
||||
.expect.element('@setBestButton').to.not.be.present;
|
||||
},
|
||||
after: client => {
|
||||
|
||||
Reference in New Issue
Block a user