Skip to content
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.route2.wait does not always yield response #8536

Closed
flotwig opened this issue Sep 9, 2020 · 2 comments · Fixed by #8582
Closed

cy.route2.wait does not always yield response #8536

flotwig opened this issue Sep 9, 2020 · 2 comments · Fixed by #8582
Assignees
Labels
topic: cy.intercept() type: unexpected behavior User expected result, but got another

Comments

@flotwig
Copy link
Contributor

flotwig commented Sep 9, 2020

Current behavior:

If the response is not intercepted, the object yielded by cy.route2.wait will lack a response object.

Desired behavior:

It should have response.

See cypress-io/cypress-example-recipes#555 (comment)

@cypress-bot
Copy link
Contributor

cypress-bot bot commented Sep 15, 2020

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

@cypress-bot cypress-bot bot added stage: pending release and removed stage: needs review The PR code is done & tested, needs review labels Sep 15, 2020
@cypress-bot
Copy link
Contributor

cypress-bot bot commented Sep 29, 2020

Released in 5.3.0.

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

@cypress-bot cypress-bot bot locked as resolved and limited conversation to collaborators Sep 29, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
topic: cy.intercept() type: unexpected behavior User expected result, but got another
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant