Skip to content
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

Add blacklisting of requests made to specific hosts #442

Closed
stigkj opened this issue Mar 1, 2017 · 6 comments · Fixed by #1062
Closed

Add blacklisting of requests made to specific hosts #442

stigkj opened this issue Mar 1, 2017 · 6 comments · Fixed by #1062
Assignees
Labels
type: feature New feature that does not currently exist
Milestone

Comments

@stigkj
Copy link

stigkj commented Mar 1, 2017

Would be nice to stop requests made to other domains than my own, for example scripts/css loaded from other CDNs.

@jennifer-shehane jennifer-shehane added the type: feature New feature that does not currently exist label Mar 6, 2017
@davidperta
Copy link

I was also looking for something like this! Eg, a way to not send requests to certain domains when running tests (eg NewRelic / Intercom)

@sanjivsahayamrea
Copy link

Same. Would be nice to have this feature.

@jennifer-shehane
Copy link
Member

Requires documentation: cypress-io/cypress-documentation#329

@jennifer-shehane jennifer-shehane added this to the 1.2.0 milestone Dec 13, 2017
@brian-mann
Copy link
Member

brian-mann commented Dec 14, 2017

Requests are blocked with 503 response code.

screen shot 2017-12-14 at 2 28 49 pm

The response headers also include the rule that caused the blockage.

screen shot 2017-12-14 at 2 28 26 pm

@brian-mann
Copy link
Member

Released in 1.2.0.

@davidperta
Copy link

👏

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: feature New feature that does not currently exist
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants