uncaught:exception
event causing E2E failures on STY and MAPs
#9465
Labels
bug
Something isn't working
cross-team
For visibility for both World Service teams (Engage & Media)
cypress
Cypress changes are required
The E2Es are now failing due to uncaught exceptions, since 14:55 on Tuesday 28th September. The error is
'TypeError: The following error originated from your application code, not from Cypress. It was caused by an unhandled promise rejection.'
I cannot replicate this running the tests on my computer. I cannot see any console errors.
It is likely to be related to the PR removing the code in this change https://github.com/bbc/simorgh/pull/9457/files
Do we want to put the code back to handle the exception, or fix the source of the exception?
Here are some screenshots of the slightly different error messages on different pages:
simorgh-cd, TestEnvironment, MAP
live-simorgh-e2e-scheduled, Story Page, AMP
live-simorgh-e2e-scheduled, MAP
test-simorgh-e2e-scheduled, MAP
I have included some of the test failures after the exception test failure as it shows that whatever is happening is also affecting the check for iframes etc
The text was updated successfully, but these errors were encountered: