diff --git a/client/cypress/support/commands.ts b/client/cypress/support/commands.ts index a8a7daa5..373981df 100644 --- a/client/cypress/support/commands.ts +++ b/client/cypress/support/commands.ts @@ -71,6 +71,10 @@ Cypress.Commands.add( } ) +/* + * This is needed to prevent Cypress from failing the test if uncaught exceptions are found, i.e. + * uncaught HTTP errors from API calls + */ Cypress.on('uncaught:exception', () => { return false })