1
0
Fork 0
polaris-task-force/tests/e2e
Z8MB1E caf77e3a6b feat(tech-tree): optimistic concurrency for the tree editor
Guard the Technologies collection with an X-PTF-If-Unmodified-At
precondition hook (update-only, header-only) that rejects stale writes
with HTTP 409 and a stale_write payload, placed before the approval
reset hook. Bulk position writes gain per-row ifUnmodifiedAt tokens in
one all-or-nothing statement; conflicts return the offending ids and
successful writes return fresh tokens so clients advance their own
versions. The lite editor shows a Version Conflict dialog (load latest
or overwrite anyway); canvas position conflicts surface as a toolbar
banner with refresh / force-overwrite plus red node rings.

Tests: new tech-tree-concurrency int spec (guard, coexistence with the
approval reset, positions preconditions), two e2e scenarios for the
dialog and the banner; existing positions spec adapted to the new
return shape.
2026-10-15 11:48:30 -04:00
..
analytics.e2e.spec.ts test(analytics): add collector, rollup, retention integration suite and e2e smoke 2026-10-14 12:13:01 -04:00
banner_check.spec.mjs test(e2e): seed e2e user, serialize workers, and deflake specs 2026-09-30 18:43:29 -04:00
frontend.e2e.spec.ts test(e2e): seed e2e user, serialize workers, and deflake specs 2026-09-30 18:43:29 -04:00
garage.e2e.spec.ts test(garage): cover placement validation, access gating, and bridge sync 2026-10-13 16:02:58 -04:00
global-setup.ts test(e2e): seed e2e user, serialize workers, and deflake specs 2026-09-30 18:43:29 -04:00
minigame-leaderboards.e2e.spec.ts test(minigames): e2e smoke for the leaderboards page and document periods 2026-10-11 17:06:52 -04:00
minigame-upcoming.e2e.spec.ts feat(minigames): show upcoming games as disabled with a release countdown 2026-10-11 18:47:43 -04:00
mission-planning-map.e2e.spec.ts feat(missions): add a per-mission planning map with Arma markers 2026-10-04 02:53:21 -04:00
operations-reservations.e2e.spec.ts test(e2e): seed e2e user, serialize workers, and deflake specs 2026-09-30 18:43:29 -04:00
operations.e2e.spec.ts test(e2e): seed e2e user, serialize workers, and deflake specs 2026-09-30 18:43:29 -04:00
opord-recall.e2e.spec.ts test(e2e): seed e2e user, serialize workers, and deflake specs 2026-09-30 18:43:29 -04:00
supply-boxes.e2e.spec.ts test(e2e): seed e2e user, serialize workers, and deflake specs 2026-09-30 18:43:29 -04:00
tech-tree.e2e.spec.ts feat(tech-tree): optimistic concurrency for the tree editor 2026-10-15 11:48:30 -04:00
tours.e2e.spec.ts feat(tours): add permission-aware guided tours with replay and device opt-out 2026-09-30 18:43:21 -04:00