DEV Community

Discussion on: How to change the baseUrl via command line with Cypress

Collapse
 
sheenavanpunk profile image
SheenaVanPunk

Useful tip!
Does the same logic work for any parameter from cypress.json file? For example, I have a mailhog url that I would need to alter in different environments.
--config parameter_name

Collapse
 
walmyrlimaesilv profile image
Walmyr • Edited

Hi, @sheenavanpunk ,
I know you can change other configurations via the command line too. I'd recommend giving it a try.