From 539f044d51331c0b8d60f1de56ee2b10fa6b5a71 Mon Sep 17 00:00:00 2001 From: snomiao Date: Wed, 22 Oct 2025 13:58:24 +0000 Subject: [PATCH] feat: add standalone HTML viewer for Playwright test reports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Create .pages/playwright-reports.html that dynamically fetches and displays test statistics from playwright-reports/* directories. Similar to knip.html, this provides an interactive landing page showing pass rates, failures, and test stats for each browser configuration. Features: - Fetches report.json from each browser directory (chromium, chromium-2x, etc.) - Displays pass rate, passed/failed/skipped/flaky counts - Responsive card-based layout matching existing design system - Graceful error handling for missing reports 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude --- .pages/playwright-reports.html | 300 +++++++++++++++++++++++++++++++++ 1 file changed, 300 insertions(+) create mode 100644 .pages/playwright-reports.html diff --git a/.pages/playwright-reports.html b/.pages/playwright-reports.html new file mode 100644 index 000000000..8a8a5f3bf --- /dev/null +++ b/.pages/playwright-reports.html @@ -0,0 +1,300 @@ + + + + + + Playwright E2E Test Reports + + + +
+

🎭 Playwright E2E Test Reports

+ +
Loading reports...
+ +
+
+ + + +