https://cypress.io logo
Cypress is not getting env variables from a docker...
# e2e-testing
p
Cypress is not getting env variables from a docker container I have this in my test file:
Copy code
cy.login({
              username: Cypress.env('CYPRESS_USERNAME'),
              password: Cypress.env('CYPRESS_PASSWORD'),
            })
docker-compose:
Copy code
environment:
      <<: *x-environment
      CYPRESS_USERNAME: 
      CYPRESS_PASSWORD:
It passes locally in the Cypress app but when I run it on Circle CI in a container Cypress is not getting the values from the environment variables set in the project