File tree Expand file tree Collapse file tree 2 files changed +8
-1
lines changed Expand file tree Collapse file tree 2 files changed +8
-1
lines changed Original file line number Diff line number Diff line change @@ -26,16 +26,22 @@ test('item: inputs', async () => {
26
26
27
27
// Set "null"
28
28
await page . click ( '#btnNullValue' ) ;
29
+ await page . waitFor ( 250 ) ;
30
+
29
31
compare = await page . compareScreenshot ( 'should set null' ) ;
30
32
expect ( compare ) . toMatchScreenshot ( ) ;
31
33
32
34
// Set "empty"
33
35
await page . click ( '#btnEmptyValue' ) ;
36
+ await page . waitFor ( 250 ) ;
37
+
34
38
compare = await page . compareScreenshot ( 'should set empty' ) ;
35
39
expect ( compare ) . toMatchScreenshot ( ) ;
36
40
37
41
// Set "empty"
38
42
await page . click ( '#btnEmptyValue' ) ;
43
+ await page . waitFor ( 250 ) ;
44
+
39
45
compare = await page . compareScreenshot ( 'should set empty' ) ;
40
46
expect ( compare ) . toMatchScreenshot ( ) ;
41
47
} ) ;
Original file line number Diff line number Diff line change @@ -7,7 +7,8 @@ test('popover: basic', async () => {
7
7
8
8
await page . click ( '.e2eShowPopover' ) ;
9
9
const popover = await page . find ( 'ion-popover' ) ;
10
- expect ( popover ) . not . toBeNull ( ) ;
10
+ await popover . waitForVisible ( ) ;
11
+ await page . waitFor ( 250 ) ;
11
12
12
13
const compare = await page . compareScreenshot ( ) ;
13
14
expect ( compare ) . toMatchScreenshot ( ) ;
You can’t perform that action at this time.
0 commit comments