diff --git a/core/src/components/datetime/test/basic/e2e.ts b/core/src/components/datetime/test/basic/e2e.ts index dc85a43cfa..99279a9205 100644 --- a/core/src/components/datetime/test/basic/e2e.ts +++ b/core/src/components/datetime/test/basic/e2e.ts @@ -9,6 +9,7 @@ test('datetime: basic', async () => { expect(compare).toMatchScreenshot(); const datetime = await page.find('#customPickerOptions'); + await datetime.waitForVisible(); await datetime.click(); const picker = await page.find('ion-picker'); diff --git a/core/src/components/item/test/inputs/e2e.ts b/core/src/components/item/test/inputs/e2e.ts index 971e1dc41d..e05f5f8121 100644 --- a/core/src/components/item/test/inputs/e2e.ts +++ b/core/src/components/item/test/inputs/e2e.ts @@ -18,7 +18,7 @@ test('item: inputs', async () => { const disableToggle = await page.find('#btnDisabled'); await disableToggle.waitForVisible(); await disableToggle.click(); - await page.waitFor(100); + await page.waitFor(300); // check form await page.click('#submit'); diff --git a/core/src/components/toast/test/test.utils.ts b/core/src/components/toast/test/test.utils.ts index 918a2d71b0..9319374500 100644 --- a/core/src/components/toast/test/test.utils.ts +++ b/core/src/components/toast/test/test.utils.ts @@ -19,7 +19,9 @@ export async function testToast( const button = await page.find(selector); await button.waitForVisible(); await button.click(); - + + await page.waitFor(250); + let toast = await page.find('ion-toast'); await toast.waitForVisible();