Rayrun
← Back to Discord Forum

How to merge html pw reports without sharding?

Hi, I have different independent run reports from playwright tests. I would like to merge them into one html file.

I tried with many of the online merger tools, but created a blank html file.

Is there a solution for this?

#MergeReport

This thread is trying to answer question "How can I merge independent run reports from playwright tests into one html file?"

7 replies

You can also merge multiple test runs together by using the official merger: https://playwright.dev/docs/test-sharding#merge-reports-cli

If its not working, I recommend to elaborate or file an issue with repro steps.

Sure thank you

You can use the official merger. But be aware that the reports have to be in same folder and playwright erases report folder every run. So you need to move reports to another folder before next run.

Yes I tried but I was unable to merge html reports of playwright.

I have not used sharding

Npx playwright merge-reports path of html1 , path if html2

Try to use blob reporter https://playwright.dev/docs/test-reporters#blob-reporter. I am not sure if it is possible to merge html reports

Related Discord Threads

TwitterGitHubLinkedIn
AboutQuestionsDiscord ForumBrowser ExtensionTagsQA Jobs

Rayrun is a community for QA engineers. I am constantly looking for new ways to add value to people learning Playwright and other browser automation frameworks. If you have feedback, email luc@ray.run.