Skip to content

"/" is added at end of loaded URLs breaks GET parameters #2101

@samdelong

Description

@samdelong

Issue

Currently when calling .visit('url'), cypress loads it as url/, which makes the final GET parameter invalid

My cypress.json:
screenshot from 2018-07-05 11-16-37

My test.js:
screenshot from 2018-07-05 11-10-38

The loaded URL in Cypress

screenshot from 2018-07-05 11-11-23

Desired behavior:

Either don't add the extra character, or possibly add an option for removing it.

Steps to reproduce:

Screenshots above

Versions

Ran on Ubuntu 18.04, using Cypress v3.0.2

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions