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
Cy.Url Doesnt support UTF-8 charset #17399
Comments
Sorry for the late reply. How about using it('t', () => {
cy.visit('https://mozilla.org/?x=шеллы')
cy.url().then((url) => {
expect(decodeURI(url)).to.contain('шеллы')
})
}) |
I believe there are 2 solutions for this issue:
What do you think is better? |
The code for this is done in cypress-io/cypress#17930, 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
I want to test Url to check the page right or not. But whenever url contains unique chars such as (ä, ö," " ) it errors. Is there any solution?
The first one is cy.url().The second one is original url. Url changes inside cypress test.

My solution is
But this is waste of time. Thanks...
Desired behavior
No response
Test code to reproduce
Cypress Version
6.9.0
Other
No response
The text was updated successfully, but these errors were encountered: