Skip to content

Cypress.config() inside test does not override "blacklistHosts" value #7426

@CKuB

Description

@CKuB

Current behavior:

Adding Cypress.config('blacklistHosts', '127.0.0.1:63342') within test does not override global blacklistHosts in cypress.json

Is it a bug or a feature?

Desired behavior:

Adding Cypress.config('blacklistHosts', '127.0.0.1:63342') within test overrides global blacklistHosts in cypress.json

Test code to reproduce

I have no opportunity to add my tests here((((

Versions

Cypress 4.5.0, MacOS 10.14.6, Chrome 81

Metadata

Metadata

Assignees

No one assigned

    Labels

    type: duplicateThis issue or pull request already exists

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions