Cypress CLI arguments #24026
Unanswered
msage-godaddy
asked this question in
Questions and Help
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Good afternoon, we're trying to use the CYPRESS_my_argument=something as part of the CLI. It works great for everything I've needed. Until today. Today I wanted to pass in a string with an @ symbol in it. Passwords, email addresses, etc, use the @ symbol, so I know there has to be a way, but it's just escaping my google searches.
[email protected] cypress run --spec "**/myspec.js"
It fails when it gets to the @ symbol. I've tried single quotes, double quotes, etc. How can I pass in a string that may have the @ symbol successfully?
FWIW, it works fine if I put it in directly into a config file, it's only the command line that's having the problem. Thanks in advance for any help!
Beta Was this translation helpful? Give feedback.
All reactions