test: complete persistence and browser safety net

This commit is contained in:
2026-08-14 13:43:37 +02:00
parent 9a4da41b49
commit 545eb013bd
14 changed files with 392 additions and 120 deletions
+8
View File
@@ -46,6 +46,14 @@ npm run test:integration
The integration suite drops only the temporary databases it creates. Override `TEST_DATABASE_URL` when PostgreSQL is not available at the development default on port 5433.
Run the isolated Chromium smoke test after installing its browser runtime once with `npx playwright install chromium`:
```bash
npm run test:e2e
```
The smoke harness builds the application, creates a disposable PostgreSQL database and level, exercises move, hand-pan, board-only pinch zoom, folder expansion, file movement, and reload persistence, then removes the test database.
## Data and API
The server stores its tables and migration ledger in the dedicated `osint` schema of PostgreSQL. `DATABASE_URL` is required.