-
Notifications
You must be signed in to change notification settings - Fork 3.3k
Closed
Labels
topic: networktopic: visitProblems with cy.visit commandProblems with cy.visit commandtype: bugtype: regressionA bug that didn't appear until a specific Cy version releaseA bug that didn't appear until a specific Cy version releasev9.1.0 🐛Issue present since 9.1Issue present since 9.1
Description
Current behavior
In Cypress 9.1, some of our tests failed due to Cypress process the URL in visit()
calls incorrectly.
This code:
cy.visit('/?q=~%28match_status~%28~%27invoiced%29%29')
causes Cypress to visit this link:
/?q=%5Cx7e%28match_status~%28~%27invoiced%29%29
Note the strange %5Cx7e
right after the q=
.
Desired behavior
Cypress should not alter the visit URL in anyway.
Test code to reproduce
https://github.com/lephuongbg/cypress-test-tiny/tree/cypress-9.1-url-bug
Quick link to diff:
cypress-io/cypress-test-tiny@master...lephuongbg:cypress-9.1-url-bug
Cypress Version
9.1.0
Other
No response
devfservant, davymitchell, qbikez, pazernh, jean9696 and 4 more
Metadata
Metadata
Assignees
Labels
topic: networktopic: visitProblems with cy.visit commandProblems with cy.visit commandtype: bugtype: regressionA bug that didn't appear until a specific Cy version releaseA bug that didn't appear until a specific Cy version releasev9.1.0 🐛Issue present since 9.1Issue present since 9.1