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

Documentat cy.route2() response function example #8468

Closed
clintharris opened this issue Sep 1, 2020 · 3 comments · Fixed by cypress-io/cypress-documentation#3128
Closed

Comments

@clintharris
Copy link

The API docs seem to be missing an example of how to use response functions with cy.route2(): https://docs.cypress.io/api/commands/route2.html#Response-functions

In other words, the current examples under "Response Functions" don't actually show a function being used to handle the route.

Versions

Cypress 5.1.0

@flotwig
Copy link
Contributor

flotwig commented Sep 3, 2020

This will be added to the docs soon. In the meantime, the IncomingHttpRequest/IncomingHttpResponse types contain documentation for the available functions.

@bencodezen
Copy link

A PR has been issued here: cypress-io/cypress-documentation#3128

@cypress-bot
Copy link
Contributor

cypress-bot bot commented Sep 15, 2020

Released in 5.2.0.

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

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

Successfully merging a pull request may close this issue.

3 participants