mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-01-27 22:49:56 -05:00
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
1 changed files with 2 additions and 2 deletions
|
@ -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…
Add table
Reference in a new issue