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

Show full logs in Test Replay #30904

Open
marc-at-brightnight opened this issue Jan 17, 2025 · 1 comment
Open

Show full logs in Test Replay #30904

marc-at-brightnight opened this issue Jan 17, 2025 · 1 comment

Comments

@marc-at-brightnight
Copy link

What would you like?

In Test Replay, in case of larger objects, enable a copy button so we can extract the full object contents. I'm finding objects are abbreviated. Note here I'm logging multiple objects in one console.log.

Image

Why is this needed?

We are trying to debug flaky tests and console.logs are helpful.

Other

Could also work with cy.log but currently cy.log only accepts strings.

@marc-at-brightnight
Copy link
Author

Perhaps even better would be to give the same functionality present when running locally when an expect fails: when clicking on the red box, print the expected/actual objects to the console.

Image

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