cypress e2e cy.request() failed trying to load http://localhost:9001/ Error: socket hang up #25734
Unanswered
pmatsibekker
asked this question in
Component Testing
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I am able to open electron browser directly to my webpack dev server ui on port 9001 but cypress is failing on
cy.request('http://localhost:9001/',{timeout:10000})
Seems like it doesn't wait the 10 seconds and just fails close to immediately.
I am able to run to other hosts and even connect to other rest controller ports on localhost...just seems to be issue with webpack dev server connect.
Beta Was this translation helpful? Give feedback.
All reactions