diff --git a/core/src/components/button/test/anchor/e2e.ts b/core/src/components/button/test/anchor/e2e.ts deleted file mode 100644 index dc28bc57bc..0000000000 --- a/core/src/components/button/test/anchor/e2e.ts +++ /dev/null @@ -1,10 +0,0 @@ -import { newE2EPage } from '@stencil/core/testing'; - -test('button: anchor', async () => { - const page = await newE2EPage({ - url: '/src/components/button/test/anchor?ionic:_testing=true', - }); - - const compare = await page.compareScreenshot(); - expect(compare).toMatchScreenshot(); -}); diff --git a/core/src/components/button/test/basic/button.e2e.ts b/core/src/components/button/test/basic/button.e2e.ts index 6e54bc8ad0..50a7270497 100644 --- a/core/src/components/button/test/basic/button.e2e.ts +++ b/core/src/components/button/test/basic/button.e2e.ts @@ -7,7 +7,7 @@ test.describe('button: basic', () => { await page.setIonViewport(); - expect(await page.screenshot({ fullPage: true })).toMatchSnapshot(`button-diff-${page.getSnapshotSettings()}.png`); + expect(await page.screenshot()).toMatchSnapshot(`button-diff-${page.getSnapshotSettings()}.png`); }); }); diff --git a/core/src/components/button/test/basic/e2e.ts b/core/src/components/button/test/basic/e2e.ts deleted file mode 100644 index a2f6441a74..0000000000 --- a/core/src/components/button/test/basic/e2e.ts +++ /dev/null @@ -1,10 +0,0 @@ -import { newE2EPage } from '@stencil/core/testing'; - -test('button: basic', async () => { - const page = await newE2EPage({ - url: '/src/components/button/test/basic?ionic:_testing=true', - }); - - const compare = await page.compareScreenshot(); - expect(compare).toMatchScreenshot(); -}); diff --git a/core/src/components/button/test/basic/index.html b/core/src/components/button/test/basic/index.html index c8b44f5b63..19efe474ce 100644 --- a/core/src/components/button/test/basic/index.html +++ b/core/src/components/button/test/basic/index.html @@ -88,9 +88,7 @@

- Button Disabled + Button Disabled Secondary Disabled Disabled opacity: 1

