Merge branch 'e2e-browserstack' of ssh://github.com/coralproject/talk into e2e-browserstack

This commit is contained in:
Chi Vinh Le
2017-10-18 23:18:09 +07:00
2 changed files with 4 additions and 3 deletions
+1 -1
View File
@@ -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: {
+3 -2
View File
@@ -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');