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('toggle: basic', async () => {
url: '/src/components/toggle/test/basic?ionic:_testing=true'
});
await page.waitFor(250);
const compare = await page.compareScreenshot();
expect(compare).toMatchScreenshot();
});
@ -16,8 +14,6 @@ test('toggle:rtl: basic', async () => {
url: '/src/components/toggle/test/basic?ionic:_testing=true&rtl=true'
});
await page.waitFor(250);
const compare = await page.compareScreenshot();
expect(compare).toMatchScreenshot();
});