cypress
cypress copied to clipboard
Correct type of `its` for request body
What would you like?
Hi,
When we intercept a req, and then get it using cy.get("@req")
and want to access the body using its("request.body")
, it would be helpful if "request.body" was included in the types so that the IDE (VSCode in my case) can give better suggestions.
Currently I do not see any suggestion related to this. I guess the .get
only has a type of JQuery which is causing this.
Thanks !!
Why is this needed?
No response
Other
No response