Reputation: 23
cypress run --env host=kevin.dev.local,api_server=http://localhost:8888/api/v1
host=kevin.dev.local
api_server=http://localhost:8888/api/v1
host=kevin.dev.local http://localhost:8888/api/v1
Pls support to get this resolved.
Upvotes: 1
Views: 590
Reputation: 8322
You shell might interpret some of the characters before passing them to Cypress.
When I run in Powershell the following command:
> cypress open --env a=1,b=2
I'll end up in the same situation like described.
When I run:
> cypress open --env "a=1,b=2"
It will correctly set two env variables a
and b
with correct values.
So, try using double quotes.
Upvotes: 1