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

cy.api request as cy:request logs and not cy:command #229

Open
marcrecor opened this issue Dec 15, 2023 · 1 comment
Open

cy.api request as cy:request logs and not cy:command #229

marcrecor opened this issue Dec 15, 2023 · 1 comment

Comments

@marcrecor
Copy link

Using cy.request():
image

I can see cy:request logs on terminal:
image

But if I use cypress API plugin (very useful for debug):
image

I see the request has a cy:command:
image

Would it be possible to see them has a request for having the response status and body on logs?

Many thanks in advance :)

@archfz
Copy link
Owner

archfz commented Dec 18, 2023

First this needs to be investigated, to see whether from the log that is generated by the command we would have access to the necessary information. In general I would have expected that underneath it uses cy.request, however it doesn't seem to be the case, since if it was it would log that as well.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants