Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.
Sign upDo not truncate cy.log() in Command Log #5625
Comments
This comment has been minimized.
This comment has been minimized.
|
This is something we agree should be changed. CSS that requires changing: https://github.com/cypress-io/cypress/blob/develop/packages/reporter/src/commands/commands.scss#L251:L251 We would love an open PR. Check out our contributing doc . |
This comment has been minimized.
This comment has been minimized.
|
Hi @jennifer-shehane, I opened a PR for this small feature: #5630 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This is a feature request.
Current behavior:
Long messages in
cy.log()gets truncated to a single line. On screenshots the panel of cyress is always very narrow, so the log is almost never readable.Desired behavior:
It would be great to not truncate or at least support a flag to disable the truncation in
cy.log(). Especially URLs and other import informations should be displayed.Steps to reproduce: (app code and test code)
Versions
3.4.1 to 3.6.0
chrome78
Details
The following CSS rule is responsible for all message-types (
cypress_runner.css:4016):Maybe add a style just for the log (or all entries like URLs in cy.request()?):