Fix browser tests for Radix migration (#20783)
DES-696 We upgraded the AdminX Design System to use Radix UI components. However browser tests fail for checkboxes at the moment which must be fixed for release.
This commit is contained in:
parent
1e3edc0b5a
commit
d66a0e3991
@ -147,7 +147,7 @@ test.describe('Admin', () => {
|
||||
|
||||
const portalSettings = sharedPage.getByTestId('portal-modal');
|
||||
|
||||
await portalSettings.locator('input[type=checkbox]').first().waitFor();
|
||||
await portalSettings.locator('button[role="checkbox"]').first().waitFor();
|
||||
|
||||
await expect(portalSettings.getByLabel(tierName).first()).toBeHidden();
|
||||
|
||||
@ -172,7 +172,7 @@ test.describe('Admin', () => {
|
||||
|
||||
const portalSettings = sharedPage.getByTestId('portal-modal');
|
||||
|
||||
await portalSettings.locator('input[type=checkbox]').first().waitFor();
|
||||
await portalSettings.locator('button[role="checkbox"]').first().waitFor();
|
||||
|
||||
await expect(portalSettings.getByLabel(tierName).first()).toBeVisible();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user