TypError running spec: unhandled promise rejection #27388
Unanswered
plweil
asked this question in
Questions and Help
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
All of my tests ran fine under Cypress 8 and 9. Now I try to run a test with v10.10 on one super-simple spec and I get this cryptic error, the like of which I have never seen before from Cypress
The following error originated from your test code, not from Cypress. It was caused by an unhandled promise rejection.
> h2 is null
When Cypress detects uncaught errors originating from your test code it will automatically fail the current test.
Cypress could not associate this error to any specific test.
We dynamically generated a new test to display this failure.
It then provides a stacktrace (below) that is of no help. I can't find any tests containing 'h2'.
The current test is this:
How I track this this down?
Beta Was this translation helpful? Give feedback.
All reactions