trails/e2e
Ullrich Schäfer 0e267afac7
e2e: shared auth + journal seed helpers; flag unregistered specs
The virtual-authenticator setup and registerUser were copy-pasted into
six spec files and had drifted: the auth spec's copy lost the final
URL assertion, and the settings spec's variant skipped hydration and
the Terms checkbox entirely. Seed-route boilerplate and hardcoded
localhost URLs were repeated across three more files.

- helpers/auth.ts: setup/removeVirtualAuthenticator,
  submitRegistration (no outcome assertion, for expected-failure
  attempts), registerUser (asserts the signed-in redirect),
  registerFreshUser, logout
- helpers/journal.ts: JOURNAL/PLANNER base URLs, seedRoute,
  routeHasGeom, seedKomootConnection
- nine spec files now import the helpers instead of re-deriving them

Found while consolidating: settings.test.ts, explore.test.ts, and
social.test.ts are not matched by any playwright project and have
never run — which is how the settings spec's broken register helper
survived. Registering them (and fixing whatever has rotted) is a
follow-up; the config now carries a warning so the trap is at least
documented.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-06-10 07:31:51 +02:00
..
federation feat(journal): two-instance federation harness + trails↔trails Accept fix (§11) 2026-06-07 13:36:35 +02:00
fixtures Stabilize e2e against Vite dev hydration race 2026-05-08 01:06:27 +02:00
helpers e2e: shared auth + journal seed helpers; flag unregistered specs 2026-06-10 07:31:51 +02:00
auth.test.ts e2e: shared auth + journal seed helpers; flag unregistered specs 2026-06-10 07:31:51 +02:00
demo-bot.test.ts Fix e2e fallout from default-private profile_visibility 2026-04-25 23:46:56 +02:00
explore.test.ts e2e: shared auth + journal seed helpers; flag unregistered specs 2026-06-10 07:31:51 +02:00
integration.test.ts e2e: shared auth + journal seed helpers; flag unregistered specs 2026-06-10 07:31:51 +02:00
journal-planner-save.test.ts e2e: shared auth + journal seed helpers; flag unregistered specs 2026-06-10 07:31:51 +02:00
journal.test.ts Rebuild the Journal home around a public feed and flagship marketing 2026-04-24 20:00:23 +02:00
komoot-import.test.ts e2e: shared auth + journal seed helpers; flag unregistered specs 2026-06-10 07:31:51 +02:00
notifications.test.ts e2e: shared auth + journal seed helpers; flag unregistered specs 2026-06-10 07:31:51 +02:00
planner-coloring.test.ts test(e2e/planner-coloring): bump canvas timeout 10s→20s 2026-05-25 23:44:53 +02:00
planner-multiday.test.ts Split planner E2E tests into focused feature files 2026-05-22 21:58:10 +02:00
planner-overlays.test.ts Split planner E2E tests into focused feature files 2026-05-22 21:58:10 +02:00
planner-routing.test.ts Split planner E2E tests into focused feature files 2026-05-22 21:58:10 +02:00
planner-session.test.ts Split planner E2E tests into focused feature files 2026-05-22 21:58:10 +02:00
public-content.test.ts e2e: shared auth + journal seed helpers; flag unregistered specs 2026-06-10 07:31:51 +02:00
settings.test.ts e2e: shared auth + journal seed helpers; flag unregistered specs 2026-06-10 07:31:51 +02:00
social.test.ts e2e: shared auth + journal seed helpers; flag unregistered specs 2026-06-10 07:31:51 +02:00