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

Add "followRedirect" option to req.reply #7967

Closed
flotwig opened this issue Jul 13, 2020 · 2 comments
Closed

Add "followRedirect" option to req.reply #7967

flotwig opened this issue Jul 13, 2020 · 2 comments
Assignees

Comments

@flotwig
Copy link
Contributor

flotwig commented Jul 13, 2020

Current behavior:

When req.reply inside of a cy.route2 sends an outgoing request, it will not follow redirects.

Desired behavior:

Allow the user to pass followRedirect to follow the redirects before resolving the req.reply callback.

@flotwig flotwig changed the title Add "followRedirects" option to res.send Add "followRedirects" option to req.reply Aug 14, 2020
@flotwig flotwig changed the title Add "followRedirects" option to req.reply Add "followRedirect" option to req.reply Aug 14, 2020
@cypress-bot cypress-bot bot added stage: work in progress stage: needs review The PR code is done & tested, needs review and removed stage: work in progress labels Aug 14, 2020
@cypress-bot
Copy link
Contributor

cypress-bot bot commented Sep 8, 2020

The code for this is done in cypress-io/cypress#8282, 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 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

No branches or pull requests

1 participant