diff --git a/CHANGELOG.md b/CHANGELOG.md index b27bbaa..8fac203 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,16 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/). ## [Unreleased] +### Changed +- **Visual test overhaul** — consolidated 3 separate Playwright server processes + (ports 5111/5112/5113) into 1 session-scoped fixture in `conftest.py`; 77 tests + pass in ~59 seconds (was ~3× slower with 3 independent servers). Fixed `init_db` + mock bypass (must patch `padelnomics.app.init_db`, not `core.init_db`, since + `from .core import init_db` creates a local binding). Forces `RESEND_API_KEY=""` + and `WAITLIST_MODE=false` in subprocess so visual tests never send real emails or + render waitlist pages. Added sections J–N: pricing, checkout, supplier signup, + supplier dashboard, business plan export. + ### Added - **SOPS + age encrypted secrets** — `.env.dev.sops` and `.env.prod.sops` replace `.env.example` and GitLab CI/CD variables; age keypair for encryption/decryption; diff --git a/PROJECT.md b/PROJECT.md index 7c401f5..8e16b79 100644 --- a/PROJECT.md +++ b/PROJECT.md @@ -116,6 +116,10 @@ - [x] Virtual office address on imprint - [x] SEO/GEO admin hub — GSC + Bing + Umami sync, search/funnel/scorecard views, daily background sync +### Testing +- [x] Playwright visual/E2E test suite — 77 tests across 3 files (visual, e2e flows, quote wizard); single session-scoped server + browser; mocked emails + waitlist mode; ~59s runtime +- [x] Unit test suite — auth, billing webhooks, planner calculator, PDF export, RBAC, scenarios, lead scoring + ### Other - [x] A/B testing framework (`@ab_test` decorator + Umami `data-tag`) - [x] Mobile nav (hamburger < 900px, full overlay panel)