Cypress: Ability to whitelist as well as blacklist hosts

Created on 12 Mar 2018  路  2Comments  路  Source: cypress-io/cypress

Is this a Feature or Bug?

Feature.

Desired behaviour

Whilst you can blacklist hosts, I think it would be good if you could also provide a whitelist, as that way you could guarantee that your tests (which may be running quite frequently, after all) weren't making external requests you didn't know about (e.g. no need to worry about some third-party rate limiting for some item your page includes).

proposal 馃挕 feature

Most helpful comment

Yeah we were expecting this to be requested at some point. It's a good feature and can be implemented.

All 2 comments

Yeah we were expecting this to be requested at some point. It's a good feature and can be implemented.

Can this get worked on this again? I don't believe this has been fixed. Thanks!

Was this page helpful?
0 / 5 - 0 ratings