certification-tool icon indicating copy to clipboard operation
certification-tool copied to clipboard

[Bug] TH logs do not include line breaks

Open cecille opened this issue 1 year ago • 1 comments

Describe the bug

TH logs do not include line breaks

Steps to reproduce the behavior

Run any python test, observe logs.

Expected behavior

logs on separate lines are separated visually with line breaks.

Log files

No response

PICS file

No response

Screenshots

No response

Environment

No response

Additional Information

No response

cecille avatar Aug 13 '24 16:08 cecille

I tested some time ago a small change on the frontend side that seems to solve this line break problem.

We just need to add the following change to the test-log-console.component.scss file:

div {
  white-space: pre-wrap;
}

PS: I can't contribute to the frontend project. @raul-marquez-csa can you take a look if this solution is valid?

antonio-amjr avatar Aug 13 '24 17:08 antonio-amjr

Addressed in PR https://github.com/project-chip/certification-tool-frontend/pull/23

raul-marquez-csa avatar Aug 27 '24 22:08 raul-marquez-csa