TYPE ERROR - > Cannot destructure property 'prevSubject' of 'options' as it is undefined. #28486
Unanswered
Louisrivera5
asked this question in
Questions and Help
Replies: 2 comments 1 reply
-
Can you share the code that is throwing these errors? Can you share more about this statement as well?
|
Beta Was this translation helpful? Give feedback.
1 reply
-
This is such a silly mistake on my part, but in case it helps anyone else -- I had an extra line -- Cypress.Commands.add() -- in my code (in commands,js). Deleting that solved this issue for me. Good luck on your own situations! |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
The following error originated from your test code, not from Cypress.
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.
Im getting this in every spec file. I already downgrade my cypress version and it is still doing the same thing, I even write a simple test but it still produce the same error.
I hope you can help me.
Beta Was this translation helpful? Give feedback.
All reactions