cypress: Getting tough to debug error:
Here’s a screenshot of the error I’m getting with cypress.

There’s not much info in the stack trace and searching for _jp.av0adc2("o"); isn’t helpful. Can someone offer some pointers for how to get a more understandable error? Thank you!
Thanks!
About this issue
- Original URL
- State: closed
- Created 6 years ago
- Reactions: 1
- Comments: 18 (15 by maintainers)
Commits related to this issue
- Fix odd cypress webpack-dev-server hmr clash https://github.com/cypress-io/cypress/issues/2823#issuecomment-520010446 — committed to RoundingWell/care-ops-frontend by paulfalgout 5 years ago
I ran into this issue all of the sudden… Tests passed yesterday. Today rerunning CI on the same branch and they fail consistently with the webpack-dev-server error. While I don’t know why it’s happening I have a solution for anyone stumbling upon this. The solution above to swallow the xhr requests doesn’t work if the error happens outside of the test run (like in
beforeEachorafterEach) but there should really be a reason to be running hmr for tests which is what is causing the issue. The easiest way to fix this if you can is to use--inline falsewith the server https://webpack.js.org/configuration/dev-server/#devserverinline