@@ -125,13 +123,8 @@ function toggleDisabled() { var buttonEl = document.getElementById('disabledButton'); - console.log(buttonEl); buttonEl.disabled = !buttonEl.disabled; } - - function clickedButton(ev) { - console.log('Clicked button', ev); - } diff --git a/core/src/components/button/test/clear/button.e2e.ts b/core/src/components/button/test/clear/button.e2e.ts new file mode 100644 index 0000000000..1291638011 --- /dev/null +++ b/core/src/components/button/test/clear/button.e2e.ts @@ -0,0 +1,12 @@ +import { expect } from '@playwright/test'; +import { test } from '@utils/test/playwright'; + +test.describe('button: clear', () => { + test('should not have visual regressions', async ({ page }) => { + await page.goto(`/src/components/button/test/clear`); + + await page.setIonViewport(); + + expect(await page.screenshot()).toMatchSnapshot(`button-clear-${page.getSnapshotSettings()}.png`); + }); +}); diff --git a/core/src/components/button/test/clear/button.e2e.ts-snapshots/button-clear-ios-ltr-Mobile-Chrome-linux.png b/core/src/components/button/test/clear/button.e2e.ts-snapshots/button-clear-ios-ltr-Mobile-Chrome-linux.png new file mode 100644 index 0000000000..6a507b2309 Binary files /dev/null and b/core/src/components/button/test/clear/button.e2e.ts-snapshots/button-clear-ios-ltr-Mobile-Chrome-linux.png differ diff --git a/core/src/components/button/test/clear/button.e2e.ts-snapshots/button-clear-ios-ltr-Mobile-Firefox-linux.png b/core/src/components/button/test/clear/button.e2e.ts-snapshots/button-clear-ios-ltr-Mobile-Firefox-linux.png new file mode 100644 index 0000000000..3fd48cb04b Binary files /dev/null and b/core/src/components/button/test/clear/button.e2e.ts-snapshots/button-clear-ios-ltr-Mobile-Firefox-linux.png differ diff --git a/core/src/components/button/test/clear/button.e2e.ts-snapshots/button-clear-ios-ltr-Mobile-Safari-linux.png b/core/src/components/button/test/clear/button.e2e.ts-snapshots/button-clear-ios-ltr-Mobile-Safari-linux.png new file mode 100644 index 0000000000..ebc59a3d05 Binary files /dev/null and b/core/src/components/button/test/clear/button.e2e.ts-snapshots/button-clear-ios-ltr-Mobile-Safari-linux.png differ diff --git a/core/src/components/button/test/clear/button.e2e.ts-snapshots/button-clear-ios-rtl-Mobile-Chrome-linux.png b/core/src/components/button/test/clear/button.e2e.ts-snapshots/button-clear-ios-rtl-Mobile-Chrome-linux.png new file mode 100644 index 0000000000..fbd136ea86 Binary files /dev/null and b/core/src/components/button/test/clear/button.e2e.ts-snapshots/button-clear-ios-rtl-Mobile-Chrome-linux.png differ diff --git a/core/src/components/button/test/clear/button.e2e.ts-snapshots/button-clear-ios-rtl-Mobile-Firefox-linux.png b/core/src/components/button/test/clear/button.e2e.ts-snapshots/button-clear-ios-rtl-Mobile-Firefox-linux.png new file mode 100644 index 0000000000..327deea993 Binary files /dev/null and b/core/src/components/button/test/clear/button.e2e.ts-snapshots/button-clear-ios-rtl-Mobile-Firefox-linux.png differ diff --git a/core/src/components/button/test/clear/button.e2e.ts-snapshots/button-clear-ios-rtl-Mobile-Safari-linux.png b/core/src/components/button/test/clear/button.e2e.ts-snapshots/button-clear-ios-rtl-Mobile-Safari-linux.png new file mode 100644 index 0000000000..2eaaf7343e Binary files /dev/null and b/core/src/components/button/test/clear/button.e2e.ts-snapshots/button-clear-ios-rtl-Mobile-Safari-linux.png differ diff --git a/core/src/components/button/test/clear/button.e2e.ts-snapshots/button-clear-md-ltr-Mobile-Chrome-linux.png b/core/src/components/button/test/clear/button.e2e.ts-snapshots/button-clear-md-ltr-Mobile-Chrome-linux.png new file mode 100644 index 0000000000..5422eb4987 Binary files /dev/null and b/core/src/components/button/test/clear/button.e2e.ts-snapshots/button-clear-md-ltr-Mobile-Chrome-linux.png differ diff --git a/core/src/components/button/test/clear/button.e2e.ts-snapshots/button-clear-md-ltr-Mobile-Firefox-linux.png b/core/src/components/button/test/clear/button.e2e.ts-snapshots/button-clear-md-ltr-Mobile-Firefox-linux.png new file mode 100644 index 0000000000..3c57c597b2 Binary files /dev/null and b/core/src/components/button/test/clear/button.e2e.ts-snapshots/button-clear-md-ltr-Mobile-Firefox-linux.png differ diff --git a/core/src/components/button/test/clear/button.e2e.ts-snapshots/button-clear-md-ltr-Mobile-Safari-linux.png b/core/src/components/button/test/clear/button.e2e.ts-snapshots/button-clear-md-ltr-Mobile-Safari-linux.png new file mode 100644 index 0000000000..1d0afbdf79 Binary files /dev/null and b/core/src/components/button/test/clear/button.e2e.ts-snapshots/button-clear-md-ltr-Mobile-Safari-linux.png differ diff --git a/core/src/components/button/test/clear/button.e2e.ts-snapshots/button-clear-md-rtl-Mobile-Chrome-linux.png b/core/src/components/button/test/clear/button.e2e.ts-snapshots/button-clear-md-rtl-Mobile-Chrome-linux.png new file mode 100644 index 0000000000..3df5daabfe Binary files /dev/null and b/core/src/components/button/test/clear/button.e2e.ts-snapshots/button-clear-md-rtl-Mobile-Chrome-linux.png differ diff --git a/core/src/components/button/test/clear/button.e2e.ts-snapshots/button-clear-md-rtl-Mobile-Firefox-linux.png b/core/src/components/button/test/clear/button.e2e.ts-snapshots/button-clear-md-rtl-Mobile-Firefox-linux.png new file mode 100644 index 0000000000..c8dbde64af Binary files /dev/null and b/core/src/components/button/test/clear/button.e2e.ts-snapshots/button-clear-md-rtl-Mobile-Firefox-linux.png differ diff --git a/core/src/components/button/test/clear/button.e2e.ts-snapshots/button-clear-md-rtl-Mobile-Safari-linux.png b/core/src/components/button/test/clear/button.e2e.ts-snapshots/button-clear-md-rtl-Mobile-Safari-linux.png new file mode 100644 index 0000000000..43455abe19 Binary files /dev/null and b/core/src/components/button/test/clear/button.e2e.ts-snapshots/button-clear-md-rtl-Mobile-Safari-linux.png differ diff --git a/core/src/components/button/test/clear/e2e.ts b/core/src/components/button/test/clear/e2e.ts deleted file mode 100644 index 7c62afab62..0000000000 --- a/core/src/components/button/test/clear/e2e.ts +++ /dev/null @@ -1,10 +0,0 @@ -import { newE2EPage } from '@stencil/core/testing'; - -test('button: clear', async () => { - const page = await newE2EPage({ - url: '/src/components/button/test/clear?ionic:_testing=true', - }); - - const compare = await page.compareScreenshot(); - expect(compare).toMatchScreenshot(); -}); diff --git a/core/src/components/button/test/dynamic/e2e.ts b/core/src/components/button/test/dynamic/e2e.ts deleted file mode 100644 index d1ef5466f3..0000000000 --- a/core/src/components/button/test/dynamic/e2e.ts +++ /dev/null @@ -1,31 +0,0 @@ -import { newE2EPage } from '@stencil/core/testing'; - -test('button: dynamic', async () => { - const page = await newE2EPage({ - url: '/src/components/button/test/dynamic?ionic:_testing=true', - }); - - const compares = []; - - compares.push(await page.compareScreenshot()); - - await page.click('#add-item-button'); - - compares.push(await page.compareScreenshot('add item button')); - - await page.click('#add-item-divider-button'); - - compares.push(await page.compareScreenshot('add item divider button')); - - await page.click('#change-item-button'); - - compares.push(await page.compareScreenshot('change item button size')); - - await page.click('#change-item-divider-button'); - - compares.push(await page.compareScreenshot('change item divider button size')); - - for (const compare of compares) { - expect(compare).toMatchScreenshot(); - } -}); diff --git a/core/src/components/button/test/dynamic/index.html b/core/src/components/button/test/dynamic/index.html deleted file mode 100644 index 5ffba1f7be..0000000000 --- a/core/src/components/button/test/dynamic/index.html +++ /dev/null @@ -1,70 +0,0 @@ - - - - - Button - Dynamic - - - - - - - - - - - - - Button - Dynamic - - - - - - Default - Dynamic Button - Large - - Add a Button - - Change Button Size - - - - Default - Dynamic Button - Large - - - Add a Button - - - Change Button Size - - - - - - - diff --git a/core/src/components/button/test/expand/button.e2e.ts b/core/src/components/button/test/expand/button.e2e.ts new file mode 100644 index 0000000000..200d54b476 --- /dev/null +++ b/core/src/components/button/test/expand/button.e2e.ts @@ -0,0 +1,13 @@ +import { expect } from '@playwright/test'; +import { test } from '@utils/test/playwright'; + +test.describe('button: expand', () => { + test('should not have visual regressions', async ({ page, skip }) => { + skip.rtl('All content takes up the full width, so RTL has no effect.'); + await page.goto(`/src/components/button/test/expand`); + + await page.setIonViewport(); + + expect(await page.screenshot()).toMatchSnapshot(`button-expand-${page.getSnapshotSettings()}.png`); + }); +}); diff --git a/core/src/components/button/test/expand/button.e2e.ts-snapshots/button-expand-ios-ltr-Mobile-Chrome-linux.png b/core/src/components/button/test/expand/button.e2e.ts-snapshots/button-expand-ios-ltr-Mobile-Chrome-linux.png new file mode 100644 index 0000000000..a2c270b6ae Binary files /dev/null and b/core/src/components/button/test/expand/button.e2e.ts-snapshots/button-expand-ios-ltr-Mobile-Chrome-linux.png differ diff --git a/core/src/components/button/test/expand/button.e2e.ts-snapshots/button-expand-ios-ltr-Mobile-Firefox-linux.png b/core/src/components/button/test/expand/button.e2e.ts-snapshots/button-expand-ios-ltr-Mobile-Firefox-linux.png new file mode 100644 index 0000000000..db70580ae7 Binary files /dev/null and b/core/src/components/button/test/expand/button.e2e.ts-snapshots/button-expand-ios-ltr-Mobile-Firefox-linux.png differ diff --git a/core/src/components/button/test/expand/button.e2e.ts-snapshots/button-expand-ios-ltr-Mobile-Safari-linux.png b/core/src/components/button/test/expand/button.e2e.ts-snapshots/button-expand-ios-ltr-Mobile-Safari-linux.png new file mode 100644 index 0000000000..59d0ed6d62 Binary files /dev/null and b/core/src/components/button/test/expand/button.e2e.ts-snapshots/button-expand-ios-ltr-Mobile-Safari-linux.png differ diff --git a/core/src/components/button/test/expand/button.e2e.ts-snapshots/button-expand-md-ltr-Mobile-Chrome-linux.png b/core/src/components/button/test/expand/button.e2e.ts-snapshots/button-expand-md-ltr-Mobile-Chrome-linux.png new file mode 100644 index 0000000000..d6f5058859 Binary files /dev/null and b/core/src/components/button/test/expand/button.e2e.ts-snapshots/button-expand-md-ltr-Mobile-Chrome-linux.png differ diff --git a/core/src/components/button/test/expand/button.e2e.ts-snapshots/button-expand-md-ltr-Mobile-Firefox-linux.png b/core/src/components/button/test/expand/button.e2e.ts-snapshots/button-expand-md-ltr-Mobile-Firefox-linux.png new file mode 100644 index 0000000000..e9de6fe28f Binary files /dev/null and b/core/src/components/button/test/expand/button.e2e.ts-snapshots/button-expand-md-ltr-Mobile-Firefox-linux.png differ diff --git a/core/src/components/button/test/expand/button.e2e.ts-snapshots/button-expand-md-ltr-Mobile-Safari-linux.png b/core/src/components/button/test/expand/button.e2e.ts-snapshots/button-expand-md-ltr-Mobile-Safari-linux.png new file mode 100644 index 0000000000..0c7827081f Binary files /dev/null and b/core/src/components/button/test/expand/button.e2e.ts-snapshots/button-expand-md-ltr-Mobile-Safari-linux.png differ diff --git a/core/src/components/button/test/expand/e2e.ts b/core/src/components/button/test/expand/e2e.ts deleted file mode 100644 index 83ce79d2c9..0000000000 --- a/core/src/components/button/test/expand/e2e.ts +++ /dev/null @@ -1,10 +0,0 @@ -import { newE2EPage } from '@stencil/core/testing'; - -test('button: expand', async () => { - const page = await newE2EPage({ - url: '/src/components/button/test/expand?ionic:_testing=true', - }); - - const compare = await page.compareScreenshot(); - expect(compare).toMatchScreenshot(); -}); diff --git a/core/src/components/button/test/icon/button.e2e.ts b/core/src/components/button/test/icon/button.e2e.ts new file mode 100644 index 0000000000..7b96ea5a1f --- /dev/null +++ b/core/src/components/button/test/icon/button.e2e.ts @@ -0,0 +1,12 @@ +import { expect } from '@playwright/test'; +import { test } from '@utils/test/playwright'; + +test.describe('button: icon', () => { + test('should not have visual regressions', async ({ page }) => { + await page.goto(`/src/components/button/test/icon`); + + await page.setIonViewport(); + + expect(await page.screenshot()).toMatchSnapshot(`button-icon-${page.getSnapshotSettings()}.png`); + }); +}); diff --git a/core/src/components/button/test/icon/button.e2e.ts-snapshots/button-icon-ios-ltr-Mobile-Chrome-linux.png b/core/src/components/button/test/icon/button.e2e.ts-snapshots/button-icon-ios-ltr-Mobile-Chrome-linux.png new file mode 100644 index 0000000000..baa96bdd7b Binary files /dev/null and b/core/src/components/button/test/icon/button.e2e.ts-snapshots/button-icon-ios-ltr-Mobile-Chrome-linux.png differ diff --git a/core/src/components/button/test/icon/button.e2e.ts-snapshots/button-icon-ios-ltr-Mobile-Firefox-linux.png b/core/src/components/button/test/icon/button.e2e.ts-snapshots/button-icon-ios-ltr-Mobile-Firefox-linux.png new file mode 100644 index 0000000000..2825f66d61 Binary files /dev/null and b/core/src/components/button/test/icon/button.e2e.ts-snapshots/button-icon-ios-ltr-Mobile-Firefox-linux.png differ diff --git a/core/src/components/button/test/icon/button.e2e.ts-snapshots/button-icon-ios-ltr-Mobile-Safari-linux.png b/core/src/components/button/test/icon/button.e2e.ts-snapshots/button-icon-ios-ltr-Mobile-Safari-linux.png new file mode 100644 index 0000000000..6bdbe866a5 Binary files /dev/null and b/core/src/components/button/test/icon/button.e2e.ts-snapshots/button-icon-ios-ltr-Mobile-Safari-linux.png differ diff --git a/core/src/components/button/test/icon/button.e2e.ts-snapshots/button-icon-ios-rtl-Mobile-Chrome-linux.png b/core/src/components/button/test/icon/button.e2e.ts-snapshots/button-icon-ios-rtl-Mobile-Chrome-linux.png new file mode 100644 index 0000000000..fe9cf9a822 Binary files /dev/null and b/core/src/components/button/test/icon/button.e2e.ts-snapshots/button-icon-ios-rtl-Mobile-Chrome-linux.png differ diff --git a/core/src/components/button/test/icon/button.e2e.ts-snapshots/button-icon-ios-rtl-Mobile-Firefox-linux.png b/core/src/components/button/test/icon/button.e2e.ts-snapshots/button-icon-ios-rtl-Mobile-Firefox-linux.png new file mode 100644 index 0000000000..2568fc2d74 Binary files /dev/null and b/core/src/components/button/test/icon/button.e2e.ts-snapshots/button-icon-ios-rtl-Mobile-Firefox-linux.png differ diff --git a/core/src/components/button/test/icon/button.e2e.ts-snapshots/button-icon-ios-rtl-Mobile-Safari-linux.png b/core/src/components/button/test/icon/button.e2e.ts-snapshots/button-icon-ios-rtl-Mobile-Safari-linux.png new file mode 100644 index 0000000000..28e8037e93 Binary files /dev/null and b/core/src/components/button/test/icon/button.e2e.ts-snapshots/button-icon-ios-rtl-Mobile-Safari-linux.png differ diff --git a/core/src/components/button/test/icon/button.e2e.ts-snapshots/button-icon-md-ltr-Mobile-Chrome-linux.png b/core/src/components/button/test/icon/button.e2e.ts-snapshots/button-icon-md-ltr-Mobile-Chrome-linux.png new file mode 100644 index 0000000000..1b0e5a63f6 Binary files /dev/null and b/core/src/components/button/test/icon/button.e2e.ts-snapshots/button-icon-md-ltr-Mobile-Chrome-linux.png differ diff --git a/core/src/components/button/test/icon/button.e2e.ts-snapshots/button-icon-md-ltr-Mobile-Firefox-linux.png b/core/src/components/button/test/icon/button.e2e.ts-snapshots/button-icon-md-ltr-Mobile-Firefox-linux.png new file mode 100644 index 0000000000..583f07d86e Binary files /dev/null and b/core/src/components/button/test/icon/button.e2e.ts-snapshots/button-icon-md-ltr-Mobile-Firefox-linux.png differ diff --git a/core/src/components/button/test/icon/button.e2e.ts-snapshots/button-icon-md-ltr-Mobile-Safari-linux.png b/core/src/components/button/test/icon/button.e2e.ts-snapshots/button-icon-md-ltr-Mobile-Safari-linux.png new file mode 100644 index 0000000000..91f24fa538 Binary files /dev/null and b/core/src/components/button/test/icon/button.e2e.ts-snapshots/button-icon-md-ltr-Mobile-Safari-linux.png differ diff --git a/core/src/components/button/test/icon/button.e2e.ts-snapshots/button-icon-md-rtl-Mobile-Chrome-linux.png b/core/src/components/button/test/icon/button.e2e.ts-snapshots/button-icon-md-rtl-Mobile-Chrome-linux.png new file mode 100644 index 0000000000..421d2a973f Binary files /dev/null and b/core/src/components/button/test/icon/button.e2e.ts-snapshots/button-icon-md-rtl-Mobile-Chrome-linux.png differ diff --git a/core/src/components/button/test/icon/button.e2e.ts-snapshots/button-icon-md-rtl-Mobile-Firefox-linux.png b/core/src/components/button/test/icon/button.e2e.ts-snapshots/button-icon-md-rtl-Mobile-Firefox-linux.png new file mode 100644 index 0000000000..050f66c7da Binary files /dev/null and b/core/src/components/button/test/icon/button.e2e.ts-snapshots/button-icon-md-rtl-Mobile-Firefox-linux.png differ diff --git a/core/src/components/button/test/icon/button.e2e.ts-snapshots/button-icon-md-rtl-Mobile-Safari-linux.png b/core/src/components/button/test/icon/button.e2e.ts-snapshots/button-icon-md-rtl-Mobile-Safari-linux.png new file mode 100644 index 0000000000..4cb4dd69f0 Binary files /dev/null and b/core/src/components/button/test/icon/button.e2e.ts-snapshots/button-icon-md-rtl-Mobile-Safari-linux.png differ diff --git a/core/src/components/button/test/icon/e2e.ts b/core/src/components/button/test/icon/e2e.ts deleted file mode 100644 index 49e278da9f..0000000000 --- a/core/src/components/button/test/icon/e2e.ts +++ /dev/null @@ -1,10 +0,0 @@ -import { newE2EPage } from '@stencil/core/testing'; - -test('button: icon', async () => { - const page = await newE2EPage({ - url: '/src/components/button/test/icon?ionic:_testing=true', - }); - - const compare = await page.compareScreenshot(); - expect(compare).toMatchScreenshot(); -}); diff --git a/core/src/components/button/test/outline/button.e2e.ts b/core/src/components/button/test/outline/button.e2e.ts new file mode 100644 index 0000000000..5cfe471d10 --- /dev/null +++ b/core/src/components/button/test/outline/button.e2e.ts @@ -0,0 +1,12 @@ +import { expect } from '@playwright/test'; +import { test } from '@utils/test/playwright'; + +test.describe('button: outline', () => { + test('should not have visual regressions', async ({ page }) => { + await page.goto(`/src/components/button/test/outline`); + + await page.setIonViewport(); + + expect(await page.screenshot()).toMatchSnapshot(`button-outline-${page.getSnapshotSettings()}.png`); + }); +}); diff --git a/core/src/components/button/test/outline/button.e2e.ts-snapshots/button-outline-ios-ltr-Mobile-Chrome-linux.png b/core/src/components/button/test/outline/button.e2e.ts-snapshots/button-outline-ios-ltr-Mobile-Chrome-linux.png new file mode 100644 index 0000000000..2a2d26142e Binary files /dev/null and b/core/src/components/button/test/outline/button.e2e.ts-snapshots/button-outline-ios-ltr-Mobile-Chrome-linux.png differ diff --git a/core/src/components/button/test/outline/button.e2e.ts-snapshots/button-outline-ios-ltr-Mobile-Firefox-linux.png b/core/src/components/button/test/outline/button.e2e.ts-snapshots/button-outline-ios-ltr-Mobile-Firefox-linux.png new file mode 100644 index 0000000000..72ef0a5cbc Binary files /dev/null and b/core/src/components/button/test/outline/button.e2e.ts-snapshots/button-outline-ios-ltr-Mobile-Firefox-linux.png differ diff --git a/core/src/components/button/test/outline/button.e2e.ts-snapshots/button-outline-ios-ltr-Mobile-Safari-linux.png b/core/src/components/button/test/outline/button.e2e.ts-snapshots/button-outline-ios-ltr-Mobile-Safari-linux.png new file mode 100644 index 0000000000..f4cfaaaf8c Binary files /dev/null and b/core/src/components/button/test/outline/button.e2e.ts-snapshots/button-outline-ios-ltr-Mobile-Safari-linux.png differ diff --git a/core/src/components/button/test/outline/button.e2e.ts-snapshots/button-outline-ios-rtl-Mobile-Chrome-linux.png b/core/src/components/button/test/outline/button.e2e.ts-snapshots/button-outline-ios-rtl-Mobile-Chrome-linux.png new file mode 100644 index 0000000000..ee55a94249 Binary files /dev/null and b/core/src/components/button/test/outline/button.e2e.ts-snapshots/button-outline-ios-rtl-Mobile-Chrome-linux.png differ diff --git a/core/src/components/button/test/outline/button.e2e.ts-snapshots/button-outline-ios-rtl-Mobile-Firefox-linux.png b/core/src/components/button/test/outline/button.e2e.ts-snapshots/button-outline-ios-rtl-Mobile-Firefox-linux.png new file mode 100644 index 0000000000..10c6db5d7c Binary files /dev/null and b/core/src/components/button/test/outline/button.e2e.ts-snapshots/button-outline-ios-rtl-Mobile-Firefox-linux.png differ diff --git a/core/src/components/button/test/outline/button.e2e.ts-snapshots/button-outline-ios-rtl-Mobile-Safari-linux.png b/core/src/components/button/test/outline/button.e2e.ts-snapshots/button-outline-ios-rtl-Mobile-Safari-linux.png new file mode 100644 index 0000000000..ff77a8d15b Binary files /dev/null and b/core/src/components/button/test/outline/button.e2e.ts-snapshots/button-outline-ios-rtl-Mobile-Safari-linux.png differ diff --git a/core/src/components/button/test/outline/button.e2e.ts-snapshots/button-outline-md-ltr-Mobile-Chrome-linux.png b/core/src/components/button/test/outline/button.e2e.ts-snapshots/button-outline-md-ltr-Mobile-Chrome-linux.png new file mode 100644 index 0000000000..2bfaa01d13 Binary files /dev/null and b/core/src/components/button/test/outline/button.e2e.ts-snapshots/button-outline-md-ltr-Mobile-Chrome-linux.png differ diff --git a/core/src/components/button/test/outline/button.e2e.ts-snapshots/button-outline-md-ltr-Mobile-Firefox-linux.png b/core/src/components/button/test/outline/button.e2e.ts-snapshots/button-outline-md-ltr-Mobile-Firefox-linux.png new file mode 100644 index 0000000000..88a236341b Binary files /dev/null and b/core/src/components/button/test/outline/button.e2e.ts-snapshots/button-outline-md-ltr-Mobile-Firefox-linux.png differ diff --git a/core/src/components/button/test/outline/button.e2e.ts-snapshots/button-outline-md-ltr-Mobile-Safari-linux.png b/core/src/components/button/test/outline/button.e2e.ts-snapshots/button-outline-md-ltr-Mobile-Safari-linux.png new file mode 100644 index 0000000000..e78d0bbc2e Binary files /dev/null and b/core/src/components/button/test/outline/button.e2e.ts-snapshots/button-outline-md-ltr-Mobile-Safari-linux.png differ diff --git a/core/src/components/button/test/outline/button.e2e.ts-snapshots/button-outline-md-rtl-Mobile-Chrome-linux.png b/core/src/components/button/test/outline/button.e2e.ts-snapshots/button-outline-md-rtl-Mobile-Chrome-linux.png new file mode 100644 index 0000000000..9677cd746b Binary files /dev/null and b/core/src/components/button/test/outline/button.e2e.ts-snapshots/button-outline-md-rtl-Mobile-Chrome-linux.png differ diff --git a/core/src/components/button/test/outline/button.e2e.ts-snapshots/button-outline-md-rtl-Mobile-Firefox-linux.png b/core/src/components/button/test/outline/button.e2e.ts-snapshots/button-outline-md-rtl-Mobile-Firefox-linux.png new file mode 100644 index 0000000000..b1fac9ee96 Binary files /dev/null and b/core/src/components/button/test/outline/button.e2e.ts-snapshots/button-outline-md-rtl-Mobile-Firefox-linux.png differ diff --git a/core/src/components/button/test/outline/button.e2e.ts-snapshots/button-outline-md-rtl-Mobile-Safari-linux.png b/core/src/components/button/test/outline/button.e2e.ts-snapshots/button-outline-md-rtl-Mobile-Safari-linux.png new file mode 100644 index 0000000000..42e2695dcd Binary files /dev/null and b/core/src/components/button/test/outline/button.e2e.ts-snapshots/button-outline-md-rtl-Mobile-Safari-linux.png differ diff --git a/core/src/components/button/test/outline/e2e.ts b/core/src/components/button/test/outline/e2e.ts deleted file mode 100644 index 985b7b7e8f..0000000000 --- a/core/src/components/button/test/outline/e2e.ts +++ /dev/null @@ -1,10 +0,0 @@ -import { newE2EPage } from '@stencil/core/testing'; - -test('button: outline', async () => { - const page = await newE2EPage({ - url: '/src/components/button/test/outline?ionic:_testing=true', - }); - - const compare = await page.compareScreenshot(); - expect(compare).toMatchScreenshot(); -}); diff --git a/core/src/components/button/test/round/button.e2e.ts b/core/src/components/button/test/round/button.e2e.ts new file mode 100644 index 0000000000..a3fb17df58 --- /dev/null +++ b/core/src/components/button/test/round/button.e2e.ts @@ -0,0 +1,13 @@ +import { expect } from '@playwright/test'; +import { test } from '@utils/test/playwright'; + +test.describe('button: round', () => { + test('should not have visual regressions', async ({ page, skip }) => { + skip.rtl('All content takes up the full width, so RTL has no effect.'); + await page.goto(`/src/components/button/test/round`); + + await page.setIonViewport(); + + expect(await page.screenshot()).toMatchSnapshot(`button-round-${page.getSnapshotSettings()}.png`); + }); +}); diff --git a/core/src/components/button/test/round/button.e2e.ts-snapshots/button-round-ios-ltr-Mobile-Chrome-linux.png b/core/src/components/button/test/round/button.e2e.ts-snapshots/button-round-ios-ltr-Mobile-Chrome-linux.png new file mode 100644 index 0000000000..11301e4b88 Binary files /dev/null and b/core/src/components/button/test/round/button.e2e.ts-snapshots/button-round-ios-ltr-Mobile-Chrome-linux.png differ diff --git a/core/src/components/button/test/round/button.e2e.ts-snapshots/button-round-ios-ltr-Mobile-Firefox-linux.png b/core/src/components/button/test/round/button.e2e.ts-snapshots/button-round-ios-ltr-Mobile-Firefox-linux.png new file mode 100644 index 0000000000..c65a2ce6a3 Binary files /dev/null and b/core/src/components/button/test/round/button.e2e.ts-snapshots/button-round-ios-ltr-Mobile-Firefox-linux.png differ diff --git a/core/src/components/button/test/round/button.e2e.ts-snapshots/button-round-ios-ltr-Mobile-Safari-linux.png b/core/src/components/button/test/round/button.e2e.ts-snapshots/button-round-ios-ltr-Mobile-Safari-linux.png new file mode 100644 index 0000000000..df09448643 Binary files /dev/null and b/core/src/components/button/test/round/button.e2e.ts-snapshots/button-round-ios-ltr-Mobile-Safari-linux.png differ diff --git a/core/src/components/button/test/round/button.e2e.ts-snapshots/button-round-md-ltr-Mobile-Chrome-linux.png b/core/src/components/button/test/round/button.e2e.ts-snapshots/button-round-md-ltr-Mobile-Chrome-linux.png new file mode 100644 index 0000000000..a3b854f6a1 Binary files /dev/null and b/core/src/components/button/test/round/button.e2e.ts-snapshots/button-round-md-ltr-Mobile-Chrome-linux.png differ diff --git a/core/src/components/button/test/round/button.e2e.ts-snapshots/button-round-md-ltr-Mobile-Firefox-linux.png b/core/src/components/button/test/round/button.e2e.ts-snapshots/button-round-md-ltr-Mobile-Firefox-linux.png new file mode 100644 index 0000000000..4a40854a39 Binary files /dev/null and b/core/src/components/button/test/round/button.e2e.ts-snapshots/button-round-md-ltr-Mobile-Firefox-linux.png differ diff --git a/core/src/components/button/test/round/button.e2e.ts-snapshots/button-round-md-ltr-Mobile-Safari-linux.png b/core/src/components/button/test/round/button.e2e.ts-snapshots/button-round-md-ltr-Mobile-Safari-linux.png new file mode 100644 index 0000000000..ffce4fc8ec Binary files /dev/null and b/core/src/components/button/test/round/button.e2e.ts-snapshots/button-round-md-ltr-Mobile-Safari-linux.png differ diff --git a/core/src/components/button/test/round/e2e.ts b/core/src/components/button/test/round/e2e.ts deleted file mode 100644 index b8d41d0c57..0000000000 --- a/core/src/components/button/test/round/e2e.ts +++ /dev/null @@ -1,10 +0,0 @@ -import { newE2EPage } from '@stencil/core/testing'; - -test('button: round', async () => { - const page = await newE2EPage({ - url: '/src/components/button/test/round?ionic:_testing=true', - }); - - const compare = await page.compareScreenshot(); - expect(compare).toMatchScreenshot(); -}); diff --git a/core/src/components/button/test/size/button.e2e.ts b/core/src/components/button/test/size/button.e2e.ts new file mode 100644 index 0000000000..8ed140a90a --- /dev/null +++ b/core/src/components/button/test/size/button.e2e.ts @@ -0,0 +1,12 @@ +import { expect } from '@playwright/test'; +import { test } from '@utils/test/playwright'; + +test.describe('button: size', () => { + test('should not have visual regressions', async ({ page }) => { + await page.goto(`/src/components/button/test/size`); + + await page.setIonViewport(); + + expect(await page.screenshot()).toMatchSnapshot(`button-size-${page.getSnapshotSettings()}.png`); + }); +}); diff --git a/core/src/components/button/test/size/button.e2e.ts-snapshots/button-size-ios-ltr-Mobile-Chrome-linux.png b/core/src/components/button/test/size/button.e2e.ts-snapshots/button-size-ios-ltr-Mobile-Chrome-linux.png new file mode 100644 index 0000000000..927052c3f9 Binary files /dev/null and b/core/src/components/button/test/size/button.e2e.ts-snapshots/button-size-ios-ltr-Mobile-Chrome-linux.png differ diff --git a/core/src/components/button/test/size/button.e2e.ts-snapshots/button-size-ios-ltr-Mobile-Firefox-linux.png b/core/src/components/button/test/size/button.e2e.ts-snapshots/button-size-ios-ltr-Mobile-Firefox-linux.png new file mode 100644 index 0000000000..f24513e195 Binary files /dev/null and b/core/src/components/button/test/size/button.e2e.ts-snapshots/button-size-ios-ltr-Mobile-Firefox-linux.png differ diff --git a/core/src/components/button/test/size/button.e2e.ts-snapshots/button-size-ios-ltr-Mobile-Safari-linux.png b/core/src/components/button/test/size/button.e2e.ts-snapshots/button-size-ios-ltr-Mobile-Safari-linux.png new file mode 100644 index 0000000000..f2acc61957 Binary files /dev/null and b/core/src/components/button/test/size/button.e2e.ts-snapshots/button-size-ios-ltr-Mobile-Safari-linux.png differ diff --git a/core/src/components/button/test/size/button.e2e.ts-snapshots/button-size-ios-rtl-Mobile-Chrome-linux.png b/core/src/components/button/test/size/button.e2e.ts-snapshots/button-size-ios-rtl-Mobile-Chrome-linux.png new file mode 100644 index 0000000000..7050895519 Binary files /dev/null and b/core/src/components/button/test/size/button.e2e.ts-snapshots/button-size-ios-rtl-Mobile-Chrome-linux.png differ diff --git a/core/src/components/button/test/size/button.e2e.ts-snapshots/button-size-ios-rtl-Mobile-Firefox-linux.png b/core/src/components/button/test/size/button.e2e.ts-snapshots/button-size-ios-rtl-Mobile-Firefox-linux.png new file mode 100644 index 0000000000..3f3d793fdc Binary files /dev/null and b/core/src/components/button/test/size/button.e2e.ts-snapshots/button-size-ios-rtl-Mobile-Firefox-linux.png differ diff --git a/core/src/components/button/test/size/button.e2e.ts-snapshots/button-size-ios-rtl-Mobile-Safari-linux.png b/core/src/components/button/test/size/button.e2e.ts-snapshots/button-size-ios-rtl-Mobile-Safari-linux.png new file mode 100644 index 0000000000..be230efc25 Binary files /dev/null and b/core/src/components/button/test/size/button.e2e.ts-snapshots/button-size-ios-rtl-Mobile-Safari-linux.png differ diff --git a/core/src/components/button/test/size/button.e2e.ts-snapshots/button-size-md-ltr-Mobile-Chrome-linux.png b/core/src/components/button/test/size/button.e2e.ts-snapshots/button-size-md-ltr-Mobile-Chrome-linux.png new file mode 100644 index 0000000000..63ce444f64 Binary files /dev/null and b/core/src/components/button/test/size/button.e2e.ts-snapshots/button-size-md-ltr-Mobile-Chrome-linux.png differ diff --git a/core/src/components/button/test/size/button.e2e.ts-snapshots/button-size-md-ltr-Mobile-Firefox-linux.png b/core/src/components/button/test/size/button.e2e.ts-snapshots/button-size-md-ltr-Mobile-Firefox-linux.png new file mode 100644 index 0000000000..84de97e109 Binary files /dev/null and b/core/src/components/button/test/size/button.e2e.ts-snapshots/button-size-md-ltr-Mobile-Firefox-linux.png differ diff --git a/core/src/components/button/test/size/button.e2e.ts-snapshots/button-size-md-ltr-Mobile-Safari-linux.png b/core/src/components/button/test/size/button.e2e.ts-snapshots/button-size-md-ltr-Mobile-Safari-linux.png new file mode 100644 index 0000000000..4f2dd864df Binary files /dev/null and b/core/src/components/button/test/size/button.e2e.ts-snapshots/button-size-md-ltr-Mobile-Safari-linux.png differ diff --git a/core/src/components/button/test/size/button.e2e.ts-snapshots/button-size-md-rtl-Mobile-Chrome-linux.png b/core/src/components/button/test/size/button.e2e.ts-snapshots/button-size-md-rtl-Mobile-Chrome-linux.png new file mode 100644 index 0000000000..e6fa5f31cd Binary files /dev/null and b/core/src/components/button/test/size/button.e2e.ts-snapshots/button-size-md-rtl-Mobile-Chrome-linux.png differ diff --git a/core/src/components/button/test/size/button.e2e.ts-snapshots/button-size-md-rtl-Mobile-Firefox-linux.png b/core/src/components/button/test/size/button.e2e.ts-snapshots/button-size-md-rtl-Mobile-Firefox-linux.png new file mode 100644 index 0000000000..3687927d71 Binary files /dev/null and b/core/src/components/button/test/size/button.e2e.ts-snapshots/button-size-md-rtl-Mobile-Firefox-linux.png differ diff --git a/core/src/components/button/test/size/button.e2e.ts-snapshots/button-size-md-rtl-Mobile-Safari-linux.png b/core/src/components/button/test/size/button.e2e.ts-snapshots/button-size-md-rtl-Mobile-Safari-linux.png new file mode 100644 index 0000000000..b249c25f06 Binary files /dev/null and b/core/src/components/button/test/size/button.e2e.ts-snapshots/button-size-md-rtl-Mobile-Safari-linux.png differ diff --git a/core/src/components/button/test/size/e2e.ts b/core/src/components/button/test/size/e2e.ts deleted file mode 100644 index c8ba343662..0000000000 --- a/core/src/components/button/test/size/e2e.ts +++ /dev/null @@ -1,10 +0,0 @@ -import { newE2EPage } from '@stencil/core/testing'; - -test('button: size', async () => { - const page = await newE2EPage({ - url: '/src/components/button/test/size?ionic:_testing=true', - }); - - const compare = await page.compareScreenshot(); - expect(compare).toMatchScreenshot(); -}); diff --git a/core/src/components/button/test/standalone/e2e.ts b/core/src/components/button/test/standalone/e2e.ts deleted file mode 100644 index 1210a24996..0000000000 --- a/core/src/components/button/test/standalone/e2e.ts +++ /dev/null @@ -1,10 +0,0 @@ -import { newE2EPage } from '@stencil/core/testing'; - -test('button: standalone', async () => { - const page = await newE2EPage({ - url: '/src/components/button/test/standalone?ionic:_testing=true', - }); - - const compare = await page.compareScreenshot(); - expect(compare).toMatchScreenshot(); -}); diff --git a/core/src/components/button/test/standalone/index.html b/core/src/components/button/test/standalone/index.html deleted file mode 100644 index e9ce449807..0000000000 --- a/core/src/components/button/test/standalone/index.html +++ /dev/null @@ -1,123 +0,0 @@ - - - - - Button - Standalone - - - - - - - - - -

