How can you read values from the configuration file?
Hello Alex-walker,
We can read the values of cypress.config file through Cypress.config();
For instance, if we have managed to define the env in the config.json file, such as:
{“env”: stage}
The same can be accessed in the script, such as:
let timeout = Cypress.config(‘env’)