Current behavior:
When cypress is runned using cypress open --config-file ~/config.json a folder is created under the project tree with the path path/to/home/config.json instead of looking into the existing file at home folder.
Desired behavior:
The desired behavior would be for the cypress to find the config file at the home folder and use it.
Test code to reproduce
Steps:
1 - Setup a sample project with cypress;
2 - Create a config file at home named for example cypress.json;
3 - Create a npm script to run the command with `cypress open --config-file ~/cypress.json;
4 - Run the script;
5 - A new folder should be created under the project folder with a empty cypress.json configuration inside it;
Versions
cypress: 3.8.1
npm: 6.13.4
OS: Ubuntu 18.04.3 LTS
Current behavior:
When cypress is runned using
cypress open --config-file ~/config.jsona folder is created under the project tree with the pathpath/to/home/config.jsoninstead of looking into the existing file at home folder.Desired behavior:
The desired behavior would be for the cypress to find the config file at the home folder and use it.
Test code to reproduce
Steps:
1 - Setup a sample project with cypress;
2 - Create a config file at home named for example cypress.json;
3 - Create a npm script to run the command with `cypress open --config-file ~/cypress.json;
4 - Run the script;
5 - A new folder should be created under the project folder with a empty cypress.json configuration inside it;
Versions
cypress: 3.8.1
npm: 6.13.4
OS: Ubuntu 18.04.3 LTS