-
Notifications
You must be signed in to change notification settings - Fork 3.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Array in environment variables CYPRESS_BLACKLIST_HOSTS, CYPRESS_testFiles not handled correctly #6810
Array in environment variables CYPRESS_BLACKLIST_HOSTS, CYPRESS_testFiles not handled correctly #6810
Comments
Can confirm, this is resolved as a string when passed as an array in via environment variables.
This is the only configuration value passable via |
Would I be able to work on this issue? If so I had a few questions since I am new at contributing open source.
|
@dmoini Check out our contributing doc for general guidance on running changes and tests locally. Generally, part of the work to parse env vars prefixed with |
The code for this is done in cypress-io/cypress#8151, but has yet to be released. |
Released in This comment thread has been locked. If you are still experiencing this issue after upgrading to |
Current behavior:
Setting multiple hosts via the environment variable
CYPRESS_BLACKLIST_HOSTS
as an array leads to them not picked up corretly.Example:
The environment variable is always handled as a string
Desired behavior:
The desired behavior is to analyze if an array was provided and handled each item separately.
Test code to reproduce
Versions
Node.js Version 12.8.1
Cypress Version 4.1.0
The text was updated successfully, but these errors were encountered: