diff --git a/test/e2e/page_objects/embedStream.js b/test/e2e/page_objects/embedStream.js index 8573235d4..76065ba5e 100644 --- a/test/e2e/page_objects/embedStream.js +++ b/test/e2e/page_objects/embedStream.js @@ -42,7 +42,7 @@ module.exports = { commentBoxTextarea: '#commentText', commentBoxPostButton: '.talk-plugin-commentbox-button', firstCommentContent: '.talk-stream-comment.talk-stream-comment-level-0 .talk-stream-comment-content', - likeButton: '.talk-stream-comment.talk-stream-comment-level-0 .talk-stream-comment-footer .talk-plugin-like-button' + respectButton: '.talk-stream-comment.talk-stream-comment-level-0 .talk-stream-comment-footer .talk-plugin-respect-button' }, sections: { profile: { diff --git a/test/e2e/specs/03_embedStream.js b/test/e2e/specs/03_embedStream.js index d178493ea..57f9a8fd2 100644 --- a/test/e2e/specs/03_embedStream.js +++ b/test/e2e/specs/03_embedStream.js @@ -114,8 +114,8 @@ module.exports = { .getEmbedSection(); embed - .waitForElementVisible('@likeButton') - .click('@likeButton'); + .waitForElementVisible('@respectButton') + .click('@respectButton'); const profile = embed .getProfileSection(); @@ -136,6 +136,7 @@ module.exports = { .getEmbedSection(); embed + .waitForElementVisible('@commentsTabButton') .click('@commentsTabButton') .waitForElementVisible('@logoutButton') .click('@logoutButton');