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!

I am still getting the error by adding bench --site 10.105.0.26 add-to-hosts. Am I doing it wrong?

Your error is not related to the original question of this post. Please start a new topic so more people can help you.

Looking at the details of your error message, it seems like something to do with libgconf-2.so.4