trails/.github
Ullrich Schäfer e7a0c132b9
Add e2e tests for Planner callback → geometry stored atomically
Introduces two E2E=true-gated test endpoints:
- POST /api/e2e/seed — creates a test user + bare route, returns routeId + JWT
- GET /api/e2e/route/:id — returns { hasGeom } for post-callback assertions

Three new integration tests:
- valid GPX via callback stores geometry (hasGeom = true)
- invalid GPX (< 2 track points) returns 400, geometry not stored
- missing token returns 401

CI: E2E=true added to the "Run E2E tests" step so the seed endpoints
are enabled when react-router-serve runs during the Playwright job.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-10 15:18:33 +02:00
..
workflows Add e2e tests for Planner callback → geometry stored atomically 2026-05-10 15:18:33 +02:00
copilot-instructions.md Simplify copilot-instructions.md to point to CLAUDE.md instead of duplicating content 2026-03-29 12:41:30 +00:00
dependabot.yml Tighten dependabot ignore rules 2026-04-19 10:58:05 +02:00