test(app): every shell suite drops late replays after a test

The client journey could fail after it passed: since V1-1.6 the client page
reloads its animals after a restore, and that replay outlived the test. One
support helper unroutes without waiting, for the three shell specs. Found by
the V1-1.6 verifier. Memory: BDR-079, LRN-087 to 089.
This commit is contained in:
bchanot committed 2026-10-26 17:38:52 +01:00
1 parent 212392263c
commit 10413478fb
8 files changed
+74 -9

No files matched your search

@@ -76,3 +76,21 @@ BROWSER_TESTS, TEST_STRATEGY, FRONTEND_ARCHITECTURE, design README, CLAUDE.md up
C12. **Technology boundary.** No business rule re-implemented in TypeScript that PostgreSQL already enforces beyond the
D-R7 form checks; no artificial Rust/wasm call; the boundary choice written in §11.8.
## CLARIFICATIONS
- Owner brief §17 (not on disk), items 1 to 24, and where `e2e/shell/animals.spec.ts` covers them: 1 sign-in and
workspace (every test's `signIn` + `openAnimals`); 2 empty list, 3 creation without owner, 5 search, 6 species
filter, 7 consultation, 8 edit, 10 archive and restore (test « empty list, an « Autre » … restore »); 4 creation with
an initial relation, 11 creation from a client page, 12 linking an existing animal (« from a client page … »); 13
several owners, 14 normal end, 15 voiding, 16 duplicate refused (« animal page: co-owners … »); 17 two accounts, 18
change of session (« two accounts and a change of session »); 19 keyboard (« keyboard only »); 9 revision conflict
(« a concurrent edit »); 23 retry after a lost answer (« a lost answer »); 24 network errors (« failures … »); 20
FR/EN (every test in both languages, plus « the animal pages follow a change of language »); 21 desktop and 375
(both projects); 22 axe on the new pages (every state). Pagination: « pages of 25 ».
- Restore of an archived animal is one button with no confirmation, as on the validated client page (V1-1.5); only
archiving is confirmed.
- Verifier round 1 (ECARTS C10): the client journey failed intermittently on a late replay after its restore (the
client page now reloads its animals). Fixed: `dropLateReplays` in `e2e/support/sandbox.ts`, called after each test
by the three shell specs; the client journey ends on the reloaded animal section; `e2e:shell` 82/82 three runs in a
row.