Skip to content

Commit

Permalink
Add screenshare's unshare action test
Browse files Browse the repository at this point in the history
  • Loading branch information
pedrobmarin committed Dec 6, 2020
1 parent c2442c7 commit 4710af1
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions lib/action/screenshare.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ const { screenshare: label } = conf.label;
const action = {
get share() {
return {
description: 'screenshare start',
description: 'screenshare share',
before: audio.modal.close,
execute: async page => await util.click(page, label.share, true),
test: async page => {
Expand All @@ -21,9 +21,9 @@ const action = {
},
get unshare() {
return {
description: 'screenshare stop',
description: 'screenshare unshare',
execute: async page => await util.click(page, label.unshare, true),
test: async page => true, // TODO
test: async page => await util.visible(page, label.share),
};
},
};
Expand Down

0 comments on commit 4710af1

Please sign in to comment.