diff --git a/lib/action/screenshare.js b/lib/action/screenshare.js index d5f1ec9..f3883f9 100644 --- a/lib/action/screenshare.js +++ b/lib/action/screenshare.js @@ -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 => { @@ -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), }; }, };