Cypress error Uncaught exception from application under test
The app under test threw an unhandled JS error, and Cypress fails the test by default when that happens.
Why this happens
- A real bug in the application under test
- Noise from an unrelated third-party script that Cypress still counts against the test
How to fix it
- If it's a real app bug, fix it. Cypress caught something worth catching
- If it's known, unrelated noise, ignore it as narrowly as possible: `Cypress.on('uncaught:exception', () => false)`, scoped to that one test rather than globally