Skip to content

Commit eb42793

Browse files
committed
test(radio-group): update e2e test to verify correct element
1 parent c222328 commit eb42793

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

core/src/components/radio-group/test/supporting-text/radio-group.e2e.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import { configs, test } from '@utils/test/playwright';
66
*/
77
configs({ modes: ['ios'], directions: ['ltr'] }).forEach(({ title, config }) => {
88
test.describe(title('radio group: supporting text functionality'), () => {
9-
test('should not render bottom content if no hint is enabled', async ({ page }) => {
9+
test('should not render top content if no hint is enabled', async ({ page }) => {
1010
await page.setContent(
1111
`
1212
<ion-radio-group value="1">
@@ -18,7 +18,7 @@ configs({ modes: ['ios'], directions: ['ltr'] }).forEach(({ title, config }) =>
1818
config
1919
);
2020

21-
const bottomEl = page.locator('ion-radio-group .radio-bottom');
21+
const bottomEl = page.locator('ion-radio-group .radio-group-top');
2222
await expect(bottomEl).toHaveCount(0);
2323
});
2424
test('helper text should be visible initially', async ({ page }) => {

0 commit comments

Comments
 (0)