1 Commits

Author SHA1 Message Date
Teetow
7ac0c48493 test: add lean critical-path E2E suite (Playwright)
Cover the three flows that must never silently break:

- front page: hero + real Windows installer link, release video, nav.
- downloads: /download OS targets, and real Windows/macOS installer links on
  the per-OS pages.
- promo banner: fake the browser clock to prove the date-window logic holds —
  an active campaign banner renders inside its window and disappears the day
  after it ends. Data-driven from campaigns.ts so it survives future pulls.

Setup: playwright.config.ts runs against `bun run dev`; `bun test` is scoped to
src/scripts so it ignores the .spec.ts files; e2e artifacts gitignored (and the
stale tracked test-results/ untracked).

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-27 18:56:39 +02:00