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

Option to always log response body for cy:fetch #176

Open
jeremybeard opened this issue Feb 8, 2023 · 4 comments
Open

Option to always log response body for cy:fetch #176

jeremybeard opened this issue Feb 8, 2023 · 4 comments

Comments

@jeremybeard
Copy link

If I understand correctly, "cy:request" logs the response body in all cases, but "cy:fetch" only logs the response body if the fetch failed. It would be good to have the option to log the response body in all cases for "cy:fetch".

@archfz
Copy link
Owner

archfz commented Feb 8, 2023

This might be a regression. Contribution is welcome

@archfz
Copy link
Owner

archfz commented Feb 15, 2023

This is not a regression, but infact was always set to log response body only if it fails. See


and

@archfz
Copy link
Owner

archfz commented Feb 22, 2023

Well apparently this is not supported by cypress currently. I've opened an issue let's see when they will fix it.

@archfz
Copy link
Owner

archfz commented Aug 21, 2023

New link cypress-io/cypress#21421

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