diff --git a/core/src/components/input/test/label-placement/input.e2e.ts b/core/src/components/input/test/label-placement/input.e2e.ts index 1baec035c0..807afc6e77 100644 --- a/core/src/components/input/test/label-placement/input.e2e.ts +++ b/core/src/components/input/test/label-placement/input.e2e.ts @@ -231,6 +231,7 @@ configs({ modes: ['md'], directions: ['ltr'] }).forEach(({ title, screenshot, co await expect(input).toHaveScreenshot(screenshot(`input-label-layering`)); }); }); + test.describe(title('input: floating label custom font size'), () => { test('large label should be centered when field is not focused', async ({ page }, testInfo) => { testInfo.annotations.push({ diff --git a/core/src/components/select/test/label/select.e2e.ts b/core/src/components/select/test/label/select.e2e.ts index 992e50bac4..cad44bb158 100644 --- a/core/src/components/select/test/label/select.e2e.ts +++ b/core/src/components/select/test/label/select.e2e.ts @@ -284,7 +284,32 @@ configs({ modes: ['md'], directions: ['ltr'] }).forEach(({ title, screenshot, co await expect(select).toHaveScreenshot(screenshot(`select-label-slot-truncate`)); }); }); + + test.describe(title('select: floating label custom font size'), () => { + test('large label should be centered when field is not focused', async ({ page }, testInfo) => { + testInfo.annotations.push({ + type: 'issue', + description: 'https://github.com/ionic-team/ionic-framework/issues/27194', + }); + await page.setContent( + ` + + `, + config + ); + + const input = page.locator('ion-select'); + + await expect(input).toHaveScreenshot(screenshot('select-label-large-floating')); + }); + }); }); + configs({ modes: ['ios'], directions: ['ltr'] }).forEach(({ title, config }) => { test.describe(title('select: alert label'), () => { test('should use the label prop to set the default header in an alert', async ({ page }) => {