From c84ed8eba8d1d07dca2b4f7465e246f217703e3f Mon Sep 17 00:00:00 2001 From: larisaVasile Date: Wed, 12 Jun 2024 13:03:15 +0300 Subject: [PATCH] fix e2e --- core/apps/ame-e2e/src/support/index.ts | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/core/apps/ame-e2e/src/support/index.ts b/core/apps/ame-e2e/src/support/index.ts index 770b7b12..8ba38b7d 100644 --- a/core/apps/ame-e2e/src/support/index.ts +++ b/core/apps/ame-e2e/src/support/index.ts @@ -38,3 +38,8 @@ before(function before() { // Do not truncate assertion outputs of arrays and objects (window).chai.config.truncateThreshold = 0; }); + +Cypress.on('uncaught:exception', (err, runnable) => { + // returning false here prevents Cypress from failing the test + return false; +}); \ No newline at end of file