Ignore ResizeObserver loop notices in e2e tests

WebKit reports them as page errors, but they only mean some resize
notifications waited for the next frame.
This commit is contained in:
Rūdolfs Ošiņš
2026-10-01 18:20:25 +02:00
parent 088b13af48
commit e74fc654f1
+4
View File
@@ -65,6 +65,10 @@ export const test = base.extend<{
if (reloading.has(page) && isCancelledFetch(msg)) {
return;
}
// Only says some resize notifications waited for the next frame.
if (msg.message.startsWith("ResizeObserver loop")) {
return;
}
expect(
false,
`Test failed because there was a console error in the app: ${msg}`,