From 17dc854eaecb6896f3c352d93904d6ff7b5880b1 Mon Sep 17 00:00:00 2001 From: Brandy Smith <6577830+brandyscarney@users.noreply.github.com> Date: Thu, 5 Jun 2025 12:50:44 -0400 Subject: [PATCH] test(select): fix duplicated tests --- .../select/test/color/select.e2e.ts | 17 +------- .../select/test/highlight/select.e2e.ts | 42 ------------------- 2 files changed, 1 insertion(+), 58 deletions(-) diff --git a/core/src/components/select/test/color/select.e2e.ts b/core/src/components/select/test/color/select.e2e.ts index f01561594d..0342cdd207 100644 --- a/core/src/components/select/test/color/select.e2e.ts +++ b/core/src/components/select/test/color/select.e2e.ts @@ -7,7 +7,7 @@ configs({ modes: ['md', 'ionic-md'], directions: ['ltr'] }).forEach(({ title, sc test('should set label and highlight color on expand', async ({ page }) => { await page.setContent( ` - + Apple `, @@ -53,20 +53,5 @@ configs({ modes: ['md'], directions: ['ltr'] }).forEach(({ title, screenshot, co await expect(select).toHaveScreenshot(screenshot(`select-solid-color`)); }); }); - test.describe('input: fill outline', () => { - test('should set label and highlight color on expand', async ({ page }) => { - await page.setContent( - ` - - Apple - - `, - config - ); - - const select = page.locator('ion-select'); - await expect(select).toHaveScreenshot(screenshot(`select-outline-color`)); - }); - }); }); }); diff --git a/core/src/components/select/test/highlight/select.e2e.ts b/core/src/components/select/test/highlight/select.e2e.ts index c70fafa8cf..a3ff777ac6 100644 --- a/core/src/components/select/test/highlight/select.e2e.ts +++ b/core/src/components/select/test/highlight/select.e2e.ts @@ -268,48 +268,6 @@ configs({ modes: ['md'], directions: ['ltr'] }).forEach(({ title, screenshot, co }); }); }); - - test.describe(title('select: expanded highlight'), () => { - test.describe('select: no fill', () => { - test('should render bottom highlight', async ({ page }) => { - await page.setContent( - ` - - `, - config - ); - - const select = page.locator('ion-select'); - await expect(select).toHaveScreenshot(screenshot(`select-no-fill-highlight`)); - }); - }); - test.describe('select: solid', () => { - test('should render bottom highlight', async ({ page }) => { - await page.setContent( - ` - - `, - config - ); - - const select = page.locator('ion-select'); - await expect(select).toHaveScreenshot(screenshot(`select-solid-highlight`)); - }); - }); - test.describe('select: outline', () => { - test('should render bottom highlight', async ({ page }) => { - await page.setContent( - ` - - `, - config - ); - - const select = page.locator('ion-select'); - await expect(select).toHaveScreenshot(screenshot(`select-outline-highlight`)); - }); - }); - }); }); configs({ modes: ['md', 'ionic-md'], directions: ['ltr'] }).forEach(({ title, screenshot, config }) => {