-
Notifications
You must be signed in to change notification settings - Fork 3.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changing the baseUrl value in cypress.config.js will not take effect until restarting cypress #22056
Comments
@Ibrahim-Krasniqi Thanks for reporting, we'll investigate this. This is not the desired behavior. |
The code for this is done in cypress-io/cypress#22154, but has yet to be released. |
Released in This comment thread has been locked. If you are still experiencing this issue after upgrading to |
Current behavior
when changing the value of
baseUrl
incypress.config.js
both the cypress window as well as the cypress controlled instance of the browser reload giving the impression that the changes to configuration are taking effect, this is not the case howeverNote: I did not test all values that can be altered in
cypress.config.js
however at least withviewportWidth
andviewportHeight
, altering them and saving does not require a restart of cypress for them to take effect.Desired behavior
No response
Test code to reproduce
create cypress.config.js with the following code:
cypress open
in terminalchange the contents of cypress.config.js to the following while cypress is running:
you will notice that even though the page reloads the test still go to the first url
Cypress Version
v10.0.1
Other
No response
The text was updated successfully, but these errors were encountered: