mirror of
https://seed.radicle.dev/rad:z4D5UCArafTzTQpDZNQRuqswh3ury.git
synced 2026-10-18 19:10:45 +08:00
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:
@@ -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}`,
|
||||
|
||||
Reference in New Issue
Block a user