diff --git a/ghost/core/test/e2e-browser/admin/tiers.spec.js b/ghost/core/test/e2e-browser/admin/tiers.spec.js index 28b71c8d06..389e94257c 100644 --- a/ghost/core/test/e2e-browser/admin/tiers.spec.js +++ b/ghost/core/test/e2e-browser/admin/tiers.spec.js @@ -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();