mirror of
https://github.com/wassname/talk.git
synced 2026-07-01 18:40:35 +08:00
Merge branch 'e2e-browserstack' of ssh://github.com/coralproject/talk into e2e-browserstack
This commit is contained in:
@@ -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: {
|
||||
|
||||
@@ -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');
|
||||
|
||||
Reference in New Issue
Block a user