-
| I use the following command to run Cypress tests: My tests fail with this error: Which is strange because those test work fine when I run them without Docker (with  I wonder why  Any ideas? For context: I'm trying to run tests as part of a Jenkins pipelines which also have this issue. Thanks | 
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
| I found how to solve my problem.  | 
Beta Was this translation helpful? Give feedback.
I found how to solve my problem.
In
./cypress/support/index.js, I can see there'sCypress.config('baseUrl', Cypress.env('HOST'));.By setting my environment variable to the host I'm targeting, it works fine now: