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

UI view doesnt show last response body and header in test replay in cypress cloud #130

Open
pablosmalys opened this issue Nov 28, 2023 · 4 comments
Labels
bug Something isn't working

Comments

@pablosmalys
Copy link

When I have series of api calls using cy.api command I can not see response body and header of last request. I can see request body and header only. All api calls before are complete - with response body & headers. On screenshot you can see, that I am pinned to cy.log command, so I would expect that response of last POST request will be fully visible.

Issue occurs in safari Version 17.1

cypress v : 13.5.1
"cypress-plugin-api": "^2.11.1"

image
@alexandreedgeiq
Copy link

I'm facing the same issue mentioned above. And it's hard to debug when we have a failed test in the last request.

@martin131
Copy link

same problem

@martin131
Copy link

It looks like it is not working only in Electron, works for me in Chrome 🤔

@filiphric
Copy link
Owner

yeah the timing of Snapshots in Cypress is super hard to work with. I’ll need some time to dive into this. right now I’m implementing a very hacky solution where after a response comes back from server, it renders an element and I use cy.get() to assert is there, and then do the snapshot. based on this report it seems this is still not good enough.

I’ll investigate in the following days and will give you some updates

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants