cy.request qs parameter doesn't handle nested objects anymore #25341
Labels
E2E
Issue related to end-to-end testing
existing workaround
prevent-stale
mark an issue so it is ignored by stale[bot]
Reproducible
Can be reproduced
type: regression
A bug that didn't appear until a specific Cy version release
v12.0.0 🐛
Current behavior
Calls the following endpoint (I removed the encoding to make it clearer):
Desired behavior
Should call the following endpoint:
Test code to reproduce
Cypress Version
12.2.0
Node version
16.19.0
Operating System
macOS 12.6
Debug Logs
No response
Other
Seems to appeared since version 12. I think it's coming from this change: #20302
For now I use the
qs
package and use the request like this as a workaround:I couldn't find anything in the changelog or the docs how to migrate this breaking change. Did I miss something obvious?
The text was updated successfully, but these errors were encountered: