What can cause spec to crash without any messaging? #25402
Unanswered
An-dy1
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.
-
I'm trying to get started writing Cypress tests for an app at work and am hitting a stumbling block trying to log in. Basically, as soon as I click the log in button and it should direct from the login page to the app page, the test crashes and returns me to the Cypress app.
Here is a sanitized version of the code I'm running:
What could cause the spec file to simply crash while running? At first I thought it might be a cross-browser issue, but as you can see, the login page and app page are at the same domain. I did try running with
cypress.origin
and Cypress says basically, "You don't need to do that."I tried running with debug and there were no major issues or errors that I could find. And because there isn't anything displaying in the console or in the Cypress app, I'm unsure how to narrow down logs to where they might be most useful.
This happens with both Chrome and Electron.
Cypress: 12.3
Chrome: 108
Node: 14.19.0
Beta Was this translation helpful? Give feedback.
All reactions