diff --git a/frontend/puppeteer/e2e/utils.ts b/frontend/puppeteer/e2e/utils.ts index d96911058d..7a5feacec6 100644 --- a/frontend/puppeteer/e2e/utils.ts +++ b/frontend/puppeteer/e2e/utils.ts @@ -9,13 +9,14 @@ export function listenToConsole(page: Page, index: number) { if (messageType === 'ERR') { console.log(message.args(), message.stackTrace()) + console.log(JSON.stringify(message)) if (message.text().includes('/sse')) { // If the SSE connection fails, the browser will restart it, it is not an application error return } - if (message.text().includes('/wfs')) { - // If the SSE connection fails, the browser will restart it, it is not an application error + if (message.text().includes('/wfs') || message.text().includes('areas')) { + // Do not throw an error when the app could not load a layer return }