Where is the Cypress config file in Frappe?

Got the following error when running bench run-ui-tests frappe

Cypress could not verify that this server is running:

  > http://mysite.local:8000

We are verifying this server because it has been configured as your `baseUrl`.

http://mysite.local:8000 is not the correct baseUrl, but where is the Cypress configuration located in frappe?

Nothing in frappe-bench/apps/frappe/package.json
Changed the ‘baseUrl’ in frappe-bench/apps/frappe/cypress.json but it doesn’t do anything
Can’t use yarn run cypress open to view Cypress GUI because the server is headless

Edit: found the actual code for bench commands

Is there a bench arg that I can use to configure site url?

Thanks in advance for your help!

Maybe a bench --site mysite.local add-to-hosts does the trick?

1 Like

It works! Thanks so much!