GitHub

Executive Summary & Notices

Generate lightweight summary.html bundles and broadcast operational system notices.

Zen Reports for Playwright allows generating lightweight single-file executive summaries and broadcasting operational notices to team members inspecting reports.


Standalone Executive Summary (summary.html)

When singleSummaryFile: true is enabled, Zen Reports generates an independent, self-contained summary.html (and companion summary.json) inside your outputDir:

import { defineConfig } from '@playwright/test';
export default defineConfig({
reporter: [
[
'@zen-reports/zen-reporter-playwright',
{
singleSummaryFile: true,
},
],
],
});

Key Highlights

  • Ultra-compact file size: Single lightweight HTML file containing overall KPIs, pass rates, duration, and top failures without historical runs or full suite trace attachments.
  • Streamlined executive header: Hides multi-run switching dropdowns since historical runs are omitted from the summary payload.
  • Persistent inline notifications: Directly surfaces run-scoped configuration notices and system alerts (systemNotices) in a prominent banner atop the Overview, with a shortcut keycap O to inspect the Notification Center.
  • Perfect for CI/CD integrations: Attach it as a GitHub Actions Job Summary, GitLab artifact, or embed it in automated Slack or email notifications.

For a comprehensive tour of the summary dashboard, see the Standalone Summary Dashboard guide.


System Notices & Operational Alerts (systemNotices)

Zen Reports allows test leads, DevOps engineers, and CI pipelines to broadcast environmental notices or operational alerts directly to developers through the report’s Notification Center:

export default defineConfig({
reporter: [
[
'@zen-reports/zen-reporter-playwright',
{
systemNotices: [
// 1. CI / Runner Infrastructure Context
`Running on AWS Spot instance (${process.env.RUNNER_NAME || 'agent-1'}) with worker memory limits.`,
// 2. Ephemeral or Degraded Test Environments
'Staging cluster maintenance: Payment gateway sandbox is operating in mock mode.',
// 3. Framework or Deprecation Announcements
'Notice: Legacy @company/auth-fixture is deprecated; migrate to v2 by end of month.',
],
},
],
],
});
  • Scope & Badge: Emitted with a distinct purple SYSTEM badge to differentiate from run-scoped configuration warnings.
  • Persistence: Persisted to SQLite (history.db) alongside the test run, so teams can review environmental caveats when inspecting past runs.

See the Notification Center guide for keyboard shortcuts and filtering options.