Volleyball Elite Academy development update
|
Volleyball Elite Academy
Verify the session page lands on the right un-rated athlete when a coach jumps from the amber 'N / M rated' pill
|
Verify the session page lands on the right un-rated athlete when a coach jumps from the amber 'N / M rated' pillVolleyball Elite Academy — Development Update • May 11, 2026
--- title: Verify the session page lands on the right un-rated athlete when a coach jumps from the amber 'N / M rated' pill ---
Verify the session page lands on the right un-rated athlete when a coach jumps from the amber 'N / M rated' pill
## What & Why Task #600 just pinned the consumer effect on with a mount-level integration test. The sibling consumer effect (Task #441) right above it in (~line 3696) is structurally identical — bumps phase to "execution", scans for the first roster athlete whose is still null, selects that tab, scrolls the rating card into view, and strips the param. It has no equivalent mount-level coverage today, so a refactor that swaps the "rated" predicate or renames the rating-card test id could silently regress the amber-pill landing flow even though the producer-side click test on the coach card still passes.
## Done looks like - A new vitest under mounts (same harness shape as ) with a stub roster + a partial payload (some rows with set, some with it null) and carrying - Asserts: phase flips to "execution", matches the FIRST un-rated roster athlete in roster order (NOT just the first liveRatings row), is called on that athlete's rating card, and the param is stripped - A negative-branch test confirms a fully-rated session (every roster athlete has effortRating set) still bumps to the execution phase but leaves untouched and scrolls to the sentinel instead
## Relevant files - (consumer effect at the branch, ~line 3696) - (Task #600 — copy the harness, swap the deep-link + roster shape) - (producer-side Router round-trip click test for the amber pill, for reference)
|
Volleyball Elite Academy Reply to this email — we read every reply. You received this because you have an account with Volleyball Elite Academy. elitevolleyball.training |
|
No comments:
Post a Comment