You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It seems like the cypress runner uses http://localhost:8888 as the default base_url. What is the best way to set this variable globally so all tests for a site use a custom one? In non-Drupal projects I'd just put this in the cypress.json file, but the only cypress.json file I see is in the drupal-cypress-environment directory, which is git ignored and seems to get rebuilt with every test run.
I've been able to set a custom base url by running export CYPRESS_BASE_URL=http://local.mysiteimtesting.com && drush cypress:run but I'd prefer not to have to pass in env variables this way.
I appreciate any help with this, and thanks for making this integration module for Drupal.
The text was updated successfully, but these errors were encountered:
It seems like the cypress runner uses
http://localhost:8888
as the defaultbase_url
. What is the best way to set this variable globally so all tests for a site use a custom one? In non-Drupal projects I'd just put this in thecypress.json
file, but the onlycypress.json
file I see is in thedrupal-cypress-environment
directory, which is git ignored and seems to get rebuilt with every test run.I've been able to set a custom base url by running
export CYPRESS_BASE_URL=http://local.mysiteimtesting.com && drush cypress:run
but I'd prefer not to have to pass in env variables this way.I appreciate any help with this, and thanks for making this integration module for Drupal.
The text was updated successfully, but these errors were encountered: