I can't manage to open cypress in my windows machine (this is the CI environment) when I pass --config:
npx cypress open
cypress opens just fine;npx cypress open --config baseUrl=https://...
then nothing appears and the command terminates without printing anything in the terminal.In the second case, echo %errorlevel%
prints 0.
I can reproduce the problem with cypress run
: passing a --config baseUrl=...
parameter breaks it.
I'm using cypress package and binary 3.6.0. cypress verify
is happy.
This regression was introduced in 3.5.0 which came bundled with new Electron, where the underlying issue seems to be this Electron PR: electron/electron#13039 (h/t Jennifer Sheane), which is fixing a security issue and is unlikely to be reverted/handled differently any time soon.
It was tracked in the Cypress GitHub bug cypress shows error in Windows when passing args containing a url in 3.5.0 #5466.
The regression is fixed in Cypress 3.8.0 (ref: a comment by Robert DROP TABLE STUDENTS).