Skip to content

Cypress does not bypass a domain properly  #5752

@catalin7mar

Description

@catalin7mar

Hi!
I work in an organization that uses PAC. From the cypress specifications I have to use:

If your organization uses a PAC file, contact a network administrator to ask what HTTP proxy you should be using to access the general Internet, then use that proxy with Cypress.

However, I can't use a proxy for my project, because "internal" calls should be called just without a proxy. The portal works only in the intranet and without proxy.

This is the response from the support team (from my organization):

Please clarify with cypress team, if no PAC can be used, then tool must be adjusted so that no proxy is used because "internal" calls should be called just without a proxy.

So I used NO_PROXY, like in the Cypress documentation says and the domain from my project is bypassed (at least it says in Cypress Settings)

"test:no_proxy1": "set NO_PROXY=int....at.inside && npm run test:open",

image

However, if I try to run a test case I get this error:
image

From this, I understand that Cypress doesn't actually bypass the domain that is set.

Metadata

Metadata

Assignees

No one assigned

    Labels

    pkg/serverThis is due to an issue in the packages/server directorystage: ready for workThe issue is reproducible and in scopetype: enhancementRequested enhancement of existing feature

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions