diff --git a/tests/e2e/project.spec.ts b/tests/e2e/project.spec.ts index 2dc1b6ade..d1af45cf6 100644 --- a/tests/e2e/project.spec.ts +++ b/tests/e2e/project.spec.ts @@ -480,7 +480,7 @@ test.describe("browser error handling", () => { }); test("external markdown link", async ({ context, page }) => { - await page.route("https://example.com/**", route => { + await context.route("https://example.com/**", route => { return route.fulfill({ body: "hello", contentType: "text/plain" }); }); await page.goto(`${markdownUrl}/tree/main/footnotes.md`);