Skip to content

Commit

Permalink
calling exitFullScreenMode in test (#59238) (#59317)
Browse files Browse the repository at this point in the history
exitFullScreenMode in fullscreen dashboard test
  • Loading branch information
bhavyarm authored Mar 4, 2020
1 parent 77f023f commit ae3d134
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 ae3d134

Please sign in to comment.