diff --git a/core/src/components/textarea/test/basic/e2e.ts b/core/src/components/textarea/test/basic/e2e.ts index e2b86aced1..736ae9ccab 100644 --- a/core/src/components/textarea/test/basic/e2e.ts +++ b/core/src/components/textarea/test/basic/e2e.ts @@ -5,6 +5,14 @@ test('textarea: basic', async () => { url: '/src/components/textarea/test/basic?ionic:_testing=true' }); - const compare = await page.compareScreenshot(); - expect(compare).toMatchScreenshot(); + const compares = []; + + compares.push(await page.compareScreenshot()); + + page.waitFor(2000); + compares.push(await page.compareScreenshot('value changed')); + + for (const compare of compares) { + expect(compare).toMatchScreenshot(); + } }); diff --git a/core/src/components/textarea/test/basic/index.html b/core/src/components/textarea/test/basic/index.html index 3ab24fd5f8..3e69d417cf 100644 --- a/core/src/components/textarea/test/basic/index.html +++ b/core/src/components/textarea/test/basic/index.html @@ -29,7 +29,7 @@ - Fixed Label + Fixed Label @@ -38,13 +38,13 @@ - Stacked Label + Stacked Label - Floating Label - + Floating Label + @@ -58,24 +58,14 @@ - Dynamic Value - - - - - Dynamic Value - + Dynamic Value + Clear on Edit - - - Clear on Edit - -
@@ -87,17 +77,22 @@ Toggle Readonly - + Toggle Value - + Clear Value