test(): remove initial waitFor (#19217)

This commit is contained in:
Manu MA
2019-08-30 16:45:13 +02:00
committed by GitHub
parent 4c30878fc7
commit 3d935978b3
20 changed files with 22 additions and 64 deletions

View File

@ -5,8 +5,6 @@ test('slides: basic', async () => {
url: '/src/components/slides/test/basic?ionic:_testing=true'
});
await page.waitFor(500);
const compare = await page.compareScreenshot();
expect(compare).toMatchScreenshot();
});

View File

@ -5,8 +5,6 @@ test('slides: image', async () => {
url: '/src/components/slides/test/image?ionic:_testing=true'
});
await page.waitFor(500);
const compare = await page.compareScreenshot();
expect(compare).toMatchScreenshot();
});

View File

@ -5,8 +5,6 @@ test('slides: standalone', async () => {
url: '/src/components/slides/test/standalone?ionic:_testing=true'
});
await page.waitFor(500);
const compare = await page.compareScreenshot();
expect(compare).toMatchScreenshot();
});