From 7b85f4dff1b2307ba32c2851258ef3045219d16e Mon Sep 17 00:00:00 2001 From: Octoturge Date: Sun, 9 Aug 2026 12:34:12 +0200 Subject: [PATCH] Add standing Playwright e2e suite; fix two real bugs it caught The whole point of driving a real browser instead of curling api/frontend separately: none of this session's prior "live verification" ever exercised the same-origin routing production relies on (Caddy: /ws*+/api/* -> api, else -> frontend), so a real browser's relative fetch()/WebSocket calls were never actually proven to resolve. e2e/proxy.ts mirrors that routing (no caddy binary available locally); global-setup.ts/global-teardown.ts orchestrate throwaway infra + seeded data + the api/frontend/proxy processes end to end. Getting the suite green surfaced two genuine bugs invisible to unit tests: - index.pug loaded map.js via two