From eb427931bd06862cbb8e8a700afc7708d5121e11 Mon Sep 17 00:00:00 2001 From: Brandy Smith <6577830+brandyscarney@users.noreply.github.com> Date: Wed, 5 Mar 2025 09:22:54 -0500 Subject: [PATCH] test(radio-group): update e2e test to verify correct element --- .../radio-group/test/supporting-text/radio-group.e2e.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 }) => {