mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-20 04:14:21 +08:00
test(radio-group): await toHaveClass assertion (#26490)
This commit is contained in:
@ -105,8 +105,8 @@ test.describe('radio-group: interaction', () => {
|
|||||||
|
|
||||||
await page.waitForChanges();
|
await page.waitForChanges();
|
||||||
|
|
||||||
expect(radioOne).not.toHaveClass(/radio-checked/);
|
await expect(radioOne).not.toHaveClass(/radio-checked/);
|
||||||
expect(radioTwo).toHaveClass(/radio-checked/);
|
await expect(radioTwo).toHaveClass(/radio-checked/);
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user