Skip to content

Playwright is a framework for Web Testing and Automation. It allows testing Chromium, Firefox and WebKit with a single API.

test: fix 'should filter favicon and favicon redirects' in har.spec.ts

Max Schmitt913fb2935307
diff --git a/tests/har.spec.ts b/tests/har.spec.ts
index 5b8c8bc9e3..8a9dd45ba2 100644
--- a/tests/har.spec.ts
+++ b/tests/har.spec.ts
@@ -520,7 +520,7 @@ it('should filter favicon and favicon redirects', async ({server, browserName, c
// Browsers aggresively cache favicons, so force bust with the
// `d` parameter to make iterating on this test more predictable and isolated.
- const favicon = `/favicon.ico`;
+ const favicon = `/no-cache-2/favicon.ico`;
const hashedFaviconUrl = `/favicon-hashed.ico`;
server.setRedirect(favicon, hashedFaviconUrl);
server.setRoute(hashedFaviconUrl, (req, res) => {