Fixed a couple of tests

main
Boris Sekachev 5 years ago
parent df76d21d51
commit 91162ecaab

@ -15,3 +15,11 @@ before(() => {
}); });
} }
}); });
const resizeObserverLoopErrRe = /^ResizeObserver loop limit exceeded/;
Cypress.on('uncaught:exception', (err) => {
if (resizeObserverLoopErrRe.test(err.message)) {
// the exception is generated by cypress in some browsers
return false;
}
});

Loading…
Cancel
Save