diff --git a/ui.tests/test-module/package.json b/ui.tests/test-module/package.json index 9dac69115a..c0d958b1c8 100644 --- a/ui.tests/test-module/package.json +++ b/ui.tests/test-module/package.json @@ -14,8 +14,8 @@ "devDependencies": { "@cypress/code-coverage": "^3.8.0", "async": "^3.2.2", - "cypress": "^9.6.1", - "cypress-image-diff-js": "^1.31.0", + "cypress": "^7.7.0", + "cypress-image-diff-js": "^1.10.3", "cypress-circleci-reporter": "0.2.0", "cypress-file-upload": "^5.0.8", "cypress-iframe": "1.0.1", diff --git a/ui.tests/test-module/specs/formComponentsThemValidation.runtime.spec.js b/ui.tests/test-module/specs/formComponentsThemValidation.runtime.spec.js index 2b9e127940..7d4cd37c12 100644 --- a/ui.tests/test-module/specs/formComponentsThemValidation.runtime.spec.js +++ b/ui.tests/test-module/specs/formComponentsThemValidation.runtime.spec.js @@ -1,5 +1,11 @@ describe('Components - Authoring', function () { + Cypress.on('uncaught:exception', (err, runnable) => { + // returning false here prevents Cypress from + // failing the test + return false + }) + const pagePath = "content/forms/af/core-components-it/samples/v2-components.html"; /**