From 9309c2e19e4b6450b260eda28944493cdd0c3664 Mon Sep 17 00:00:00 2001 From: augmentedmode Date: Wed, 16 Oct 2024 00:59:03 -0400 Subject: [PATCH] chore: fixed tests for Proceed anyway --- tests/iframe.spec.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/iframe.spec.ts b/tests/iframe.spec.ts index 03f0ca9..940524e 100644 --- a/tests/iframe.spec.ts +++ b/tests/iframe.spec.ts @@ -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); });