Skip to content

feat: add Beacon HTML reporter - #50

Merged
estefafdez merged 7 commits into
mainfrom
feat/beacon-reporter
Oct 27, 2026
Merged

estefafdez merged 7 commits into
mainfrom
feat/beacon-reporter

Conversation

@estefafdez

@estefafdez estefafdez commented Oct 27, 2026 •

Copy link
Copy Markdown
Owner

What

Adds Beacon (beacon-reporter, MIT) as a reporter, following this article: Beacon: A Better HTML Reporter for Playwright Test Automation.

Beacon generates a static HTML report (beacon-report/) with a dashboard (outcomes, pass-rate trends, slowest tests, flakiness), per-test detail and run-over-run comparison, with no external service required.

Changes

  • beacon-reporter added as a devDependency
  • Registered as the first reporter in playwright.config.ts (existing reporters untouched)
  • beacon-report/ added to .gitignore

How to use

npx playwright test
npx beacon open beacon-report    # serve the report locally
npx beacon export beacon-report  # bundle it into a single HTML file

Verification

Ran the repo's suites locally with the reporter active:

  • API project: 21 passed, 1 skipped
  • Web project (home, navigation, todo specs): 8 passed, 6 skipped (the navigation suite is describe.skip in the repo)

Screenshots of the generated report:

Dashboard

beacon-report-dashboard

Test list

beacon-report-tests

Test detail

beacon-report-detail

Notes

  • Beacon is a very new package (v0.1.2, first published in October 2026), so it is worth keeping an eye on its releases before relying on it for anything critical.
  • CI uploads beacon-report/ as a workflow artifact on every run (name: beacon-report, 30-day retention), so the report is downloadable from any CI run.
  • On pushes to main, CI also deploys the report to GitHub Pages: https://estefafdez.github.io/playwright-template/ (Pages is enabled with "GitHub Actions" as the source; the first deploy happens on the next main run after this merges). Pull request runs never deploy.

@estefafdez estefafdez self-assigned this Oct 27, 2026
@estefafdez estefafdez added the enhancement New feature or request label Oct 27, 2026
@github-actions

github-actions Bot commented Oct 27, 2026 •

Copy link
Copy Markdown

Playwright Test Results

52 tests  ±0   32 ✅ ±0   43s ⏱️ +2s
17 suites ±0   20 💤 ±0 
 1 files   ±0    0 ❌ ±0 

Results for commit 08dabae. ± Comparison against base commit 98d2fdc.

♻️ This comment has been updated with latest results.

@estefafdez
estefafdez deployed to github-pages October 27, 2026 09:40 — with GitHub Actions Active
@estefafdez
estefafdez marked this pull request as ready for review October 27, 2026 09:50
@estefafdez
estefafdez merged commit 7eaaf3f into main Oct 27, 2026
2 checks passed
@estefafdez
estefafdez deleted the feat/beacon-reporter branch October 27, 2026 09:50

This branch was successfully deployed

1 active deployment
github-pages — 08dabae6 Deployed Oct 27, 2026 by estefafdez via test #458
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant