-
Notifications
You must be signed in to change notification settings - Fork 3.2k
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
Command log messages are no longer being truncated to 50 lines #23995
Comments
Looks like a regression as I don't see any comment explaining why it was removed. I took a quick video to show the behavior: Screen.Recording.2022-09-27.at.12.21.19.PM.mov@gofr would you be interested in submitting a PR fixing this? |
I would like to work on this if no one else already does! |
@melkstam feel free to take this on! |
Released in 10.10.0. This comment thread has been locked. If you are still experiencing this issue after upgrading to |
Current behavior
#5630 added some CSS to truncate log messages to at most 50 lines. It uses the
-webkit-line-clamp
CSS property to achieve that. But as described in https://caniuse.com/css-line-clamp, this feature also needsdisplay: -webkit-box
on the element to work.That
display
property was removed in #20465. Log messages are no longer being truncated.The property needs to be added back here:
cypress/packages/reporter/src/commands/commands.scss
Line 376 in 8bcfe93
Desired behavior
Truncate long log messages.
Test code to reproduce
N/A
Cypress Version
10.2.0, but I can still see the same code on the
develop
branchNode version
not relevant
Operating System
not relevant
Debug Logs
No response
Other
No response
The text was updated successfully, but these errors were encountered: