daun / playwright-report-summary

A GitHub action to report Playwright test results as pull request comments
MIT License
40 stars 8 forks source link

Add command to re-run tests #223

Closed mskelton closed 1 month ago

mskelton commented 2 months ago

This adds a code block which let's users quickly copy a command to re-run failed or flaky tests.

Also made the commit URL a link as a small quality of life improvement.

image
daun commented 2 months ago

This looks great! Does this render a code block below each failed test, or a single code block for all failed tests?

mskelton commented 2 months ago

@daun It renders a single code block with all test ids for each section (failed or flaky)

daun commented 1 month ago

Great! I'll give this a spin on a test repo these days and merge as soon as I get the chance.

daun commented 1 month ago

Looks great, thanks so much for contributing! I'll merge this and release a minor version now.

daun commented 1 month ago

Released in 3.6.0.