Standalone Executive Summary Report (`summary.html`)
When configured with singleSummaryFile: true, Zen Reporter generates a standalone, lightweight executive summary report named summary.html in your output directory alongside index.html.
π Purpose & Target Audience
Section titled βπ Purpose & Target AudienceβWhile index.html is designed for interactive deep-dive debugging with complete step execution traces, inline source code snippets, and trace file attachments, summary.html is tailored specifically for:
- Engineering Management & Leadership: Quick release readiness assessments.
- QA & Product Stakeholders: High-level test pass/fail ratio metrics.
- Automated Notifications: Light HTML report attachments for Slack notifications, email summaries, or release audit documentation.
βοΈ Enabling summary.html
Section titled ββοΈ Enabling summary.htmlβEnable executive summary generation in playwright.config.ts:
import { defineConfig } from '@playwright/test';
export default defineConfig({ reporter: [ [ '@arpanp/zen-reporter', { outputDir: 'zen-report', singleSummaryFile: true, // Generates summary.html alongside index.html }, ], ],});π Visual Components & Features
Section titled βπ Visual Components & Featuresβsummary.html includes only high-level dashboard cards without failure stack traces:
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ Dashboard Overview βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ€β Run Metadata Info Cards ββ Run Duration, Total Projects, Total Suites, Total Tests, Worker Threads βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ€β Quick KPI Stats ββ (Total, Pass, Fail, Skipped, Interrupted) βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ€β Quick KPI Stats ββ (Avg. Duration, Slowest Test Duration, Fastest Test Duration, Total Tags, Failure Rate) βββββββββββββββββββββββββ¬ββββββββββββββββββββββββββββββββ¬ββββββββββββββββββββββββββββββββββββ€β Pass Rate Ring β Execution Efficiency Card β Test Health Breakdown ββ (Radial %) β Wall-Clock Duration β (Passed, Failed, TimedOut, ββ β vs. β Skipped, Interrupted bar) ββ β Cumulative Sequential β ββ β Worker Duration β βββββββββββββββββββββββββ΄ββββββββββββββββββββββββββββββββ΄ββββββββββββββββββββββββββββββββββββ
summary.html
Key Differences (summary.html vs index.html)
Section titled βKey Differences (summary.html vs index.html)β| Feature | index.html (Full Report) |
summary.html (Executive Summary) |
|---|---|---|
| Interactive Navigation | Full tabs (Overview, Suites, Files, Failures, Projects, History, Trends, Insights) | Single-page high-level dashboard |
| Failure Diagnostics | Full trace step timeline (βΆ), source code frames, diff traces |
High-level failure counts only |
| Attachments & Traces | Embedded screenshots, videos, trace files | Excluded for minimal file size |
| File Size | Larger (includes full execution details & assets) | Extremely small & lightweight |