Default

-

- Default - - Map - Round - Outline - Clear - Full Outline Full Outline Full Outline Full Outline Full Outline Full Outline Full Outline - Block Clear -

- -

Round button combinations

-

- Round & Small - Round & Large - Round & Outline -

- -

Colors

-

- Primary - Secondary - Tertiary - Success Outline - Warning Clear - Danger - Light - Medium Outline - Dark Clear -

- -

Custom

- - - wide - large - rounded - custom aria-label - - - custom - custom.focused - custom.activated - custom w/ secondary - custom medium - - - - Default - - Bar - - Secondary - - - - - - Custom - Custom.a - - Bar - - Custom Secondary - - - - - - diff --git a/core/src/components/button/test/states/e2e.ts b/core/src/components/button/test/states/e2e.ts deleted file mode 100644 index 361a3b2ef5..0000000000 --- a/core/src/components/button/test/states/e2e.ts +++ /dev/null @@ -1,10 +0,0 @@ -import { newE2EPage } from '@stencil/core/testing'; - -test('button: states', async () => { - const page = await newE2EPage({ - url: '/src/components/button/test/states?ionic:_testing=true', - }); - - const compare = await page.compareScreenshot(); - expect(compare).toMatchScreenshot(); -}); diff --git a/core/src/components/button/test/states/index.html b/core/src/components/button/test/states/index.html deleted file mode 100644 index 6124cdc1eb..0000000000 --- a/core/src/components/button/test/states/index.html +++ /dev/null @@ -1,160 +0,0 @@ - - - - - Button - States - - - - - - - - - - - -

