Closed AlessioGr closed 6 months ago
Hi :) The action requires a single json report output by Playwright. If you're running multiple matrixes or shards, the official strategy is to create the reports as separate blob reports, then combine them using npx playwright merge-reports
. You can find an example of how this can be done in the swup project's end-to-end test workflow. Also see the Playwright docs on merging reports.
@AlessioGr I'll close this as solved, feel free to comment if the above solution doesn't work for you.
I have a test matrix, and after each matrix run it creates the report. This also means each matrix generates a different JSON file. However, for each matrix run it's creating a new comment:
which ends up creating like 15 comments.
How do I ensure this only creates one comment for all test runs?
I have tried this with a different report tag per e2e run, and with identical report tags. Doesn't change anything.
Here is my actions config: