You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In our application, multiple requests may match from a single routeMatcher (ie cy.route2()). When I use cy.wait, it only intercepts the first request. I thought it would wait for all matched request on such routeMatcher.
@quad5cy.route2() with its current API has no idea what 'all' requests are without that being predefined somewhere. We'd have no idea if 1 route or 100 routes will be coming in later to match the route you've defined and when you wanted to stop waiting with the current API.
Likely one of these features will be helpful in testing what you're looking for: #7663#8531 so feel free to comment in those your support and whether they would be helpful in testing the number of requests you'd like to match.
Current behavior
Desired behavior
In our application, multiple requests may match from a single routeMatcher (ie cy.route2()). When I use
cy.wait
, it only intercepts the first request. I thought it would wait for all matched request on such routeMatcher.Test code to reproduce
Versions
Cypress: 5.5.0
Chrome: 86.0.4240.111
MacOS: 10.15.6
The text was updated successfully, but these errors were encountered: