New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cypress 9.1 open wrong URL when there is a ~ (tilde) in the link #19083
Comments
Thanks for the report and the reproduction. This appears to be a regression, so we'll look into addressing it. |
Hi @chrisbreiding while you're investigating: it appears that this issue also affects requests via cy.request(): #19084 (Fixing one will probably fix the other because both use the cypress-request lib?) |
I think you're right. Here's all the other issues so far reporting this for various commands: |
We have the same problem with writing a response body into a fixture file, it converts |
The code for this is done in cypress-io/cypress#19239, but has yet to be released. |
Released in This comment thread has been locked. If you are still experiencing this issue after upgrading to |
Current behavior
In Cypress 9.1, some of our tests failed due to Cypress process the URL in
visit()
calls incorrectly.This code:
causes Cypress to visit this link:
Note the strange
%5Cx7e
right after theq=
.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
The text was updated successfully, but these errors were encountered: