Skip to content

Commit

Permalink
test(action-sheet): remove first screenshot
Browse files Browse the repository at this point in the history
  • Loading branch information
adamdbradley committed Sep 20, 2018
1 parent e9800fc commit 54284e1
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions core/src/components/action-sheet/test/basic/e2e.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,16 +5,13 @@ it('action-sheet: basic', async () => {
url: `/src/components/action-sheet/test/basic?ionic:animate=false`
});

let compare = await page.compareScreenshot();
expect(compare).toMatchScreenshot();

const presentBtn = await page.find('#basic');
await presentBtn.click();

let actionSheet = await page.find('ion-action-sheet');
await actionSheet.waitForVisible();

compare = await page.compareScreenshot(`presented`);
let compare = await page.compareScreenshot();
expect(compare).toMatchScreenshot();

const backdrop = await page.find('ion-backdrop');
Expand Down

0 comments on commit 54284e1

Please sign in to comment.