Skip to content

Domain relaxation is buggy #493

@tuberlinsap

Description

@tuberlinsap
  • Operating System: Linux
  • Cypress Version: Cypress CLI: 0.13.1

Are you requesting a feature or reporting a bug?

Bug

Current behavior:

When trying to run a test, I get the following error upon trying to "visit" the page.

cy
      .visit(DOMAIN);
/* ... */
SecurityError: Failed to set the 'domain' property on 'Document': 'de' is a top-level domain.

Expected behavior:

It should not try to "relax" to a top-level Domain.

How to reproduce the current behavior:

Unfortunately we're trying to use cypress as a test tool in an intranet environment which I can not open access to. It seems to be an error with the relaxing of the domain, where the domain is not split up correctly or something like that. If you need further info, let me know.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions