-
Notifications
You must be signed in to change notification settings - Fork 3.2k
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 API for cy.intercept() to only reply to the first N requests #8531
Labels
Comments
flotwig
added
type: enhancement
Requested enhancement of existing feature
topic: cy.intercept()
internal-priority
labels
Sep 9, 2020
jennifer-shehane
changed the title
Add API for cy.route2 to only reply to the first N requests
Add API for cy.intercept() to only reply to the first N requests
Dec 3, 2020
4 tasks
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
Jan 12, 2021
cypress-bot
bot
added
stage: to do
and removed
stage: needs review
The PR code is done & tested, needs review
labels
Apr 27, 2021
cypress-bot
bot
added
stage: work in progress
stage: needs review
The PR code is done & tested, needs review
and removed
stage: waiting
labels
May 5, 2021
cypress-bot
bot
added
stage: pending release
and removed
stage: needs review
The PR code is done & tested, needs review
labels
May 10, 2021
The code for this is done in cypress-io/cypress#14513, but has yet to be released. |
Released in This comment thread has been locked. If you are still experiencing this issue after upgrading to |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Labels
Current behavior:
To change the response for a route over time, currently, the user must implement counting themselves:
Desired behavior:
There is an API for the user to specify the number of times to use a route's handler. Something like this:
The text was updated successfully, but these errors were encountered: