diff --git a/cypress/e2e/automated/frontend-tests.cy.js b/cypress/e2e/automated/frontend-tests.cy.js index 914a55b..71e871b 100644 --- a/cypress/e2e/automated/frontend-tests.cy.js +++ b/cypress/e2e/automated/frontend-tests.cy.js @@ -99,3 +99,7 @@ describe('Visit urls on front end and ensure elements exist', () => { }) }) +Cypress.on('uncaught:exception', (err, runnable) => { + let messageArray = [err, runnable]; + return false; +}) \ No newline at end of file