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

View File

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

View File

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

View File

@ -5,8 +5,6 @@ test('segment: spec', async () => {
url: '/src/components/segment/test/spec?ionic:_testing=true'
});
await page.waitFor(250);
const compare = await page.compareScreenshot();
expect(compare).toMatchScreenshot();
});
@ -16,8 +14,6 @@ test('segment:rtl: spec', async () => {
url: '/src/components/segment/test/spec?ionic:_testing=true&rtl=true'
});
await page.waitFor(250);
const compare = await page.compareScreenshot();
expect(compare).toMatchScreenshot();
});

View File

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