mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2026-03-13 10:22:08 +08:00
test(input): fix input e2e (#16180)
This commit is contained in:
@@ -26,16 +26,22 @@ test('item: inputs', async () => {
|
||||
|
||||
// Set "null"
|
||||
await page.click('#btnNullValue');
|
||||
await page.waitFor(250);
|
||||
|
||||
compare = await page.compareScreenshot('should set null');
|
||||
expect(compare).toMatchScreenshot();
|
||||
|
||||
// Set "empty"
|
||||
await page.click('#btnEmptyValue');
|
||||
await page.waitFor(250);
|
||||
|
||||
compare = await page.compareScreenshot('should set empty');
|
||||
expect(compare).toMatchScreenshot();
|
||||
|
||||
// Set "empty"
|
||||
await page.click('#btnEmptyValue');
|
||||
await page.waitFor(250);
|
||||
|
||||
compare = await page.compareScreenshot('should set empty');
|
||||
expect(compare).toMatchScreenshot();
|
||||
});
|
||||
|
||||
@@ -7,7 +7,8 @@ test('popover: basic', async () => {
|
||||
|
||||
await page.click('.e2eShowPopover');
|
||||
const popover = await page.find('ion-popover');
|
||||
expect(popover).not.toBeNull();
|
||||
await popover.waitForVisible();
|
||||
await page.waitFor(250);
|
||||
|
||||
const compare = await page.compareScreenshot();
|
||||
expect(compare).toMatchScreenshot();
|
||||
|
||||
Reference in New Issue
Block a user