cypress: Getting tough to debug error:

Here’s a screenshot of the error I’m getting with cypress.

image

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

Most upvoted comments

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 beforeEach or afterEach) 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 false with the server https://webpack.js.org/configuration/dev-server/#devserverinline