Commit 1d87d76
#127 made an anonymous hit on the /journey root land on /start instead of
the signin form, but left e2e/smoke.spec.ts asserting the old contract.
That PR was merged 100 seconds after opening while its checks were still
pending, and its e2e run went red afterwards. e2e.yml triggers on
pull_request only, never on push to main, so nothing re-ran and nothing
reported it. main has been shipping a behavior its own suite contradicts,
and every PR opened since inherits the failure: #125 and #126 are pure
bun.lock changes and both fail on this test.
The code is right and the test was stale, so the test moves.
Splits the unauthenticated case in two rather than just repointing the
URL. ANONYMOUS_LANDERS in proxy.ts is keyed on the exact stripped path,
so /journey diverts to /start while every deeper app URL still walls to
signin with callbackUrl preserved. Asserting only the lander would stop
proving anything about auth, which is what the original test was for;
asserting only the wall would not notice the lander regressing back to a
login form. /de/risks covers the second half and is already exercised
elsewhere in the suite.
de is the default locale under localePrefix "as-needed", so the lander
target carries no locale prefix: /de/journey resolves to /start.
Not verified locally: the suite needs Postgres, a seeded database and a
production build, so CI is the check here.
Claude-Session: https://claude.ai/code/session_01J93t7LS29yZq2app1Pqsmn
Co-authored-by: Claude Opus 5 (1M context) <noreply@anthropic.com>
1 parent cfd69b0 commit 1d87d76
1 file changed
Lines changed: 31 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
16 | | - | |
17 | | - | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
18 | 33 | | |
19 | 34 | | |
20 | 35 | | |
21 | 36 | | |
22 | | - | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
23 | 40 | | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
24 | 51 | | |
| 52 | + | |
25 | 53 | | |
26 | | - | |
27 | | - | |
28 | | - | |
29 | 54 | | |
30 | 55 | | |
0 commit comments