Add Playwright E2E suite against the built dist/

Pin @playwright/test 1.62.0 (matches the cached chromium
revision) and serve dist/ via python3 http.server, so the
deployed artifact is what gets tested. Covers page load,
terminal commands, vim mode, achievements, and the nav menu.
Ignore node_modules, test-results, playwright-report, and the
phased-execution runtime scratch (.agents/phase-sessions,
pipeline.log).
This commit is contained in:
2026-09-18 17:23:30 -04:00
parent 7f4f0b4ef1
commit 3898dc3c5e
10 changed files with 682 additions and 0 deletions
+10
View File
@@ -8,6 +8,16 @@ dist/
# Local Docker build cache
.docker/
# JS / test tooling
node_modules/
test-results/
playwright-report/
# Phased-execution runtime artifacts (the .agents/ planning tree itself is
# tracked and committed — only its per-run scratch is ignored)
.agents/phase-sessions/
.agents/pipeline.log
# OS files
.DS_Store
Thumbs.db