Agent Configuration
Changing cypress agent configuration
You can easily set cypress API server URL by using NPMcy2 package. Read more.
Find cypress installation path
DEBUG=cypress:* cypress version
# here it is
cypress:cli Reading binary package.json from: /Users/john/Library/Caches/Cypress/3.4.1/ +0ms
In my case it is: /Users/john/Library/Caches/Cypress/6.3.0/
Change the default dashboard URL - use the director service URL
$ cat /Users/john/Library/Caches/Cypress/3.4.1/
# Replace this with a URL of the alternative dashboard
# api_url: ""
api_url: "http://localhost:1234/"
Make sure to change the configuration on every machine that runs cypress test in your CI environment
Copy link
Edit on GitHub