diff --git a/cvat-ui/src/components/labels-editor/label-form.tsx b/cvat-ui/src/components/labels-editor/label-form.tsx index 62633206..257dba6b 100644 --- a/cvat-ui/src/components/labels-editor/label-form.tsx +++ b/cvat-ui/src/components/labels-editor/label-form.tsx @@ -201,8 +201,8 @@ export default class LabelForm extends React.Component { diff --git a/tests/cypress/support/index.js b/tests/cypress/support/index.js index c0adf6df..e6cec5b0 100644 --- a/tests/cypress/support/index.js +++ b/tests/cypress/support/index.js @@ -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; + } +});