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
  
        
    
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I am running into the notorious
localhostproblem. Mydocker-compose.yml(trimmed) looks like this:and this is my
cypress.jsonfileThe
websiteis already up and running hours before I start thecypresscontainer and if I visit the addresshttp://localhost:8000/homeI get the homepage being displayed.My
cypress/integration/spec.jsis this oneIf I change my
baseUrlinside 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