Fix Commenter/BestCommentTest to postComment before checking things.

This commit is contained in:
Benjamin Goering
2017-02-28 19:59:32 +08:00
parent 6e338290a1
commit 1bb20923a2
+2 -2
View File
@@ -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 => {