ctrf-io / github-test-reporter

Publish and view test reporting directly in your GitHub Actions CI/CD workflow and Pull Requests with detailed test summaries, failed test analyses, and flaky test detection.
https://ctrf.io
MIT License
78 stars 6 forks source link

CTRF Summary Formatting Issues #35

Open simontao18 opened 1 month ago

simontao18 commented 1 month ago

Hi team,

I'm running into the issue where for failed tests, there is a long stretch of empty lines before the actual table is printed. I'm not using any custom formatter, and this is just the default output from running npx github-actions-ctrf failed test_results.json

In addition, as shown in the screenshot, the table seems to be longer in width than the actual space, which means I would need to scroll to the right to see the full message. Is there a way to format the summary boxes such that they are not longer than the page width?

Thank you!

Screenshot 2024-09-20 at 2 42 22 PM
Ma11hewThomas commented 3 weeks ago

Hello @simontao18

I'm unable to recreate either issue.

image

Can you please share the raw markdown generated with sensitive data removed? You can see this by clicking the ellipses on the summary and selecting view raw markdown.

In the meantime, the custom method with handlebars template might prove useful for you.