Skip to content

Error when stubbing headers with cy.route() #18858

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

Closed
chrisbreiding opened this issue Nov 9, 2021 · 2 comments · Fixed by #18859
Closed

Error when stubbing headers with cy.route() #18858

chrisbreiding opened this issue Nov 9, 2021 · 2 comments · Fixed by #18859
Assignees

Comments

@chrisbreiding
Copy link
Contributor

chrisbreiding commented Nov 9, 2021

Current behavior

Stubbing headers with cy.route() causes the following error:

Cannot read properties of undefined (reading \'normalize\')'

Introduced by #18615

Desired behavior

No response

Test code to reproduce

Can be reproduced with this example recipe.

See an example failure here.

Cypress Version

develop only, not yet released

Other

No response

@cypress-bot
Copy link
Contributor

cypress-bot bot commented Nov 9, 2021

The code for this is done in cypress-io/cypress#18859, but has yet to be released.
We'll update this issue and reference the changelog when it's released.

@cypress-bot
Copy link
Contributor

cypress-bot bot commented Nov 10, 2021

Released in 9.0.0.

This comment thread has been locked. If you are still experiencing this issue after upgrading to
Cypress v9.0.0, please open a new issue.

@cypress-bot cypress-bot bot locked as resolved and limited conversation to collaborators Nov 10, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants