From 805d3072924afca3968b01e2c955944099596e66 Mon Sep 17 00:00:00 2001 From: Simon Knott Date: Tue, 28 Jan 2025 17:19:24 +0100 Subject: [PATCH] update frame assertion --- tests/playwright-test/playwright.mockingproxy.spec.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/playwright-test/playwright.mockingproxy.spec.ts b/tests/playwright-test/playwright.mockingproxy.spec.ts index 37f96984f4..9389218281 100644 --- a/tests/playwright-test/playwright.mockingproxy.spec.ts +++ b/tests/playwright-test/playwright.mockingproxy.spec.ts @@ -110,7 +110,7 @@ test('all properties are populated', async ({ runInlineTest, server, request }) expect(await response.finished()).toBe(null); expect(request.serviceWorker()).toBe(null); - expect(request.frame()).not.toBe(null); + expect(request.frame()).toBe(null); // we know the page, but not the frame expect(request.failure()).toBe(null); expect(request.isNavigationRequest()).toBe(false);