cypress icon indicating copy to clipboard operation
cypress copied to clipboard

Correct type of `its` for request body

Open gajraj-gan opened this issue 9 months ago • 0 comments

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

gajraj-gan avatar May 17 '24 17:05 gajraj-gan