feat: add Playwright e2e tests (30 tests, full coverage) #23
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "feature/e2e-tests"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
E2E Tests - Playwright
Priorite #1 du heartbeat: tests e2e pour tous les projets.
Couverture (30 tests)
API Tests
/api/health- status, uptime, memory, ws_clients/api/info- board config, palette, cooldowns/api/palette- 24 hex colors/api/metrics- metrics snapshot/api/board- binary buffer 1024x1024/api/board.png- valid PNG, scale parameter/api/board/region.png- region export/api/session- guest session creation, cookie reuse/api/register- user registration, validation (short/long username)/api/profile/:userId- profile lookup, 404 for unknown/api/leaderboard- array response/api/history- recent placements, pixel history, limit paramFrontend Tests
WebSocket Tests
Setup
All 30 tests pass on chromium.