diff --git a/core/src/components/radio-group/test/supporting-text/radio-group.e2e.ts b/core/src/components/radio-group/test/supporting-text/radio-group.e2e.ts index 171d850712..e33d0a3546 100644 --- a/core/src/components/radio-group/test/supporting-text/radio-group.e2e.ts +++ b/core/src/components/radio-group/test/supporting-text/radio-group.e2e.ts @@ -6,7 +6,7 @@ import { configs, test } from '@utils/test/playwright'; */ configs({ modes: ['ios'], directions: ['ltr'] }).forEach(({ title, config }) => { test.describe(title('radio group: supporting text functionality'), () => { - test('should not render bottom content if no hint is enabled', async ({ page }) => { + test('should not render top content if no hint is enabled', async ({ page }) => { await page.setContent( ` @@ -18,7 +18,7 @@ configs({ modes: ['ios'], directions: ['ltr'] }).forEach(({ title, config }) => config ); - const bottomEl = page.locator('ion-radio-group .radio-bottom'); + const bottomEl = page.locator('ion-radio-group .radio-group-top'); await expect(bottomEl).toHaveCount(0); }); test('helper text should be visible initially', async ({ page }) => {