diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index b8595fbaf7800f4e558a1de93631e0e4e2a4ed77..87cdf6b8a2049980d4f88b761b96cd9a6576c8a2 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -23,6 +23,7 @@ include: - Chart.yaml - .gitlab-ci.yml - cypress.config.js + - cypress/**/* stages: - lint-helm-chart diff --git a/CHANGELOG.md b/CHANGELOG.md index 4e00e8830b5558baf859a4990af83a7e4730deb7..05eff933e45f50444294f544b5a81a6a0f51f5dd 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,9 @@ # Changelog +## [0.15.3] - 2022-11-09 + +* Do not fail cypress tests on uncaught javascript exception. + ## [0.15.2] - 2022-10-27 * Allow quotes in commit message for cypress. diff --git a/cypress/support/e2e.js b/cypress/support/e2e.js index 9090cbde8f8f4e10f46d20ab5d831a0f36b2556d..af59c2925fcfb20c3c34d1bf638be633254c5ebb 100644 --- a/cypress/support/e2e.js +++ b/cypress/support/e2e.js @@ -18,3 +18,8 @@ // Alternatively you can use CommonJS syntax: // require('./commands') + +Cypress.on('uncaught:exception', (err, runnable) => { + // Do not fail the test. + return false +})