Skip to content

Commit

Permalink
calling exitFullScreenMode in test (#59238)
Browse files Browse the repository at this point in the history
exitFullScreenMode in fullscreen dashboard test
  • Loading branch information
bhavyarm committed Mar 4, 2020
1 parent b658f14 commit ca78645
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions test/functional/apps/dashboard/full_screen_mode.js
Original file line number Diff line number Diff line change
Expand Up @@ -75,9 +75,7 @@ export default function({ getService, getPageObjects }) {
});

it('exits when the text button is clicked on', async () => {
const logoButton = await PageObjects.dashboard.getExitFullScreenLogoButton();
await logoButton.moveMouseTo();
await PageObjects.dashboard.clickExitFullScreenTextButton();
await PageObjects.dashboard.exitFullScreenMode();
await retry.try(async () => {
const isChromeVisible = await PageObjects.common.isChromeVisible();
expect(isChromeVisible).to.be(true);
Expand Down

0 comments on commit ca78645

Please sign in to comment.