From b44ad49a4a988bda871b00d1716b243ab01b8214 Mon Sep 17 00:00:00 2001 From: Liam DeBeasi Date: Thu, 27 Apr 2023 11:22:59 -0400 Subject: [PATCH] test(chip): migrate to generators (#27301) Issue number: N/A --------- ## What is the current behavior? Chip tests are using legacy syntax ## What is the new behavior? - Chip tests are using generator syntax ## Does this introduce a breaking change? - [ ] Yes - [x] No ## Other information --- .../chip/test/basic/chip.e2e-legacy.ts | 36 --------------- .../components/chip/test/basic/chip.e2e.ts | 42 ++++++++++++++++++ ...chip-basic-ios-ltr-Mobile-Chrome-linux.png | Bin ...hip-basic-ios-ltr-Mobile-Firefox-linux.png | Bin ...chip-basic-ios-ltr-Mobile-Safari-linux.png | Bin ...chip-basic-ios-rtl-Mobile-Chrome-linux.png | Bin ...hip-basic-ios-rtl-Mobile-Firefox-linux.png | Bin ...chip-basic-ios-rtl-Mobile-Safari-linux.png | Bin .../chip-basic-md-ltr-Mobile-Chrome-linux.png | Bin ...chip-basic-md-ltr-Mobile-Firefox-linux.png | Bin .../chip-basic-md-ltr-Mobile-Safari-linux.png | Bin .../chip-basic-md-rtl-Mobile-Chrome-linux.png | Bin ...chip-basic-md-rtl-Mobile-Firefox-linux.png | Bin .../chip-basic-md-rtl-Mobile-Safari-linux.png | Bin ...-descender-ios-ltr-Mobile-Chrome-linux.png | Bin ...descender-ios-ltr-Mobile-Firefox-linux.png | Bin ...-descender-ios-ltr-Mobile-Safari-linux.png | Bin .../chip/test/states/chip.e2e-legacy.ts | 12 ----- .../components/chip/test/states/chip.e2e.ts | 14 ++++++ ...hip-states-ios-ltr-Mobile-Chrome-linux.png | Bin ...ip-states-ios-ltr-Mobile-Firefox-linux.png | Bin ...hip-states-ios-ltr-Mobile-Safari-linux.png | Bin ...hip-states-ios-rtl-Mobile-Chrome-linux.png | Bin ...ip-states-ios-rtl-Mobile-Firefox-linux.png | Bin ...hip-states-ios-rtl-Mobile-Safari-linux.png | Bin ...chip-states-md-ltr-Mobile-Chrome-linux.png | Bin ...hip-states-md-ltr-Mobile-Firefox-linux.png | Bin ...chip-states-md-ltr-Mobile-Safari-linux.png | Bin ...chip-states-md-rtl-Mobile-Chrome-linux.png | Bin ...hip-states-md-rtl-Mobile-Firefox-linux.png | Bin ...chip-states-md-rtl-Mobile-Safari-linux.png | Bin 31 files changed, 56 insertions(+), 48 deletions(-) delete mode 100644 core/src/components/chip/test/basic/chip.e2e-legacy.ts create mode 100644 core/src/components/chip/test/basic/chip.e2e.ts rename core/src/components/chip/test/basic/{chip.e2e-legacy.ts-snapshots => chip.e2e.ts-snapshots}/chip-basic-ios-ltr-Mobile-Chrome-linux.png (100%) rename core/src/components/chip/test/basic/{chip.e2e-legacy.ts-snapshots => chip.e2e.ts-snapshots}/chip-basic-ios-ltr-Mobile-Firefox-linux.png (100%) rename core/src/components/chip/test/basic/{chip.e2e-legacy.ts-snapshots => chip.e2e.ts-snapshots}/chip-basic-ios-ltr-Mobile-Safari-linux.png (100%) rename core/src/components/chip/test/basic/{chip.e2e-legacy.ts-snapshots => chip.e2e.ts-snapshots}/chip-basic-ios-rtl-Mobile-Chrome-linux.png (100%) rename core/src/components/chip/test/basic/{chip.e2e-legacy.ts-snapshots => chip.e2e.ts-snapshots}/chip-basic-ios-rtl-Mobile-Firefox-linux.png (100%) rename core/src/components/chip/test/basic/{chip.e2e-legacy.ts-snapshots => chip.e2e.ts-snapshots}/chip-basic-ios-rtl-Mobile-Safari-linux.png (100%) rename core/src/components/chip/test/basic/{chip.e2e-legacy.ts-snapshots => chip.e2e.ts-snapshots}/chip-basic-md-ltr-Mobile-Chrome-linux.png (100%) rename core/src/components/chip/test/basic/{chip.e2e-legacy.ts-snapshots => chip.e2e.ts-snapshots}/chip-basic-md-ltr-Mobile-Firefox-linux.png (100%) rename core/src/components/chip/test/basic/{chip.e2e-legacy.ts-snapshots => chip.e2e.ts-snapshots}/chip-basic-md-ltr-Mobile-Safari-linux.png (100%) rename core/src/components/chip/test/basic/{chip.e2e-legacy.ts-snapshots => chip.e2e.ts-snapshots}/chip-basic-md-rtl-Mobile-Chrome-linux.png (100%) rename core/src/components/chip/test/basic/{chip.e2e-legacy.ts-snapshots => chip.e2e.ts-snapshots}/chip-basic-md-rtl-Mobile-Firefox-linux.png (100%) rename core/src/components/chip/test/basic/{chip.e2e-legacy.ts-snapshots => chip.e2e.ts-snapshots}/chip-basic-md-rtl-Mobile-Safari-linux.png (100%) rename core/src/components/chip/test/basic/{chip.e2e-legacy.ts-snapshots => chip.e2e.ts-snapshots}/chip-descender-ios-ltr-Mobile-Chrome-linux.png (100%) rename core/src/components/chip/test/basic/{chip.e2e-legacy.ts-snapshots => chip.e2e.ts-snapshots}/chip-descender-ios-ltr-Mobile-Firefox-linux.png (100%) rename core/src/components/chip/test/basic/{chip.e2e-legacy.ts-snapshots => chip.e2e.ts-snapshots}/chip-descender-ios-ltr-Mobile-Safari-linux.png (100%) delete mode 100644 core/src/components/chip/test/states/chip.e2e-legacy.ts create mode 100644 core/src/components/chip/test/states/chip.e2e.ts rename core/src/components/chip/test/states/{chip.e2e-legacy.ts-snapshots => chip.e2e.ts-snapshots}/chip-states-ios-ltr-Mobile-Chrome-linux.png (100%) rename core/src/components/chip/test/states/{chip.e2e-legacy.ts-snapshots => chip.e2e.ts-snapshots}/chip-states-ios-ltr-Mobile-Firefox-linux.png (100%) rename core/src/components/chip/test/states/{chip.e2e-legacy.ts-snapshots => chip.e2e.ts-snapshots}/chip-states-ios-ltr-Mobile-Safari-linux.png (100%) rename core/src/components/chip/test/states/{chip.e2e-legacy.ts-snapshots => chip.e2e.ts-snapshots}/chip-states-ios-rtl-Mobile-Chrome-linux.png (100%) rename core/src/components/chip/test/states/{chip.e2e-legacy.ts-snapshots => chip.e2e.ts-snapshots}/chip-states-ios-rtl-Mobile-Firefox-linux.png (100%) rename core/src/components/chip/test/states/{chip.e2e-legacy.ts-snapshots => chip.e2e.ts-snapshots}/chip-states-ios-rtl-Mobile-Safari-linux.png (100%) rename core/src/components/chip/test/states/{chip.e2e-legacy.ts-snapshots => chip.e2e.ts-snapshots}/chip-states-md-ltr-Mobile-Chrome-linux.png (100%) rename core/src/components/chip/test/states/{chip.e2e-legacy.ts-snapshots => chip.e2e.ts-snapshots}/chip-states-md-ltr-Mobile-Firefox-linux.png (100%) rename core/src/components/chip/test/states/{chip.e2e-legacy.ts-snapshots => chip.e2e.ts-snapshots}/chip-states-md-ltr-Mobile-Safari-linux.png (100%) rename core/src/components/chip/test/states/{chip.e2e-legacy.ts-snapshots => chip.e2e.ts-snapshots}/chip-states-md-rtl-Mobile-Chrome-linux.png (100%) rename core/src/components/chip/test/states/{chip.e2e-legacy.ts-snapshots => chip.e2e.ts-snapshots}/chip-states-md-rtl-Mobile-Firefox-linux.png (100%) rename core/src/components/chip/test/states/{chip.e2e-legacy.ts-snapshots => chip.e2e.ts-snapshots}/chip-states-md-rtl-Mobile-Safari-linux.png (100%) diff --git a/core/src/components/chip/test/basic/chip.e2e-legacy.ts b/core/src/components/chip/test/basic/chip.e2e-legacy.ts deleted file mode 100644 index 2f2b93503a..0000000000 --- a/core/src/components/chip/test/basic/chip.e2e-legacy.ts +++ /dev/null @@ -1,36 +0,0 @@ -import { expect } from '@playwright/test'; -import { test } from '@utils/test/playwright'; - -test.describe('chip: rendering', () => { - test('should not have visual regressions', async ({ page }) => { - await page.goto('/src/components/chip/test/basic'); - - await page.setIonViewport(); - - await expect(page).toHaveScreenshot(`chip-basic-${page.getSnapshotSettings()}.png`); - }); - - test('should not clip descenders in item', async ({ page, skip }) => { - skip.rtl(); - skip.mode('md'); - - test.info().annotations.push({ - type: 'issue', - description: 'https://github.com/ionic-team/ionic-framework/issues/18313', - }); - - await page.setContent(` - - - - Agreements - - - - `); - - const chip = page.locator('ion-chip'); - - await expect(chip).toHaveScreenshot(`chip-descender-${page.getSnapshotSettings()}.png`); - }); -}); diff --git a/core/src/components/chip/test/basic/chip.e2e.ts b/core/src/components/chip/test/basic/chip.e2e.ts new file mode 100644 index 0000000000..97c6bcaab4 --- /dev/null +++ b/core/src/components/chip/test/basic/chip.e2e.ts @@ -0,0 +1,42 @@ +import { expect } from '@playwright/test'; +import { configs, test } from '@utils/test/playwright'; + +configs().forEach(({ title, screenshot, config }) => { + test.describe(title('chip: rendering'), () => { + test('should not have visual regressions', async ({ page }) => { + await page.goto('/src/components/chip/test/basic', config); + + await page.setIonViewport(); + + await expect(page).toHaveScreenshot(screenshot(`chip-basic`)); + }); + }); +}); + +configs({ modes: ['ios'], directions: ['ltr'] }).forEach(({ title, screenshot, config }) => { + test.describe(title('chip: descenders'), () => { + test('should not clip descenders in item', async ({ page }) => { + test.info().annotations.push({ + type: 'issue', + description: 'https://github.com/ionic-team/ionic-framework/issues/18313', + }); + + await page.setContent( + ` + + + + Agreements + + + + `, + config + ); + + const chip = page.locator('ion-chip'); + + await expect(chip).toHaveScreenshot(screenshot(`chip-descender`)); + }); + }); +}); diff --git a/core/src/components/chip/test/basic/chip.e2e-legacy.ts-snapshots/chip-basic-ios-ltr-Mobile-Chrome-linux.png b/core/src/components/chip/test/basic/chip.e2e.ts-snapshots/chip-basic-ios-ltr-Mobile-Chrome-linux.png similarity index 100% rename from core/src/components/chip/test/basic/chip.e2e-legacy.ts-snapshots/chip-basic-ios-ltr-Mobile-Chrome-linux.png rename to core/src/components/chip/test/basic/chip.e2e.ts-snapshots/chip-basic-ios-ltr-Mobile-Chrome-linux.png diff --git a/core/src/components/chip/test/basic/chip.e2e-legacy.ts-snapshots/chip-basic-ios-ltr-Mobile-Firefox-linux.png b/core/src/components/chip/test/basic/chip.e2e.ts-snapshots/chip-basic-ios-ltr-Mobile-Firefox-linux.png similarity index 100% rename from core/src/components/chip/test/basic/chip.e2e-legacy.ts-snapshots/chip-basic-ios-ltr-Mobile-Firefox-linux.png rename to core/src/components/chip/test/basic/chip.e2e.ts-snapshots/chip-basic-ios-ltr-Mobile-Firefox-linux.png diff --git a/core/src/components/chip/test/basic/chip.e2e-legacy.ts-snapshots/chip-basic-ios-ltr-Mobile-Safari-linux.png b/core/src/components/chip/test/basic/chip.e2e.ts-snapshots/chip-basic-ios-ltr-Mobile-Safari-linux.png similarity index 100% rename from core/src/components/chip/test/basic/chip.e2e-legacy.ts-snapshots/chip-basic-ios-ltr-Mobile-Safari-linux.png rename to core/src/components/chip/test/basic/chip.e2e.ts-snapshots/chip-basic-ios-ltr-Mobile-Safari-linux.png diff --git a/core/src/components/chip/test/basic/chip.e2e-legacy.ts-snapshots/chip-basic-ios-rtl-Mobile-Chrome-linux.png b/core/src/components/chip/test/basic/chip.e2e.ts-snapshots/chip-basic-ios-rtl-Mobile-Chrome-linux.png similarity index 100% rename from core/src/components/chip/test/basic/chip.e2e-legacy.ts-snapshots/chip-basic-ios-rtl-Mobile-Chrome-linux.png rename to core/src/components/chip/test/basic/chip.e2e.ts-snapshots/chip-basic-ios-rtl-Mobile-Chrome-linux.png diff --git a/core/src/components/chip/test/basic/chip.e2e-legacy.ts-snapshots/chip-basic-ios-rtl-Mobile-Firefox-linux.png b/core/src/components/chip/test/basic/chip.e2e.ts-snapshots/chip-basic-ios-rtl-Mobile-Firefox-linux.png similarity index 100% rename from core/src/components/chip/test/basic/chip.e2e-legacy.ts-snapshots/chip-basic-ios-rtl-Mobile-Firefox-linux.png rename to core/src/components/chip/test/basic/chip.e2e.ts-snapshots/chip-basic-ios-rtl-Mobile-Firefox-linux.png diff --git a/core/src/components/chip/test/basic/chip.e2e-legacy.ts-snapshots/chip-basic-ios-rtl-Mobile-Safari-linux.png b/core/src/components/chip/test/basic/chip.e2e.ts-snapshots/chip-basic-ios-rtl-Mobile-Safari-linux.png similarity index 100% rename from core/src/components/chip/test/basic/chip.e2e-legacy.ts-snapshots/chip-basic-ios-rtl-Mobile-Safari-linux.png rename to core/src/components/chip/test/basic/chip.e2e.ts-snapshots/chip-basic-ios-rtl-Mobile-Safari-linux.png diff --git a/core/src/components/chip/test/basic/chip.e2e-legacy.ts-snapshots/chip-basic-md-ltr-Mobile-Chrome-linux.png b/core/src/components/chip/test/basic/chip.e2e.ts-snapshots/chip-basic-md-ltr-Mobile-Chrome-linux.png similarity index 100% rename from core/src/components/chip/test/basic/chip.e2e-legacy.ts-snapshots/chip-basic-md-ltr-Mobile-Chrome-linux.png rename to core/src/components/chip/test/basic/chip.e2e.ts-snapshots/chip-basic-md-ltr-Mobile-Chrome-linux.png diff --git a/core/src/components/chip/test/basic/chip.e2e-legacy.ts-snapshots/chip-basic-md-ltr-Mobile-Firefox-linux.png b/core/src/components/chip/test/basic/chip.e2e.ts-snapshots/chip-basic-md-ltr-Mobile-Firefox-linux.png similarity index 100% rename from core/src/components/chip/test/basic/chip.e2e-legacy.ts-snapshots/chip-basic-md-ltr-Mobile-Firefox-linux.png rename to core/src/components/chip/test/basic/chip.e2e.ts-snapshots/chip-basic-md-ltr-Mobile-Firefox-linux.png diff --git a/core/src/components/chip/test/basic/chip.e2e-legacy.ts-snapshots/chip-basic-md-ltr-Mobile-Safari-linux.png b/core/src/components/chip/test/basic/chip.e2e.ts-snapshots/chip-basic-md-ltr-Mobile-Safari-linux.png similarity index 100% rename from core/src/components/chip/test/basic/chip.e2e-legacy.ts-snapshots/chip-basic-md-ltr-Mobile-Safari-linux.png rename to core/src/components/chip/test/basic/chip.e2e.ts-snapshots/chip-basic-md-ltr-Mobile-Safari-linux.png diff --git a/core/src/components/chip/test/basic/chip.e2e-legacy.ts-snapshots/chip-basic-md-rtl-Mobile-Chrome-linux.png b/core/src/components/chip/test/basic/chip.e2e.ts-snapshots/chip-basic-md-rtl-Mobile-Chrome-linux.png similarity index 100% rename from core/src/components/chip/test/basic/chip.e2e-legacy.ts-snapshots/chip-basic-md-rtl-Mobile-Chrome-linux.png rename to core/src/components/chip/test/basic/chip.e2e.ts-snapshots/chip-basic-md-rtl-Mobile-Chrome-linux.png diff --git a/core/src/components/chip/test/basic/chip.e2e-legacy.ts-snapshots/chip-basic-md-rtl-Mobile-Firefox-linux.png b/core/src/components/chip/test/basic/chip.e2e.ts-snapshots/chip-basic-md-rtl-Mobile-Firefox-linux.png similarity index 100% rename from core/src/components/chip/test/basic/chip.e2e-legacy.ts-snapshots/chip-basic-md-rtl-Mobile-Firefox-linux.png rename to core/src/components/chip/test/basic/chip.e2e.ts-snapshots/chip-basic-md-rtl-Mobile-Firefox-linux.png diff --git a/core/src/components/chip/test/basic/chip.e2e-legacy.ts-snapshots/chip-basic-md-rtl-Mobile-Safari-linux.png b/core/src/components/chip/test/basic/chip.e2e.ts-snapshots/chip-basic-md-rtl-Mobile-Safari-linux.png similarity index 100% rename from core/src/components/chip/test/basic/chip.e2e-legacy.ts-snapshots/chip-basic-md-rtl-Mobile-Safari-linux.png rename to core/src/components/chip/test/basic/chip.e2e.ts-snapshots/chip-basic-md-rtl-Mobile-Safari-linux.png diff --git a/core/src/components/chip/test/basic/chip.e2e-legacy.ts-snapshots/chip-descender-ios-ltr-Mobile-Chrome-linux.png b/core/src/components/chip/test/basic/chip.e2e.ts-snapshots/chip-descender-ios-ltr-Mobile-Chrome-linux.png similarity index 100% rename from core/src/components/chip/test/basic/chip.e2e-legacy.ts-snapshots/chip-descender-ios-ltr-Mobile-Chrome-linux.png rename to core/src/components/chip/test/basic/chip.e2e.ts-snapshots/chip-descender-ios-ltr-Mobile-Chrome-linux.png diff --git a/core/src/components/chip/test/basic/chip.e2e-legacy.ts-snapshots/chip-descender-ios-ltr-Mobile-Firefox-linux.png b/core/src/components/chip/test/basic/chip.e2e.ts-snapshots/chip-descender-ios-ltr-Mobile-Firefox-linux.png similarity index 100% rename from core/src/components/chip/test/basic/chip.e2e-legacy.ts-snapshots/chip-descender-ios-ltr-Mobile-Firefox-linux.png rename to core/src/components/chip/test/basic/chip.e2e.ts-snapshots/chip-descender-ios-ltr-Mobile-Firefox-linux.png diff --git a/core/src/components/chip/test/basic/chip.e2e-legacy.ts-snapshots/chip-descender-ios-ltr-Mobile-Safari-linux.png b/core/src/components/chip/test/basic/chip.e2e.ts-snapshots/chip-descender-ios-ltr-Mobile-Safari-linux.png similarity index 100% rename from core/src/components/chip/test/basic/chip.e2e-legacy.ts-snapshots/chip-descender-ios-ltr-Mobile-Safari-linux.png rename to core/src/components/chip/test/basic/chip.e2e.ts-snapshots/chip-descender-ios-ltr-Mobile-Safari-linux.png diff --git a/core/src/components/chip/test/states/chip.e2e-legacy.ts b/core/src/components/chip/test/states/chip.e2e-legacy.ts deleted file mode 100644 index c1c9023093..0000000000 --- a/core/src/components/chip/test/states/chip.e2e-legacy.ts +++ /dev/null @@ -1,12 +0,0 @@ -import { expect } from '@playwright/test'; -import { test } from '@utils/test/playwright'; - -test.describe('chip: states', () => { - test('should not have visual regressions', async ({ page }) => { - await page.goto('/src/components/chip/test/states'); - - await page.setIonViewport(); - - await expect(page).toHaveScreenshot(`chip-states-${page.getSnapshotSettings()}.png`); - }); -}); diff --git a/core/src/components/chip/test/states/chip.e2e.ts b/core/src/components/chip/test/states/chip.e2e.ts new file mode 100644 index 0000000000..fea2fc95ca --- /dev/null +++ b/core/src/components/chip/test/states/chip.e2e.ts @@ -0,0 +1,14 @@ +import { expect } from '@playwright/test'; +import { configs, test } from '@utils/test/playwright'; + +configs().forEach(({ title, screenshot, config }) => { + test.describe(title('chip: states'), () => { + test('should not have visual regressions', async ({ page }) => { + await page.goto('/src/components/chip/test/states', config); + + await page.setIonViewport(); + + await expect(page).toHaveScreenshot(screenshot(`chip-states`)); + }); + }); +}); diff --git a/core/src/components/chip/test/states/chip.e2e-legacy.ts-snapshots/chip-states-ios-ltr-Mobile-Chrome-linux.png b/core/src/components/chip/test/states/chip.e2e.ts-snapshots/chip-states-ios-ltr-Mobile-Chrome-linux.png similarity index 100% rename from core/src/components/chip/test/states/chip.e2e-legacy.ts-snapshots/chip-states-ios-ltr-Mobile-Chrome-linux.png rename to core/src/components/chip/test/states/chip.e2e.ts-snapshots/chip-states-ios-ltr-Mobile-Chrome-linux.png diff --git a/core/src/components/chip/test/states/chip.e2e-legacy.ts-snapshots/chip-states-ios-ltr-Mobile-Firefox-linux.png b/core/src/components/chip/test/states/chip.e2e.ts-snapshots/chip-states-ios-ltr-Mobile-Firefox-linux.png similarity index 100% rename from core/src/components/chip/test/states/chip.e2e-legacy.ts-snapshots/chip-states-ios-ltr-Mobile-Firefox-linux.png rename to core/src/components/chip/test/states/chip.e2e.ts-snapshots/chip-states-ios-ltr-Mobile-Firefox-linux.png diff --git a/core/src/components/chip/test/states/chip.e2e-legacy.ts-snapshots/chip-states-ios-ltr-Mobile-Safari-linux.png b/core/src/components/chip/test/states/chip.e2e.ts-snapshots/chip-states-ios-ltr-Mobile-Safari-linux.png similarity index 100% rename from core/src/components/chip/test/states/chip.e2e-legacy.ts-snapshots/chip-states-ios-ltr-Mobile-Safari-linux.png rename to core/src/components/chip/test/states/chip.e2e.ts-snapshots/chip-states-ios-ltr-Mobile-Safari-linux.png diff --git a/core/src/components/chip/test/states/chip.e2e-legacy.ts-snapshots/chip-states-ios-rtl-Mobile-Chrome-linux.png b/core/src/components/chip/test/states/chip.e2e.ts-snapshots/chip-states-ios-rtl-Mobile-Chrome-linux.png similarity index 100% rename from core/src/components/chip/test/states/chip.e2e-legacy.ts-snapshots/chip-states-ios-rtl-Mobile-Chrome-linux.png rename to core/src/components/chip/test/states/chip.e2e.ts-snapshots/chip-states-ios-rtl-Mobile-Chrome-linux.png diff --git a/core/src/components/chip/test/states/chip.e2e-legacy.ts-snapshots/chip-states-ios-rtl-Mobile-Firefox-linux.png b/core/src/components/chip/test/states/chip.e2e.ts-snapshots/chip-states-ios-rtl-Mobile-Firefox-linux.png similarity index 100% rename from core/src/components/chip/test/states/chip.e2e-legacy.ts-snapshots/chip-states-ios-rtl-Mobile-Firefox-linux.png rename to core/src/components/chip/test/states/chip.e2e.ts-snapshots/chip-states-ios-rtl-Mobile-Firefox-linux.png diff --git a/core/src/components/chip/test/states/chip.e2e-legacy.ts-snapshots/chip-states-ios-rtl-Mobile-Safari-linux.png b/core/src/components/chip/test/states/chip.e2e.ts-snapshots/chip-states-ios-rtl-Mobile-Safari-linux.png similarity index 100% rename from core/src/components/chip/test/states/chip.e2e-legacy.ts-snapshots/chip-states-ios-rtl-Mobile-Safari-linux.png rename to core/src/components/chip/test/states/chip.e2e.ts-snapshots/chip-states-ios-rtl-Mobile-Safari-linux.png diff --git a/core/src/components/chip/test/states/chip.e2e-legacy.ts-snapshots/chip-states-md-ltr-Mobile-Chrome-linux.png b/core/src/components/chip/test/states/chip.e2e.ts-snapshots/chip-states-md-ltr-Mobile-Chrome-linux.png similarity index 100% rename from core/src/components/chip/test/states/chip.e2e-legacy.ts-snapshots/chip-states-md-ltr-Mobile-Chrome-linux.png rename to core/src/components/chip/test/states/chip.e2e.ts-snapshots/chip-states-md-ltr-Mobile-Chrome-linux.png diff --git a/core/src/components/chip/test/states/chip.e2e-legacy.ts-snapshots/chip-states-md-ltr-Mobile-Firefox-linux.png b/core/src/components/chip/test/states/chip.e2e.ts-snapshots/chip-states-md-ltr-Mobile-Firefox-linux.png similarity index 100% rename from core/src/components/chip/test/states/chip.e2e-legacy.ts-snapshots/chip-states-md-ltr-Mobile-Firefox-linux.png rename to core/src/components/chip/test/states/chip.e2e.ts-snapshots/chip-states-md-ltr-Mobile-Firefox-linux.png diff --git a/core/src/components/chip/test/states/chip.e2e-legacy.ts-snapshots/chip-states-md-ltr-Mobile-Safari-linux.png b/core/src/components/chip/test/states/chip.e2e.ts-snapshots/chip-states-md-ltr-Mobile-Safari-linux.png similarity index 100% rename from core/src/components/chip/test/states/chip.e2e-legacy.ts-snapshots/chip-states-md-ltr-Mobile-Safari-linux.png rename to core/src/components/chip/test/states/chip.e2e.ts-snapshots/chip-states-md-ltr-Mobile-Safari-linux.png diff --git a/core/src/components/chip/test/states/chip.e2e-legacy.ts-snapshots/chip-states-md-rtl-Mobile-Chrome-linux.png b/core/src/components/chip/test/states/chip.e2e.ts-snapshots/chip-states-md-rtl-Mobile-Chrome-linux.png similarity index 100% rename from core/src/components/chip/test/states/chip.e2e-legacy.ts-snapshots/chip-states-md-rtl-Mobile-Chrome-linux.png rename to core/src/components/chip/test/states/chip.e2e.ts-snapshots/chip-states-md-rtl-Mobile-Chrome-linux.png diff --git a/core/src/components/chip/test/states/chip.e2e-legacy.ts-snapshots/chip-states-md-rtl-Mobile-Firefox-linux.png b/core/src/components/chip/test/states/chip.e2e.ts-snapshots/chip-states-md-rtl-Mobile-Firefox-linux.png similarity index 100% rename from core/src/components/chip/test/states/chip.e2e-legacy.ts-snapshots/chip-states-md-rtl-Mobile-Firefox-linux.png rename to core/src/components/chip/test/states/chip.e2e.ts-snapshots/chip-states-md-rtl-Mobile-Firefox-linux.png diff --git a/core/src/components/chip/test/states/chip.e2e-legacy.ts-snapshots/chip-states-md-rtl-Mobile-Safari-linux.png b/core/src/components/chip/test/states/chip.e2e.ts-snapshots/chip-states-md-rtl-Mobile-Safari-linux.png similarity index 100% rename from core/src/components/chip/test/states/chip.e2e-legacy.ts-snapshots/chip-states-md-rtl-Mobile-Safari-linux.png rename to core/src/components/chip/test/states/chip.e2e.ts-snapshots/chip-states-md-rtl-Mobile-Safari-linux.png