From 1bb20923a2d0fbc21e1f2e794c1a629b335b50e4 Mon Sep 17 00:00:00 2001 From: Benjamin Goering Date: Tue, 28 Feb 2017 13:49:57 +0800 Subject: [PATCH] Fix Commenter/BestCommentTest to postComment before checking things. --- test/e2e/tests/Commenter/BestCommentTest.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/e2e/tests/Commenter/BestCommentTest.js b/test/e2e/tests/Commenter/BestCommentTest.js index f5747bd6e..765ef070f 100644 --- a/test/e2e/tests/Commenter/BestCommentTest.js +++ b/test/e2e/tests/Commenter/BestCommentTest.js @@ -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 => {