mirror of
https://github.com/wassname/talk.git
synced 2026-10-28 13:30:17 +08:00
Fix Commenter/BestCommentTest to postComment before checking things.
This commit is contained in:
1 parent
6e338290a1
commit
1bb20923a2
1 file changed
+2
-2
@@ -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