diff --git a/test/browser-tests.js b/test/browser-tests.js index ccc78445..632c6cd3 100644 --- a/test/browser-tests.js +++ b/test/browser-tests.js @@ -29,7 +29,16 @@ test.beforeEach(async (t) => { // Ensure we get 200 responses from the server t.context.page.on('response', (response) => { + const url = response.url(); + if (url.endsWith("/favicon.ico")) { + // We don't care about favicons in tests + return; + } + if (response) { + if (response.status() !== 200) { + console.error(`Non-200 response: (${response.status()}) ${url}`); + } t.deepEqual(response.status(), 200); } });