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

This commit is contained in:
Max Schmitt 2021-09-07 19:42:14 +02:00
parent 3739113e74
commit 913fb29353

View File

@ -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) => {