-
Notifications
You must be signed in to change notification settings - Fork 3.3k
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.route to match on request body for POST #3755
Comments
Same issue here |
@jennifer-shehane I'm not sure that those are the same as what I'm asking here. Please could you take another look at my example above and advise on how I might achieve the desired behaviour with the current tools available in cypress. Thanks |
@cookiescrumbs Right, sorry, this is different than I was thinking. Some of this is slightly discussed in this issue #521 but ultimately the functionality that you want is covered in this issue: #387 There are likely some hacky workarounds, especially if you search our issues for graphql, but no way to officially do this through Cypress. |
I don't see this in 4.1? Am I missing something or when will this be available? |
Is there an update on this issue? |
Current behavior:
Currently
cy.route
doesn't match the POST request body which means you can't stub requests that have the same url but a different request body.Desired behavior:
The text was updated successfully, but these errors were encountered: