
Security News
TypeScript is Porting Its Compiler to Go for 10x Faster Builds
TypeScript is porting its compiler to Go, delivering 10x faster builds, lower memory usage, and improved editor performance for a smoother developer experience.
@nil1511/playwright-merge-html-reports
Advanced tools
Merge Playwright HTML reports to a single HTML report
The index.html
file is generated and other artifacts (screenshot, trace file etc) are copied from the source folders to the merged Report folder
Built on node 14.18.1
.
Note: @playwright/test
is a peer dependency, not a dev dependency.
Inspiration https://github.com/microsoft/playwright/issues/10437
npm install playwright-merge-html-reports --dev
@playwright/test
package first (if not already done).const { mergeHTMLReports } = require("playwright-merge-html-reports");
inputReportPaths
- Array of path to html report foldersmergeHTMLReports([
process.cwd() + "/html_report-1",
process.cwd() + "/html_report-2"
])
config
- Optional
const inputReportPaths = [
process.cwd() + "/html_report-1",
process.cwd() + "/html_report-2"
];
const config = {
outputFolderName: "merged-html-report", // default value
outputBasePath: process.cwd() // default value
}
mergeHTMLReports(inputReportPaths, config)
jszip
and yazl
for encoding and decoding zipped content from the index.html
file.FAQs
Merge Playwright HTML reports
We found that @nil1511/playwright-merge-html-reports demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
TypeScript is porting its compiler to Go, delivering 10x faster builds, lower memory usage, and improved editor performance for a smoother developer experience.
Research
Security News
The Socket Research Team has discovered six new malicious npm packages linked to North Korea’s Lazarus Group, designed to steal credentials and deploy backdoors.
Security News
Socket CEO Feross Aboukhadijeh discusses the open web, open source security, and how Socket tackles software supply chain attacks on The Pair Program podcast.