https://cypress.io logo
<@877282764624375880> OK, calm down! the question ...
# e2e-testing
h
@melodic-ocean-83158 OK, calm down! the question is if using this implementation in the cypress.env.json file { "user": {}, "environment": "prod", "userProd" : { "username": "username", "password": "XXXXXXX" }, "userDev": { "username": "username", "password": "DEVpass" }, "userQA": { "username": "username", "password": "QApass$" } } then in the spec file where I have the conditions I'm just asking for the environment === "Prod". Then what would happen to the other environments? if (Cypress.env('enviroment') === "prod") { Cypress.env('user', Cypress.env('userProd')) } else { Cypress.env('user', Cypress.env('userDev')) }