Default

-

- Default - - Round - Outline - Clear - Default - - Round - Outline - Clear -

- -

Focused

-

- Default - - Round - Outline - Clear - Default - - Round - Outline - Clear -

- -

Activated

-

- Default - - Round - Outline - Clear - Default - - Round - Outline - Clear -

- -

Custom

-

- Default - - Round - Outline - Clear - Default - - Round - Outline - Clear - Default - - Round - Outline - Clear - Default - - Round - Outline - Clear - Default - - Round - Outline - Clear - Default - - Round - Outline - Clear -

- -
- Button - Button - Button - -
- - Button - Button - Button - -
- - Button - Button - Button - -
- - Button - Button - Button -
-
-
- - - - diff --git a/core/src/components/button/test/strong/button.e2e.ts b/core/src/components/button/test/strong/button.e2e.ts new file mode 100644 index 0000000000..87edc67bea --- /dev/null +++ b/core/src/components/button/test/strong/button.e2e.ts @@ -0,0 +1,12 @@ +import { expect } from '@playwright/test'; +import { test } from '@utils/test/playwright'; + +test.describe('button: strong', () => { + test('should not have visual regressions', async ({ page }) => { + await page.goto(`/src/components/button/test/strong`); + + await page.setIonViewport(); + + expect(await page.screenshot()).toMatchSnapshot(`button-strong-${page.getSnapshotSettings()}.png`); + }); +}); diff --git a/core/src/components/button/test/strong/button.e2e.ts-snapshots/button-strong-ios-ltr-Mobile-Chrome-linux.png b/core/src/components/button/test/strong/button.e2e.ts-snapshots/button-strong-ios-ltr-Mobile-Chrome-linux.png new file mode 100644 index 0000000000..faaafa6496 Binary files /dev/null and b/core/src/components/button/test/strong/button.e2e.ts-snapshots/button-strong-ios-ltr-Mobile-Chrome-linux.png differ diff --git a/core/src/components/button/test/strong/button.e2e.ts-snapshots/button-strong-ios-ltr-Mobile-Firefox-linux.png b/core/src/components/button/test/strong/button.e2e.ts-snapshots/button-strong-ios-ltr-Mobile-Firefox-linux.png new file mode 100644 index 0000000000..21886c1265 Binary files /dev/null and b/core/src/components/button/test/strong/button.e2e.ts-snapshots/button-strong-ios-ltr-Mobile-Firefox-linux.png differ diff --git a/core/src/components/button/test/strong/button.e2e.ts-snapshots/button-strong-ios-ltr-Mobile-Safari-linux.png b/core/src/components/button/test/strong/button.e2e.ts-snapshots/button-strong-ios-ltr-Mobile-Safari-linux.png new file mode 100644 index 0000000000..c754490bf0 Binary files /dev/null and b/core/src/components/button/test/strong/button.e2e.ts-snapshots/button-strong-ios-ltr-Mobile-Safari-linux.png differ diff --git a/core/src/components/button/test/strong/button.e2e.ts-snapshots/button-strong-ios-rtl-Mobile-Chrome-linux.png b/core/src/components/button/test/strong/button.e2e.ts-snapshots/button-strong-ios-rtl-Mobile-Chrome-linux.png new file mode 100644 index 0000000000..59dc21fe50 Binary files /dev/null and b/core/src/components/button/test/strong/button.e2e.ts-snapshots/button-strong-ios-rtl-Mobile-Chrome-linux.png differ diff --git a/core/src/components/button/test/strong/button.e2e.ts-snapshots/button-strong-ios-rtl-Mobile-Firefox-linux.png b/core/src/components/button/test/strong/button.e2e.ts-snapshots/button-strong-ios-rtl-Mobile-Firefox-linux.png new file mode 100644 index 0000000000..ef2c7f1deb Binary files /dev/null and b/core/src/components/button/test/strong/button.e2e.ts-snapshots/button-strong-ios-rtl-Mobile-Firefox-linux.png differ diff --git a/core/src/components/button/test/strong/button.e2e.ts-snapshots/button-strong-ios-rtl-Mobile-Safari-linux.png b/core/src/components/button/test/strong/button.e2e.ts-snapshots/button-strong-ios-rtl-Mobile-Safari-linux.png new file mode 100644 index 0000000000..f8dd8b4212 Binary files /dev/null and b/core/src/components/button/test/strong/button.e2e.ts-snapshots/button-strong-ios-rtl-Mobile-Safari-linux.png differ diff --git a/core/src/components/button/test/strong/button.e2e.ts-snapshots/button-strong-md-ltr-Mobile-Chrome-linux.png b/core/src/components/button/test/strong/button.e2e.ts-snapshots/button-strong-md-ltr-Mobile-Chrome-linux.png new file mode 100644 index 0000000000..c33b34e63a Binary files /dev/null and b/core/src/components/button/test/strong/button.e2e.ts-snapshots/button-strong-md-ltr-Mobile-Chrome-linux.png differ diff --git a/core/src/components/button/test/strong/button.e2e.ts-snapshots/button-strong-md-ltr-Mobile-Firefox-linux.png b/core/src/components/button/test/strong/button.e2e.ts-snapshots/button-strong-md-ltr-Mobile-Firefox-linux.png new file mode 100644 index 0000000000..ea24d8855e Binary files /dev/null and b/core/src/components/button/test/strong/button.e2e.ts-snapshots/button-strong-md-ltr-Mobile-Firefox-linux.png differ diff --git a/core/src/components/button/test/strong/button.e2e.ts-snapshots/button-strong-md-ltr-Mobile-Safari-linux.png b/core/src/components/button/test/strong/button.e2e.ts-snapshots/button-strong-md-ltr-Mobile-Safari-linux.png new file mode 100644 index 0000000000..6bf10e70b5 Binary files /dev/null and b/core/src/components/button/test/strong/button.e2e.ts-snapshots/button-strong-md-ltr-Mobile-Safari-linux.png differ diff --git a/core/src/components/button/test/strong/button.e2e.ts-snapshots/button-strong-md-rtl-Mobile-Chrome-linux.png b/core/src/components/button/test/strong/button.e2e.ts-snapshots/button-strong-md-rtl-Mobile-Chrome-linux.png new file mode 100644 index 0000000000..30320eb2ad Binary files /dev/null and b/core/src/components/button/test/strong/button.e2e.ts-snapshots/button-strong-md-rtl-Mobile-Chrome-linux.png differ diff --git a/core/src/components/button/test/strong/button.e2e.ts-snapshots/button-strong-md-rtl-Mobile-Firefox-linux.png b/core/src/components/button/test/strong/button.e2e.ts-snapshots/button-strong-md-rtl-Mobile-Firefox-linux.png new file mode 100644 index 0000000000..76f66e7edb Binary files /dev/null and b/core/src/components/button/test/strong/button.e2e.ts-snapshots/button-strong-md-rtl-Mobile-Firefox-linux.png differ diff --git a/core/src/components/button/test/strong/button.e2e.ts-snapshots/button-strong-md-rtl-Mobile-Safari-linux.png b/core/src/components/button/test/strong/button.e2e.ts-snapshots/button-strong-md-rtl-Mobile-Safari-linux.png new file mode 100644 index 0000000000..82ad414043 Binary files /dev/null and b/core/src/components/button/test/strong/button.e2e.ts-snapshots/button-strong-md-rtl-Mobile-Safari-linux.png differ diff --git a/core/src/components/button/test/strong/e2e.ts b/core/src/components/button/test/strong/e2e.ts deleted file mode 100644 index f0778120c1..0000000000 --- a/core/src/components/button/test/strong/e2e.ts +++ /dev/null @@ -1,10 +0,0 @@ -import { newE2EPage } from '@stencil/core/testing'; - -test('button: strong', async () => { - const page = await newE2EPage({ - url: '/src/components/button/test/strong?ionic:_testing=true', - }); - - const compare = await page.compareScreenshot(); - expect(compare).toMatchScreenshot(); -}); diff --git a/core/src/components/button/test/toolbar/e2e.ts b/core/src/components/button/test/toolbar/e2e.ts deleted file mode 100644 index fdc8dddd4b..0000000000 --- a/core/src/components/button/test/toolbar/e2e.ts +++ /dev/null @@ -1,10 +0,0 @@ -import { newE2EPage } from '@stencil/core/testing'; - -test('button: toolbar', async () => { - const page = await newE2EPage({ - url: '/src/components/button/test/toolbar?ionic:_testing=true', - }); - - const compare = await page.compareScreenshot(); - expect(compare).toMatchScreenshot(); -}); diff --git a/core/src/components/button/test/toolbar/index.html b/core/src/components/button/test/toolbar/index.html deleted file mode 100644 index fc7ebee6c5..0000000000 --- a/core/src/components/button/test/toolbar/index.html +++ /dev/null @@ -1,265 +0,0 @@ - - - - - Button - Toolbar - - - - - - - - - - - - - Button - Toolbar - - - - - - This should have no padding - - - - This is the title that never ends. It just goes on and on my friend. - - - - - - - - - - - - - - - - - This is a long title with buttons. It just goes on and on my friend. - - - - - Close - - - - - - - - - - This is a long title with buttons. It just goes on and on my friend. - - - - - Close - - - - - - - - - - This is a long title with buttons. It just goes on and on my friend. - - - - - - - - - - - - - - - - - Defaults - - - - - - - - - - - - - - - - - Defaults.activated - - - - - - - - - - Solid - - - Solid - - - Help - - - - - - - - - - - - - Solid - - - Solid Activated - - - Help - - - - - - - - - - - - - Star - - - - - - - - Outline - - - - - - - - - - Star - - - - - - - - Outline.activated - - - - - - - Clear - - - - - Edit - - - - Icon/Color Attr - - - - - Go Back - - - Edit - - Text Only - - - - - - - - - - - - - - Left side menu toggle - - - - - - - - - Right side menu toggle - - - - - - - - - - - - - - - Something - Else - - - - - - Light - Toolbar - Default Segment - - - - - -