Skip to content

Commit 1935deb

Browse files
authored
test(input): fix input e2e (ionic-team#16180)
1 parent 2832237 commit 1935deb

File tree

2 files changed

+8
-1
lines changed
  • core/src/components

2 files changed

+8
-1
lines changed

core/src/components/item/test/inputs/e2e.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,16 +26,22 @@ test('item: inputs', async () => {
2626

2727
// Set "null"
2828
await page.click('#btnNullValue');
29+
await page.waitFor(250);
30+
2931
compare = await page.compareScreenshot('should set null');
3032
expect(compare).toMatchScreenshot();
3133

3234
// Set "empty"
3335
await page.click('#btnEmptyValue');
36+
await page.waitFor(250);
37+
3438
compare = await page.compareScreenshot('should set empty');
3539
expect(compare).toMatchScreenshot();
3640

3741
// Set "empty"
3842
await page.click('#btnEmptyValue');
43+
await page.waitFor(250);
44+
3945
compare = await page.compareScreenshot('should set empty');
4046
expect(compare).toMatchScreenshot();
4147
});

core/src/components/popover/test/basic/e2e.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,8 @@ test('popover: basic', async () => {
77

88
await page.click('.e2eShowPopover');
99
const popover = await page.find('ion-popover');
10-
expect(popover).not.toBeNull();
10+
await popover.waitForVisible();
11+
await page.waitFor(250);
1112

1213
const compare = await page.compareScreenshot();
1314
expect(compare).toMatchScreenshot();

0 commit comments

Comments
 (0)