diff options
Diffstat (limited to 'src/pybind/mgr/dashboard/frontend/cypress/support/index.ts')
-rw-r--r-- | src/pybind/mgr/dashboard/frontend/cypress/support/index.ts | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/pybind/mgr/dashboard/frontend/cypress/support/index.ts b/src/pybind/mgr/dashboard/frontend/cypress/support/index.ts new file mode 100644 index 000000000..f2307131a --- /dev/null +++ b/src/pybind/mgr/dashboard/frontend/cypress/support/index.ts @@ -0,0 +1,11 @@ +import '@applitools/eyes-cypress/commands'; + +import './commands'; + +afterEach(() => { + cy.visit('#/403'); +}); + +Cypress.on('uncaught:exception', (err: Error) => { + return !err.message.includes('ResizeObserver loop limit exceeded'); +}); |