mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-18 11:17:19 +08:00
test(): remove initial waitFor (#19217)
This commit is contained in:
@ -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();
|
||||
});
|
||||
|
@ -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();
|
||||
});
|
||||
|
@ -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();
|
||||
});
|
||||
|
@ -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();
|
||||
});
|
||||
|
@ -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();
|
||||
});
|
||||
|
Reference in New Issue
Block a user