mirror of
https://github.com/microsoft/playwright.git
synced 2025-06-26 21:40:17 +00:00
test: fix 'should filter favicon and favicon redirects' in har.spec.ts
This commit is contained in:
parent
3739113e74
commit
913fb29353
@ -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) => {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user