addCommentTag mutation works

This commit is contained in:
Benjamin Goering committed 2017-02-28 19:59:32 +08:00
1 parent fc9c67b05c
commit 6e338290a1
16 files changed
+523 -379

No files matched your search

+4 -7
View File
@@ -16,6 +16,7 @@ module.exports = {
const setBestCommentButton = '@setBestButton';
const unsetBestCommentButton = '@unsetBestButton';
embedStreamPage
.postComment('Hi everyone. Isn\'t this the BEST comment!?')
.waitForElementVisible(setBestCommentButton, 2000)
@@ -25,13 +26,9 @@ module.exports = {
});
// on refresh, it should still be tagged as best :)
// client
// .refresh(() => {
// })
// .waitForElementVisible(unsetBestCommentButton, 2000)
// client.pause()
client.refresh();
client.page.embedStreamPage().ready()
.waitForElementVisible('.e2e__unset-best-comment', 2000);
},
after: client => {
client.end();