Skip to content

Commit

Permalink
fix(tests): bring back test of share mode going to full remote
Browse files Browse the repository at this point in the history
  • Loading branch information
Leonard Kim authored and virtuacoplenny committed Sep 16, 2019
1 parent 03eabbf commit b3338c0
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions spot-webdriver/specs/share-mode.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,24 @@ describe('In share mode', () => {
stopSharePage.stopScreensharing();
});

it('Spot-Remote can enter full remote control mode', () => {
const stopSharePage = spotRemote.getStopSharePage();

stopSharePage.stopScreensharing();

const modeSelectPage = spotRemote.getModeSelectPage();

modeSelectPage.waitForVisible();

modeSelectPage.selectFullRemoteControlMode();

const remoteControlPage = spotRemote.getRemoteControlPage();

remoteControlPage.waitForVisible();

remoteControlPage.waitWaitingForCallViewToDisplay();
});

xit('Spot-Remote is disconnected on share end', () => {
if (!session.isBackendEnabled()) {
pending();
Expand All @@ -41,5 +59,7 @@ describe('In share mode', () => {
const joinCodePage = spotRemote.getJoinCodePage();

joinCodePage.waitForVisible();

spotRemote.getRemoteControlPage().waitWaitingForCallViewToDisplay();
});
});

0 comments on commit b3338c0

Please sign in to comment.