mirror of
https://github.com/wassname/talk.git
synced 2026-07-05 14:45:40 +08:00
Using respect instead of like reaction
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: {
|
||||
|
||||
@@ -112,8 +112,8 @@ module.exports = {
|
||||
.getEmbedSection();
|
||||
|
||||
embed
|
||||
.waitForElementVisible('@likeButton')
|
||||
.click('@likeButton');
|
||||
.waitForElementVisible('@respectButton')
|
||||
.click('@respectButton');
|
||||
|
||||
const profile = embed
|
||||
.getProfileSection();
|
||||
|
||||
Reference in New Issue
Block a user