Skip to content

Commit

Permalink
chore: fixed tests for Proceed anyway
Browse files Browse the repository at this point in the history
  • Loading branch information
AugmentedMode committed Oct 16, 2024
1 parent 4e706a8 commit 9309c2e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/iframe.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ test('does not allow the user to bypass the warning', async ({ page }) => {
const iframe = await page.frameLocator('#embedded-warning');
await expect(await iframe.getByRole('button').count()).toBe(0);
await expect(
await iframe.getByRole('link', { name: 'continue to the site' }).count(),
await iframe.getByRole('link', { name: 'Proceed anyway' }).count(),
).toBe(0);
});

Expand Down

0 comments on commit 9309c2e

Please sign in to comment.