Replies: 1 comment
-
From inside your cypress container, shouldn't you target http://server:8000 rather than http://localhost:8000 ? |
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
-
I am running into the notorious
localhost
problem. Mydocker-compose.yml
(trimmed) looks like this:and this is my
cypress.json
fileThe
website
is already up and running hours before I start thecypress
container and if I visit the addresshttp://localhost:8000/home
I get the homepage being displayed.My
cypress/integration/spec.js
is this oneIf I change my
baseUrl
inside the .json config file tohttp://localhost:8000
, cypress container won't even bootstrap the test, returning the following error.I have tens of blog article/StackOverflow answers and everyone seems to propose a different solution and no one works.
Does anybody has an ultimate, stable solution to this problem?
Is it to difficult to document the containerized approach once for all?
Beta Was this translation helpful? Give feedback.
All reactions