-
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
blacklistHosts ignored from CLI? #1155
Comments
I looked into this and found two bugs:
For now, hopefully you can set this in your |
Thanks a lot for your help! I was wondering if my syntax was wrong, since I couldn't find any examples of passing arrays via cli in the docs. Glad it wasn't just me :) |
…I, display array on desktop gui settings - added support for —config nested args such as arrays and objects - use pipe syntax for multiple elements - use brackets for arrays, curly braces for objects
…I, display array on desktop gui settings - added support for —config nested args such as arrays and objects - use pipe syntax for multiple elements - use brackets for arrays, curly braces for objects
…I, display array on desktop gui settings
Released in |
Is this a Feature or Bug?
Bug
Current behavior:
I can't get blacklistHosts to work at all when invoking
cypress open
. Here are the things I've tried:export CYPRESS_blacklistHosts='adservice.google.com'; npx cypress open
npx cypress open --config blacklistHosts='adservice.google.com'
npx cypress open --config blacklistHosts="['adservice.google.com']"
Yet blacklistHosts does not appear in the "Settings/Configuration" section. I also do not see the requests being intercepted.
Desired behavior:
Works as described in documentation
How to reproduce:
See above
Test code:
Additional Info (images, stack traces, etc)
The text was updated successfully, but these errors were encountered: