{"id":15233863,"url":"https://github.com/rippling/playwright-merge-html-reports","last_synced_at":"2025-04-10T06:11:30.704Z","repository":{"id":65658516,"uuid":"538920391","full_name":"Rippling/playwright-merge-html-reports","owner":"Rippling","description":"Merge multiple playwright HTML Reports into a single one","archived":false,"fork":false,"pushed_at":"2023-10-17T21:58:05.000Z","size":9381,"stargazers_count":18,"open_issues_count":4,"forks_count":5,"subscribers_count":12,"default_branch":"main","last_synced_at":"2025-03-18T06:54:09.462Z","etag":null,"topics":["playwright"],"latest_commit_sha":null,"homepage":"https://www.npmjs.com/package/playwright-merge-html-reports","language":"HTML","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Rippling.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-09-20T10:01:28.000Z","updated_at":"2024-04-24T07:36:10.000Z","dependencies_parsed_at":"2025-02-16T19:43:50.150Z","dependency_job_id":null,"html_url":"https://github.com/Rippling/playwright-merge-html-reports","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Rippling%2Fplaywright-merge-html-reports","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Rippling%2Fplaywright-merge-html-reports/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Rippling%2Fplaywright-merge-html-reports/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Rippling%2Fplaywright-merge-html-reports/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Rippling","download_url":"https://codeload.github.com/Rippling/playwright-merge-html-reports/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248166925,"owners_count":21058481,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["playwright"],"created_at":"2024-09-29T06:08:39.805Z","updated_at":"2025-04-10T06:11:30.664Z","avatar_url":"https://github.com/Rippling.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Merge Playwright HTML reports\n\n- Merge Playwright HTML reports to a single HTML report\n- The `index.html` file is generated and other artifacts (screenshot, trace file etc) are copied from the source folders to the merged Report folder\n- Built on `node 14.18.1`.\n- Note: `@playwright/test` is a peer dependency, not a dev dependency.\n\n- Inspiration https://github.com/microsoft/playwright/issues/10437\n\n## Usage\n\n```bash\nnpm install playwright-merge-html-reports --dev\n```\n\n- You will need to install `@playwright/test` package first (if not already done). \n- In your Node.js script \n```js \nconst { mergeHTMLReports } = require(\"playwright-merge-html-reports\");\n```\n### Arguments\n1. `inputReportPaths` - Array of path to html report folders\n```js\nmergeHTMLReports([\n  process.cwd() + \"/html_report-1\",\n  process.cwd() + \"/html_report-2\"\n])\n```\n2. `config` - Optional\n```js\n\nconst inputReportPaths = [\n  process.cwd() + \"/html_report-1\",\n  process.cwd() + \"/html_report-2\"\n];\n\nconst config = {\n  outputFolderName: \"merged-html-report\", // default value\n  outputBasePath: process.cwd() // default value\n}\n\nmergeHTMLReports(inputReportPaths, config)\n```\n\n## Spec\n- TS support\n- Uses `jszip` and `yazl` for encoding and decoding zipped content from the `index.html` file.\n\n## Upcoming features\n\n- Usage directly on Command line\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frippling%2Fplaywright-merge-html-reports","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frippling%2Fplaywright-merge-html-reports","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frippling%2Fplaywright-merge-html-reports/lists"}