diff --git a/core/src/components/split-pane/test/basic/e2e.ts b/core/src/components/split-pane/test/basic/e2e.ts deleted file mode 100644 index 61f2e20dd5..0000000000 --- a/core/src/components/split-pane/test/basic/e2e.ts +++ /dev/null @@ -1,32 +0,0 @@ -import { newE2EPage } from '@stencil/core/testing'; - -test('split-pane: basic', async () => { - const page = await newE2EPage({ - url: '/src/components/split-pane/test/basic?ionic:_testing=true', - }); - - const screenshotCompares = []; - const MIN_WIDTH = '#side-min-width'; - const MAX_WIDTH = '#side-max-width'; - const WIDTH = '#side-width'; - - screenshotCompares.push(await page.compareScreenshot()); - - await page.click(MIN_WIDTH); - - screenshotCompares.push(await page.compareScreenshot()); - - await page.click(MIN_WIDTH); - await page.click(MAX_WIDTH); - - screenshotCompares.push(await page.compareScreenshot()); - - await page.click(MAX_WIDTH); - await page.click(WIDTH); - - screenshotCompares.push(await page.compareScreenshot()); - - for (const screenshotCompare of screenshotCompares) { - expect(screenshotCompare).toMatchScreenshot(); - } -}); diff --git a/core/src/components/split-pane/test/basic/index.html b/core/src/components/split-pane/test/basic/index.html index 60c571f3a3..c346b4739d 100644 --- a/core/src/components/split-pane/test/basic/index.html +++ b/core/src/components/split-pane/test/basic/index.html @@ -12,40 +12,24 @@ + -