Skip to content

CLI (env) options not correctly parsed #27176

Closed
@jdvegmond

Description

@jdvegmond

Current behavior

When running the following command
npx cypress open --env cyuser=dummyUser,cypassword=dummyPassword
When I open the project settings I see the following: cyuser: 'dummyUser cypassword=dummyPassword', and is highlighted in yellow instead of pink/red. The property 'cypassword' does not exist.

afbeelding

afbeelding

Desired behavior

I would expect that when I open the Project Settings I would see two properties under 'env', one cyuser: 'dummyUser' and one cypassword: 'dummyPassword'.

Test code to reproduce

This is the failing test code:

npx cypress open --env cyuser=dummyUser,cypassword=dummyPassword

Cypress Version

12.16.0 (but found it in 12.14.0)

Node version

v16.18.1

Operating System

Windows 11

Debug Logs

No response

Other

No response

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions