未验证 提交 46319962 编写于 作者: D Dmitry Kruchinin 提交者: GitHub

Fix uncaught:exception for Firefox (#3356)

上级 1a86efe6
......@@ -17,7 +17,9 @@ before(() => {
cy.closeModalUnsupportedPlatform();
});
const resizeObserverLoopErr = 'ResizeObserver loop limit exceeded';
// Chrome: ResizeObserver loop limit exceeded
// Firefox: ResizeObserver loop completed with undelivered notifications
const resizeObserverLoopErr = 'ResizeObserver loop';
Cypress.on('uncaught:exception', (err) => {
// the exception is generated by cypress in some browsers
if (err.message.includes(resizeObserverLoopErr)) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册