From fe86d9a586d9e3b0c2a9f87f891f92e27cedb904 Mon Sep 17 00:00:00 2001 From: Liam DeBeasi Date: Fri, 28 Apr 2023 13:03:50 -0400 Subject: [PATCH] test(note): migrate to generators (#27333) Issue number: N/A --------- ## What is the current behavior? Note tests use legacy syntax ## What is the new behavior? - Note tests use modern syntax ## Does this introduce a breaking change? - [ ] Yes - [x] No ## Other information --- .../note/test/basic/note.e2e-legacy.ts | 75 ------------- .../components/note/test/basic/note.e2e.ts | 99 ++++++++++++++++++ ...note-color-ios-ltr-Mobile-Chrome-linux.png | Bin ...ote-color-ios-ltr-Mobile-Firefox-linux.png | Bin ...note-color-ios-ltr-Mobile-Safari-linux.png | Bin .../note-color-md-ltr-Mobile-Chrome-linux.png | Bin ...note-color-md-ltr-Mobile-Firefox-linux.png | Bin .../note-color-md-ltr-Mobile-Safari-linux.png | Bin .../note-diff-ios-ltr-Mobile-Chrome-linux.png | Bin ...note-diff-ios-ltr-Mobile-Firefox-linux.png | Bin .../note-diff-ios-ltr-Mobile-Safari-linux.png | Bin .../note-diff-md-ltr-Mobile-Chrome-linux.png | Bin .../note-diff-md-ltr-Mobile-Firefox-linux.png | Bin .../note-diff-md-ltr-Mobile-Safari-linux.png | Bin ...divider-end-md-ltr-Mobile-Chrome-linux.png | Bin ...ivider-end-md-ltr-Mobile-Firefox-linux.png | Bin ...divider-end-md-ltr-Mobile-Safari-linux.png | Bin ...divider-end-md-rtl-Mobile-Chrome-linux.png | Bin ...ivider-end-md-rtl-Mobile-Firefox-linux.png | Bin ...divider-end-md-rtl-Mobile-Safari-linux.png | Bin ...vider-start-md-ltr-Mobile-Chrome-linux.png | Bin ...ider-start-md-ltr-Mobile-Firefox-linux.png | Bin ...vider-start-md-ltr-Mobile-Safari-linux.png | Bin ...vider-start-md-rtl-Mobile-Chrome-linux.png | Bin ...ider-start-md-rtl-Mobile-Firefox-linux.png | Bin ...vider-start-md-rtl-Mobile-Safari-linux.png | Bin ...te-item-end-md-ltr-Mobile-Chrome-linux.png | Bin ...e-item-end-md-ltr-Mobile-Firefox-linux.png | Bin ...te-item-end-md-ltr-Mobile-Safari-linux.png | Bin ...te-item-end-md-rtl-Mobile-Chrome-linux.png | Bin ...e-item-end-md-rtl-Mobile-Firefox-linux.png | Bin ...te-item-end-md-rtl-Mobile-Safari-linux.png | Bin ...-item-start-md-ltr-Mobile-Chrome-linux.png | Bin ...item-start-md-ltr-Mobile-Firefox-linux.png | Bin ...-item-start-md-ltr-Mobile-Safari-linux.png | Bin ...-item-start-md-rtl-Mobile-Chrome-linux.png | Bin ...item-start-md-rtl-Mobile-Firefox-linux.png | Bin ...-item-start-md-rtl-Mobile-Safari-linux.png | Bin 38 files changed, 99 insertions(+), 75 deletions(-) delete mode 100644 core/src/components/note/test/basic/note.e2e-legacy.ts create mode 100644 core/src/components/note/test/basic/note.e2e.ts rename core/src/components/note/test/basic/{note.e2e-legacy.ts-snapshots => note.e2e.ts-snapshots}/note-color-ios-ltr-Mobile-Chrome-linux.png (100%) rename core/src/components/note/test/basic/{note.e2e-legacy.ts-snapshots => note.e2e.ts-snapshots}/note-color-ios-ltr-Mobile-Firefox-linux.png (100%) rename core/src/components/note/test/basic/{note.e2e-legacy.ts-snapshots => note.e2e.ts-snapshots}/note-color-ios-ltr-Mobile-Safari-linux.png (100%) rename core/src/components/note/test/basic/{note.e2e-legacy.ts-snapshots => note.e2e.ts-snapshots}/note-color-md-ltr-Mobile-Chrome-linux.png (100%) rename core/src/components/note/test/basic/{note.e2e-legacy.ts-snapshots => note.e2e.ts-snapshots}/note-color-md-ltr-Mobile-Firefox-linux.png (100%) rename core/src/components/note/test/basic/{note.e2e-legacy.ts-snapshots => note.e2e.ts-snapshots}/note-color-md-ltr-Mobile-Safari-linux.png (100%) rename core/src/components/note/test/basic/{note.e2e-legacy.ts-snapshots => note.e2e.ts-snapshots}/note-diff-ios-ltr-Mobile-Chrome-linux.png (100%) rename core/src/components/note/test/basic/{note.e2e-legacy.ts-snapshots => note.e2e.ts-snapshots}/note-diff-ios-ltr-Mobile-Firefox-linux.png (100%) rename core/src/components/note/test/basic/{note.e2e-legacy.ts-snapshots => note.e2e.ts-snapshots}/note-diff-ios-ltr-Mobile-Safari-linux.png (100%) rename core/src/components/note/test/basic/{note.e2e-legacy.ts-snapshots => note.e2e.ts-snapshots}/note-diff-md-ltr-Mobile-Chrome-linux.png (100%) rename core/src/components/note/test/basic/{note.e2e-legacy.ts-snapshots => note.e2e.ts-snapshots}/note-diff-md-ltr-Mobile-Firefox-linux.png (100%) rename core/src/components/note/test/basic/{note.e2e-legacy.ts-snapshots => note.e2e.ts-snapshots}/note-diff-md-ltr-Mobile-Safari-linux.png (100%) rename core/src/components/note/test/basic/{note.e2e-legacy.ts-snapshots => note.e2e.ts-snapshots}/note-item-divider-end-md-ltr-Mobile-Chrome-linux.png (100%) rename core/src/components/note/test/basic/{note.e2e-legacy.ts-snapshots => note.e2e.ts-snapshots}/note-item-divider-end-md-ltr-Mobile-Firefox-linux.png (100%) rename core/src/components/note/test/basic/{note.e2e-legacy.ts-snapshots => note.e2e.ts-snapshots}/note-item-divider-end-md-ltr-Mobile-Safari-linux.png (100%) rename core/src/components/note/test/basic/{note.e2e-legacy.ts-snapshots => note.e2e.ts-snapshots}/note-item-divider-end-md-rtl-Mobile-Chrome-linux.png (100%) rename core/src/components/note/test/basic/{note.e2e-legacy.ts-snapshots => note.e2e.ts-snapshots}/note-item-divider-end-md-rtl-Mobile-Firefox-linux.png (100%) rename core/src/components/note/test/basic/{note.e2e-legacy.ts-snapshots => note.e2e.ts-snapshots}/note-item-divider-end-md-rtl-Mobile-Safari-linux.png (100%) rename core/src/components/note/test/basic/{note.e2e-legacy.ts-snapshots => note.e2e.ts-snapshots}/note-item-divider-start-md-ltr-Mobile-Chrome-linux.png (100%) rename core/src/components/note/test/basic/{note.e2e-legacy.ts-snapshots => note.e2e.ts-snapshots}/note-item-divider-start-md-ltr-Mobile-Firefox-linux.png (100%) rename core/src/components/note/test/basic/{note.e2e-legacy.ts-snapshots => note.e2e.ts-snapshots}/note-item-divider-start-md-ltr-Mobile-Safari-linux.png (100%) rename core/src/components/note/test/basic/{note.e2e-legacy.ts-snapshots => note.e2e.ts-snapshots}/note-item-divider-start-md-rtl-Mobile-Chrome-linux.png (100%) rename core/src/components/note/test/basic/{note.e2e-legacy.ts-snapshots => note.e2e.ts-snapshots}/note-item-divider-start-md-rtl-Mobile-Firefox-linux.png (100%) rename core/src/components/note/test/basic/{note.e2e-legacy.ts-snapshots => note.e2e.ts-snapshots}/note-item-divider-start-md-rtl-Mobile-Safari-linux.png (100%) rename core/src/components/note/test/basic/{note.e2e-legacy.ts-snapshots => note.e2e.ts-snapshots}/note-item-end-md-ltr-Mobile-Chrome-linux.png (100%) rename core/src/components/note/test/basic/{note.e2e-legacy.ts-snapshots => note.e2e.ts-snapshots}/note-item-end-md-ltr-Mobile-Firefox-linux.png (100%) rename core/src/components/note/test/basic/{note.e2e-legacy.ts-snapshots => note.e2e.ts-snapshots}/note-item-end-md-ltr-Mobile-Safari-linux.png (100%) rename core/src/components/note/test/basic/{note.e2e-legacy.ts-snapshots => note.e2e.ts-snapshots}/note-item-end-md-rtl-Mobile-Chrome-linux.png (100%) rename core/src/components/note/test/basic/{note.e2e-legacy.ts-snapshots => note.e2e.ts-snapshots}/note-item-end-md-rtl-Mobile-Firefox-linux.png (100%) rename core/src/components/note/test/basic/{note.e2e-legacy.ts-snapshots => note.e2e.ts-snapshots}/note-item-end-md-rtl-Mobile-Safari-linux.png (100%) rename core/src/components/note/test/basic/{note.e2e-legacy.ts-snapshots => note.e2e.ts-snapshots}/note-item-start-md-ltr-Mobile-Chrome-linux.png (100%) rename core/src/components/note/test/basic/{note.e2e-legacy.ts-snapshots => note.e2e.ts-snapshots}/note-item-start-md-ltr-Mobile-Firefox-linux.png (100%) rename core/src/components/note/test/basic/{note.e2e-legacy.ts-snapshots => note.e2e.ts-snapshots}/note-item-start-md-ltr-Mobile-Safari-linux.png (100%) rename core/src/components/note/test/basic/{note.e2e-legacy.ts-snapshots => note.e2e.ts-snapshots}/note-item-start-md-rtl-Mobile-Chrome-linux.png (100%) rename core/src/components/note/test/basic/{note.e2e-legacy.ts-snapshots => note.e2e.ts-snapshots}/note-item-start-md-rtl-Mobile-Firefox-linux.png (100%) rename core/src/components/note/test/basic/{note.e2e-legacy.ts-snapshots => note.e2e.ts-snapshots}/note-item-start-md-rtl-Mobile-Safari-linux.png (100%) diff --git a/core/src/components/note/test/basic/note.e2e-legacy.ts b/core/src/components/note/test/basic/note.e2e-legacy.ts deleted file mode 100644 index 96c83c6733..0000000000 --- a/core/src/components/note/test/basic/note.e2e-legacy.ts +++ /dev/null @@ -1,75 +0,0 @@ -import { expect } from '@playwright/test'; -import { test } from '@utils/test/playwright'; - -test.describe('note: rendering', () => { - test.beforeEach(({ skip }) => { - skip.rtl('Note has no custom RTL logic'); - }); - test('should not have visual regressions', async ({ page }) => { - await page.setContent(` - 99 - `); - const note = page.locator('ion-note'); - await expect(note).toHaveScreenshot(`note-diff-${page.getSnapshotSettings()}.png`); - }); - - test('should render color correctly', async ({ page }) => { - await page.setContent(` - 99 - `); - const note = page.locator('ion-note'); - await expect(note).toHaveScreenshot(`note-color-${page.getSnapshotSettings()}.png`); - }); -}); - -test.describe('note: item', () => { - test.beforeEach(({ skip }) => { - skip.mode('ios', 'Only MD ion-item has ion-note specific logic'); - }); - test('should not have visual regressions when in the start slot of an item', async ({ page }) => { - await page.setContent(` - - Label - Start Note - - `); - const item = page.locator('ion-item'); - await expect(item).toHaveScreenshot(`note-item-start-${page.getSnapshotSettings()}.png`); - }); - - test('should not have visual regressions when in the end slot of an item', async ({ page }) => { - await page.setContent(` - - Label - End Note - - `); - const item = page.locator('ion-item'); - await expect(item).toHaveScreenshot(`note-item-end-${page.getSnapshotSettings()}.png`); - }); -}); - -test.describe('note: item-divider', () => { - test.beforeEach(({ skip }) => { - skip.mode('ios', 'Only MD ion-item-divider has ion-note specific logic'); - }); - test('should not have visual regressions when in the start slot of an item-divider', async ({ page }) => { - await page.setContent(` - - Start Note - - `); - const itemDivider = page.locator('ion-item-divider'); - await expect(itemDivider).toHaveScreenshot(`note-item-divider-start-${page.getSnapshotSettings()}.png`); - }); - - test('should not have visual regressions when in the end slot of an item-divider', async ({ page }) => { - await page.setContent(` - - End Note - - `); - const itemDivider = page.locator('ion-item-divider'); - await expect(itemDivider).toHaveScreenshot(`note-item-divider-end-${page.getSnapshotSettings()}.png`); - }); -}); diff --git a/core/src/components/note/test/basic/note.e2e.ts b/core/src/components/note/test/basic/note.e2e.ts new file mode 100644 index 0000000000..ebf4d0b5f1 --- /dev/null +++ b/core/src/components/note/test/basic/note.e2e.ts @@ -0,0 +1,99 @@ +import { expect } from '@playwright/test'; +import { configs, test } from '@utils/test/playwright'; + +/** + * Note has no custom RTL logic + */ +configs({ directions: ['ltr'] }).forEach(({ title, screenshot, config }) => { + test.describe(title('note: rendering'), () => { + test('should not have visual regressions', async ({ page }) => { + await page.setContent( + ` + 99 + `, + config + ); + const note = page.locator('ion-note'); + await expect(note).toHaveScreenshot(screenshot(`note-diff`)); + }); + + test('should render color correctly', async ({ page }) => { + await page.setContent( + ` + 99 + `, + config + ); + const note = page.locator('ion-note'); + await expect(note).toHaveScreenshot(screenshot(`note-color`)); + }); + }); +}); + +/** + * Only MD ion-item has ion-note specific logic + */ +configs({ modes: ['md'] }).forEach(({ title, screenshot, config }) => { + test.describe(title('note: item'), () => { + test('should not have visual regressions when in the start slot of an item', async ({ page }) => { + await page.setContent( + ` + + Label + Start Note + + `, + config + ); + const item = page.locator('ion-item'); + await expect(item).toHaveScreenshot(screenshot(`note-item-start`)); + }); + + test('should not have visual regressions when in the end slot of an item', async ({ page }) => { + await page.setContent( + ` + + Label + End Note + + `, + config + ); + const item = page.locator('ion-item'); + await expect(item).toHaveScreenshot(screenshot(`note-item-end`)); + }); + }); +}); + +/** + * Only MD ion-item-divider has ion-note specific logic + */ +configs({ modes: ['md'] }).forEach(({ title, screenshot, config }) => { + test.describe(title('note: item-divider'), () => { + test('should not have visual regressions when in the start slot of an item-divider', async ({ page }) => { + await page.setContent( + ` + + Start Note + + `, + config + ); + const itemDivider = page.locator('ion-item-divider'); + await expect(itemDivider).toHaveScreenshot(screenshot(`note-item-divider-start`)); + }); + + test('should not have visual regressions when in the end slot of an item-divider', async ({ page }) => { + await page.setContent( + ` + + End Note + + `, + config + ); + const itemDivider = page.locator('ion-item-divider'); + await expect(itemDivider).toHaveScreenshot(screenshot(`note-item-divider-end`)); + }); + }); +}); diff --git a/core/src/components/note/test/basic/note.e2e-legacy.ts-snapshots/note-color-ios-ltr-Mobile-Chrome-linux.png b/core/src/components/note/test/basic/note.e2e.ts-snapshots/note-color-ios-ltr-Mobile-Chrome-linux.png similarity index 100% rename from core/src/components/note/test/basic/note.e2e-legacy.ts-snapshots/note-color-ios-ltr-Mobile-Chrome-linux.png rename to core/src/components/note/test/basic/note.e2e.ts-snapshots/note-color-ios-ltr-Mobile-Chrome-linux.png diff --git a/core/src/components/note/test/basic/note.e2e-legacy.ts-snapshots/note-color-ios-ltr-Mobile-Firefox-linux.png b/core/src/components/note/test/basic/note.e2e.ts-snapshots/note-color-ios-ltr-Mobile-Firefox-linux.png similarity index 100% rename from core/src/components/note/test/basic/note.e2e-legacy.ts-snapshots/note-color-ios-ltr-Mobile-Firefox-linux.png rename to core/src/components/note/test/basic/note.e2e.ts-snapshots/note-color-ios-ltr-Mobile-Firefox-linux.png diff --git a/core/src/components/note/test/basic/note.e2e-legacy.ts-snapshots/note-color-ios-ltr-Mobile-Safari-linux.png b/core/src/components/note/test/basic/note.e2e.ts-snapshots/note-color-ios-ltr-Mobile-Safari-linux.png similarity index 100% rename from core/src/components/note/test/basic/note.e2e-legacy.ts-snapshots/note-color-ios-ltr-Mobile-Safari-linux.png rename to core/src/components/note/test/basic/note.e2e.ts-snapshots/note-color-ios-ltr-Mobile-Safari-linux.png diff --git a/core/src/components/note/test/basic/note.e2e-legacy.ts-snapshots/note-color-md-ltr-Mobile-Chrome-linux.png b/core/src/components/note/test/basic/note.e2e.ts-snapshots/note-color-md-ltr-Mobile-Chrome-linux.png similarity index 100% rename from core/src/components/note/test/basic/note.e2e-legacy.ts-snapshots/note-color-md-ltr-Mobile-Chrome-linux.png rename to core/src/components/note/test/basic/note.e2e.ts-snapshots/note-color-md-ltr-Mobile-Chrome-linux.png diff --git a/core/src/components/note/test/basic/note.e2e-legacy.ts-snapshots/note-color-md-ltr-Mobile-Firefox-linux.png b/core/src/components/note/test/basic/note.e2e.ts-snapshots/note-color-md-ltr-Mobile-Firefox-linux.png similarity index 100% rename from core/src/components/note/test/basic/note.e2e-legacy.ts-snapshots/note-color-md-ltr-Mobile-Firefox-linux.png rename to core/src/components/note/test/basic/note.e2e.ts-snapshots/note-color-md-ltr-Mobile-Firefox-linux.png diff --git a/core/src/components/note/test/basic/note.e2e-legacy.ts-snapshots/note-color-md-ltr-Mobile-Safari-linux.png b/core/src/components/note/test/basic/note.e2e.ts-snapshots/note-color-md-ltr-Mobile-Safari-linux.png similarity index 100% rename from core/src/components/note/test/basic/note.e2e-legacy.ts-snapshots/note-color-md-ltr-Mobile-Safari-linux.png rename to core/src/components/note/test/basic/note.e2e.ts-snapshots/note-color-md-ltr-Mobile-Safari-linux.png diff --git a/core/src/components/note/test/basic/note.e2e-legacy.ts-snapshots/note-diff-ios-ltr-Mobile-Chrome-linux.png b/core/src/components/note/test/basic/note.e2e.ts-snapshots/note-diff-ios-ltr-Mobile-Chrome-linux.png similarity index 100% rename from core/src/components/note/test/basic/note.e2e-legacy.ts-snapshots/note-diff-ios-ltr-Mobile-Chrome-linux.png rename to core/src/components/note/test/basic/note.e2e.ts-snapshots/note-diff-ios-ltr-Mobile-Chrome-linux.png diff --git a/core/src/components/note/test/basic/note.e2e-legacy.ts-snapshots/note-diff-ios-ltr-Mobile-Firefox-linux.png b/core/src/components/note/test/basic/note.e2e.ts-snapshots/note-diff-ios-ltr-Mobile-Firefox-linux.png similarity index 100% rename from core/src/components/note/test/basic/note.e2e-legacy.ts-snapshots/note-diff-ios-ltr-Mobile-Firefox-linux.png rename to core/src/components/note/test/basic/note.e2e.ts-snapshots/note-diff-ios-ltr-Mobile-Firefox-linux.png diff --git a/core/src/components/note/test/basic/note.e2e-legacy.ts-snapshots/note-diff-ios-ltr-Mobile-Safari-linux.png b/core/src/components/note/test/basic/note.e2e.ts-snapshots/note-diff-ios-ltr-Mobile-Safari-linux.png similarity index 100% rename from core/src/components/note/test/basic/note.e2e-legacy.ts-snapshots/note-diff-ios-ltr-Mobile-Safari-linux.png rename to core/src/components/note/test/basic/note.e2e.ts-snapshots/note-diff-ios-ltr-Mobile-Safari-linux.png diff --git a/core/src/components/note/test/basic/note.e2e-legacy.ts-snapshots/note-diff-md-ltr-Mobile-Chrome-linux.png b/core/src/components/note/test/basic/note.e2e.ts-snapshots/note-diff-md-ltr-Mobile-Chrome-linux.png similarity index 100% rename from core/src/components/note/test/basic/note.e2e-legacy.ts-snapshots/note-diff-md-ltr-Mobile-Chrome-linux.png rename to core/src/components/note/test/basic/note.e2e.ts-snapshots/note-diff-md-ltr-Mobile-Chrome-linux.png diff --git a/core/src/components/note/test/basic/note.e2e-legacy.ts-snapshots/note-diff-md-ltr-Mobile-Firefox-linux.png b/core/src/components/note/test/basic/note.e2e.ts-snapshots/note-diff-md-ltr-Mobile-Firefox-linux.png similarity index 100% rename from core/src/components/note/test/basic/note.e2e-legacy.ts-snapshots/note-diff-md-ltr-Mobile-Firefox-linux.png rename to core/src/components/note/test/basic/note.e2e.ts-snapshots/note-diff-md-ltr-Mobile-Firefox-linux.png diff --git a/core/src/components/note/test/basic/note.e2e-legacy.ts-snapshots/note-diff-md-ltr-Mobile-Safari-linux.png b/core/src/components/note/test/basic/note.e2e.ts-snapshots/note-diff-md-ltr-Mobile-Safari-linux.png similarity index 100% rename from core/src/components/note/test/basic/note.e2e-legacy.ts-snapshots/note-diff-md-ltr-Mobile-Safari-linux.png rename to core/src/components/note/test/basic/note.e2e.ts-snapshots/note-diff-md-ltr-Mobile-Safari-linux.png diff --git a/core/src/components/note/test/basic/note.e2e-legacy.ts-snapshots/note-item-divider-end-md-ltr-Mobile-Chrome-linux.png b/core/src/components/note/test/basic/note.e2e.ts-snapshots/note-item-divider-end-md-ltr-Mobile-Chrome-linux.png similarity index 100% rename from core/src/components/note/test/basic/note.e2e-legacy.ts-snapshots/note-item-divider-end-md-ltr-Mobile-Chrome-linux.png rename to core/src/components/note/test/basic/note.e2e.ts-snapshots/note-item-divider-end-md-ltr-Mobile-Chrome-linux.png diff --git a/core/src/components/note/test/basic/note.e2e-legacy.ts-snapshots/note-item-divider-end-md-ltr-Mobile-Firefox-linux.png b/core/src/components/note/test/basic/note.e2e.ts-snapshots/note-item-divider-end-md-ltr-Mobile-Firefox-linux.png similarity index 100% rename from core/src/components/note/test/basic/note.e2e-legacy.ts-snapshots/note-item-divider-end-md-ltr-Mobile-Firefox-linux.png rename to core/src/components/note/test/basic/note.e2e.ts-snapshots/note-item-divider-end-md-ltr-Mobile-Firefox-linux.png diff --git a/core/src/components/note/test/basic/note.e2e-legacy.ts-snapshots/note-item-divider-end-md-ltr-Mobile-Safari-linux.png b/core/src/components/note/test/basic/note.e2e.ts-snapshots/note-item-divider-end-md-ltr-Mobile-Safari-linux.png similarity index 100% rename from core/src/components/note/test/basic/note.e2e-legacy.ts-snapshots/note-item-divider-end-md-ltr-Mobile-Safari-linux.png rename to core/src/components/note/test/basic/note.e2e.ts-snapshots/note-item-divider-end-md-ltr-Mobile-Safari-linux.png diff --git a/core/src/components/note/test/basic/note.e2e-legacy.ts-snapshots/note-item-divider-end-md-rtl-Mobile-Chrome-linux.png b/core/src/components/note/test/basic/note.e2e.ts-snapshots/note-item-divider-end-md-rtl-Mobile-Chrome-linux.png similarity index 100% rename from core/src/components/note/test/basic/note.e2e-legacy.ts-snapshots/note-item-divider-end-md-rtl-Mobile-Chrome-linux.png rename to core/src/components/note/test/basic/note.e2e.ts-snapshots/note-item-divider-end-md-rtl-Mobile-Chrome-linux.png diff --git a/core/src/components/note/test/basic/note.e2e-legacy.ts-snapshots/note-item-divider-end-md-rtl-Mobile-Firefox-linux.png b/core/src/components/note/test/basic/note.e2e.ts-snapshots/note-item-divider-end-md-rtl-Mobile-Firefox-linux.png similarity index 100% rename from core/src/components/note/test/basic/note.e2e-legacy.ts-snapshots/note-item-divider-end-md-rtl-Mobile-Firefox-linux.png rename to core/src/components/note/test/basic/note.e2e.ts-snapshots/note-item-divider-end-md-rtl-Mobile-Firefox-linux.png diff --git a/core/src/components/note/test/basic/note.e2e-legacy.ts-snapshots/note-item-divider-end-md-rtl-Mobile-Safari-linux.png b/core/src/components/note/test/basic/note.e2e.ts-snapshots/note-item-divider-end-md-rtl-Mobile-Safari-linux.png similarity index 100% rename from core/src/components/note/test/basic/note.e2e-legacy.ts-snapshots/note-item-divider-end-md-rtl-Mobile-Safari-linux.png rename to core/src/components/note/test/basic/note.e2e.ts-snapshots/note-item-divider-end-md-rtl-Mobile-Safari-linux.png diff --git a/core/src/components/note/test/basic/note.e2e-legacy.ts-snapshots/note-item-divider-start-md-ltr-Mobile-Chrome-linux.png b/core/src/components/note/test/basic/note.e2e.ts-snapshots/note-item-divider-start-md-ltr-Mobile-Chrome-linux.png similarity index 100% rename from core/src/components/note/test/basic/note.e2e-legacy.ts-snapshots/note-item-divider-start-md-ltr-Mobile-Chrome-linux.png rename to core/src/components/note/test/basic/note.e2e.ts-snapshots/note-item-divider-start-md-ltr-Mobile-Chrome-linux.png diff --git a/core/src/components/note/test/basic/note.e2e-legacy.ts-snapshots/note-item-divider-start-md-ltr-Mobile-Firefox-linux.png b/core/src/components/note/test/basic/note.e2e.ts-snapshots/note-item-divider-start-md-ltr-Mobile-Firefox-linux.png similarity index 100% rename from core/src/components/note/test/basic/note.e2e-legacy.ts-snapshots/note-item-divider-start-md-ltr-Mobile-Firefox-linux.png rename to core/src/components/note/test/basic/note.e2e.ts-snapshots/note-item-divider-start-md-ltr-Mobile-Firefox-linux.png diff --git a/core/src/components/note/test/basic/note.e2e-legacy.ts-snapshots/note-item-divider-start-md-ltr-Mobile-Safari-linux.png b/core/src/components/note/test/basic/note.e2e.ts-snapshots/note-item-divider-start-md-ltr-Mobile-Safari-linux.png similarity index 100% rename from core/src/components/note/test/basic/note.e2e-legacy.ts-snapshots/note-item-divider-start-md-ltr-Mobile-Safari-linux.png rename to core/src/components/note/test/basic/note.e2e.ts-snapshots/note-item-divider-start-md-ltr-Mobile-Safari-linux.png diff --git a/core/src/components/note/test/basic/note.e2e-legacy.ts-snapshots/note-item-divider-start-md-rtl-Mobile-Chrome-linux.png b/core/src/components/note/test/basic/note.e2e.ts-snapshots/note-item-divider-start-md-rtl-Mobile-Chrome-linux.png similarity index 100% rename from core/src/components/note/test/basic/note.e2e-legacy.ts-snapshots/note-item-divider-start-md-rtl-Mobile-Chrome-linux.png rename to core/src/components/note/test/basic/note.e2e.ts-snapshots/note-item-divider-start-md-rtl-Mobile-Chrome-linux.png diff --git a/core/src/components/note/test/basic/note.e2e-legacy.ts-snapshots/note-item-divider-start-md-rtl-Mobile-Firefox-linux.png b/core/src/components/note/test/basic/note.e2e.ts-snapshots/note-item-divider-start-md-rtl-Mobile-Firefox-linux.png similarity index 100% rename from core/src/components/note/test/basic/note.e2e-legacy.ts-snapshots/note-item-divider-start-md-rtl-Mobile-Firefox-linux.png rename to core/src/components/note/test/basic/note.e2e.ts-snapshots/note-item-divider-start-md-rtl-Mobile-Firefox-linux.png diff --git a/core/src/components/note/test/basic/note.e2e-legacy.ts-snapshots/note-item-divider-start-md-rtl-Mobile-Safari-linux.png b/core/src/components/note/test/basic/note.e2e.ts-snapshots/note-item-divider-start-md-rtl-Mobile-Safari-linux.png similarity index 100% rename from core/src/components/note/test/basic/note.e2e-legacy.ts-snapshots/note-item-divider-start-md-rtl-Mobile-Safari-linux.png rename to core/src/components/note/test/basic/note.e2e.ts-snapshots/note-item-divider-start-md-rtl-Mobile-Safari-linux.png diff --git a/core/src/components/note/test/basic/note.e2e-legacy.ts-snapshots/note-item-end-md-ltr-Mobile-Chrome-linux.png b/core/src/components/note/test/basic/note.e2e.ts-snapshots/note-item-end-md-ltr-Mobile-Chrome-linux.png similarity index 100% rename from core/src/components/note/test/basic/note.e2e-legacy.ts-snapshots/note-item-end-md-ltr-Mobile-Chrome-linux.png rename to core/src/components/note/test/basic/note.e2e.ts-snapshots/note-item-end-md-ltr-Mobile-Chrome-linux.png diff --git a/core/src/components/note/test/basic/note.e2e-legacy.ts-snapshots/note-item-end-md-ltr-Mobile-Firefox-linux.png b/core/src/components/note/test/basic/note.e2e.ts-snapshots/note-item-end-md-ltr-Mobile-Firefox-linux.png similarity index 100% rename from core/src/components/note/test/basic/note.e2e-legacy.ts-snapshots/note-item-end-md-ltr-Mobile-Firefox-linux.png rename to core/src/components/note/test/basic/note.e2e.ts-snapshots/note-item-end-md-ltr-Mobile-Firefox-linux.png diff --git a/core/src/components/note/test/basic/note.e2e-legacy.ts-snapshots/note-item-end-md-ltr-Mobile-Safari-linux.png b/core/src/components/note/test/basic/note.e2e.ts-snapshots/note-item-end-md-ltr-Mobile-Safari-linux.png similarity index 100% rename from core/src/components/note/test/basic/note.e2e-legacy.ts-snapshots/note-item-end-md-ltr-Mobile-Safari-linux.png rename to core/src/components/note/test/basic/note.e2e.ts-snapshots/note-item-end-md-ltr-Mobile-Safari-linux.png diff --git a/core/src/components/note/test/basic/note.e2e-legacy.ts-snapshots/note-item-end-md-rtl-Mobile-Chrome-linux.png b/core/src/components/note/test/basic/note.e2e.ts-snapshots/note-item-end-md-rtl-Mobile-Chrome-linux.png similarity index 100% rename from core/src/components/note/test/basic/note.e2e-legacy.ts-snapshots/note-item-end-md-rtl-Mobile-Chrome-linux.png rename to core/src/components/note/test/basic/note.e2e.ts-snapshots/note-item-end-md-rtl-Mobile-Chrome-linux.png diff --git a/core/src/components/note/test/basic/note.e2e-legacy.ts-snapshots/note-item-end-md-rtl-Mobile-Firefox-linux.png b/core/src/components/note/test/basic/note.e2e.ts-snapshots/note-item-end-md-rtl-Mobile-Firefox-linux.png similarity index 100% rename from core/src/components/note/test/basic/note.e2e-legacy.ts-snapshots/note-item-end-md-rtl-Mobile-Firefox-linux.png rename to core/src/components/note/test/basic/note.e2e.ts-snapshots/note-item-end-md-rtl-Mobile-Firefox-linux.png diff --git a/core/src/components/note/test/basic/note.e2e-legacy.ts-snapshots/note-item-end-md-rtl-Mobile-Safari-linux.png b/core/src/components/note/test/basic/note.e2e.ts-snapshots/note-item-end-md-rtl-Mobile-Safari-linux.png similarity index 100% rename from core/src/components/note/test/basic/note.e2e-legacy.ts-snapshots/note-item-end-md-rtl-Mobile-Safari-linux.png rename to core/src/components/note/test/basic/note.e2e.ts-snapshots/note-item-end-md-rtl-Mobile-Safari-linux.png diff --git a/core/src/components/note/test/basic/note.e2e-legacy.ts-snapshots/note-item-start-md-ltr-Mobile-Chrome-linux.png b/core/src/components/note/test/basic/note.e2e.ts-snapshots/note-item-start-md-ltr-Mobile-Chrome-linux.png similarity index 100% rename from core/src/components/note/test/basic/note.e2e-legacy.ts-snapshots/note-item-start-md-ltr-Mobile-Chrome-linux.png rename to core/src/components/note/test/basic/note.e2e.ts-snapshots/note-item-start-md-ltr-Mobile-Chrome-linux.png diff --git a/core/src/components/note/test/basic/note.e2e-legacy.ts-snapshots/note-item-start-md-ltr-Mobile-Firefox-linux.png b/core/src/components/note/test/basic/note.e2e.ts-snapshots/note-item-start-md-ltr-Mobile-Firefox-linux.png similarity index 100% rename from core/src/components/note/test/basic/note.e2e-legacy.ts-snapshots/note-item-start-md-ltr-Mobile-Firefox-linux.png rename to core/src/components/note/test/basic/note.e2e.ts-snapshots/note-item-start-md-ltr-Mobile-Firefox-linux.png diff --git a/core/src/components/note/test/basic/note.e2e-legacy.ts-snapshots/note-item-start-md-ltr-Mobile-Safari-linux.png b/core/src/components/note/test/basic/note.e2e.ts-snapshots/note-item-start-md-ltr-Mobile-Safari-linux.png similarity index 100% rename from core/src/components/note/test/basic/note.e2e-legacy.ts-snapshots/note-item-start-md-ltr-Mobile-Safari-linux.png rename to core/src/components/note/test/basic/note.e2e.ts-snapshots/note-item-start-md-ltr-Mobile-Safari-linux.png diff --git a/core/src/components/note/test/basic/note.e2e-legacy.ts-snapshots/note-item-start-md-rtl-Mobile-Chrome-linux.png b/core/src/components/note/test/basic/note.e2e.ts-snapshots/note-item-start-md-rtl-Mobile-Chrome-linux.png similarity index 100% rename from core/src/components/note/test/basic/note.e2e-legacy.ts-snapshots/note-item-start-md-rtl-Mobile-Chrome-linux.png rename to core/src/components/note/test/basic/note.e2e.ts-snapshots/note-item-start-md-rtl-Mobile-Chrome-linux.png diff --git a/core/src/components/note/test/basic/note.e2e-legacy.ts-snapshots/note-item-start-md-rtl-Mobile-Firefox-linux.png b/core/src/components/note/test/basic/note.e2e.ts-snapshots/note-item-start-md-rtl-Mobile-Firefox-linux.png similarity index 100% rename from core/src/components/note/test/basic/note.e2e-legacy.ts-snapshots/note-item-start-md-rtl-Mobile-Firefox-linux.png rename to core/src/components/note/test/basic/note.e2e.ts-snapshots/note-item-start-md-rtl-Mobile-Firefox-linux.png diff --git a/core/src/components/note/test/basic/note.e2e-legacy.ts-snapshots/note-item-start-md-rtl-Mobile-Safari-linux.png b/core/src/components/note/test/basic/note.e2e.ts-snapshots/note-item-start-md-rtl-Mobile-Safari-linux.png similarity index 100% rename from core/src/components/note/test/basic/note.e2e-legacy.ts-snapshots/note-item-start-md-rtl-Mobile-Safari-linux.png rename to core/src/components/note/test/basic/note.e2e.ts-snapshots/note-item-start-md-rtl-Mobile-Safari-linux.png