Skip to content
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

Correct type of its for request body #29536

Closed
gajraj-gan opened this issue May 17, 2024 · 2 comments
Closed

Correct type of its for request body #29536

gajraj-gan opened this issue May 17, 2024 · 2 comments
Labels
stale no activity on this issue for a long period type: typings Issue related to Cypress types (for TypeScript)

Comments

@gajraj-gan
Copy link

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 gajraj-gan changed the title Correct type for its Correct type of its for request body May 17, 2024
@jennifer-shehane jennifer-shehane added the type: typings Issue related to Cypress types (for TypeScript) label May 20, 2024
@cypress-app-bot
Copy link
Collaborator

This issue has not had any activity in 180 days. Cypress evolves quickly and the reported behavior should be tested on the latest version of Cypress to verify the behavior is still occurring. It will be closed in 14 days if no updates are provided.

@cypress-app-bot cypress-app-bot added the stale no activity on this issue for a long period label Nov 17, 2024
@cypress-app-bot
Copy link
Collaborator

This issue has been closed due to inactivity.

@cypress-app-bot cypress-app-bot closed this as not planned Won't fix, can't repro, duplicate, stale Dec 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
stale no activity on this issue for a long period type: typings Issue related to Cypress types (for TypeScript)
Projects
None yet
Development

No branches or pull requests

3 participants