project-chip / certification-tool

A test harness and tooling designed to simplify development, testing, and certification for devices, guided by the Connectivity Standards Alliance.
https://csa-iot.org/
Apache License 2.0
42 stars 24 forks source link

[Bug] TH logs do not include line breaks #356

Closed cecille closed 2 months ago

cecille commented 3 months ago

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

antonio-amjr commented 3 months ago

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?

raul-marquez-csa commented 3 months ago

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