31 KiB
V1-2.6 UX redesign: test matrix per sub-step
Status: PROPOSAL, 2026-11-05, revised after the independent review and after the owner's answers of 2026-11-05.
Companion of V1-2-6_UX_PLAN.md (the common rules of §3 apply: absolute paths, sandbox-only database commands,
forbidden commands). No test is written before the owner authorises the sub-step that carries it.
Common gates
| Gate | Command | When |
|---|---|---|
| Core | pnpm rust:check then pnpm wasm:build |
any change under crates/ |
| App and packages | pnpm typecheck, pnpm test:run, pnpm lint, pnpm build |
always |
| Size | packages/core-wasm/tests/size.test.ts: Node gzipSync(bytes, { level: 9 }) on packages/core-wasm/pkg/faunosteo_wasm_bg.wasm, at most 600 000 B; the figure printed by that test recorded in RUST.md; never a system gzip figure; the budget never raised silently (T1, LRN-118) |
any change under crates/core or crates/wasm |
| Seed and pipeline | pnpm r5:import-equine --check with no difference |
always |
| Frozen references | no change under crates/core/tests/oracles/, apps/app/tests/fixtures/goldens/, supabase/seed/ (git diff --stat on those paths is empty) |
always |
| Browser, no backend | pnpm e2e:ui |
always |
| Sandbox | pnpm db:sandbox up fresh, then test-db → e2e-shell → test (LRN-113) |
always |
| Worker | pnpm worker:image, then pnpm db:sandbox verify-e2e (refuses an image not built from HEAD after U6) |
U6, U8 |
| Pre-checkpoint | pnpm check:all |
every code sub-step |
| Reviews | fresh verifier on the sub-step contract; fresh security review on the diff | every sub-step |
Property tests: seeded generators inside Rust tests (fixed-seed linear congruential sequence, a few thousand cases per property, a failing seed kept as a regression case); no new dependency. TypeScript arithmetic is covered by table tests.
Accessibility: axe with zero serious or critical violations per state (docs/development/BROWSER_TESTS.md:73-91),
keyboard-only journeys, a text next to every colour, visible focus on every handle. Chromium only until V1-5; WebKit
and real tablets are owner trials.
Path guarantee (T16), every sub-step that touches geometry: a fixture sheet holding paths (never the seed) keeps
every path's d text byte for byte through the sub-step's journeys, save and reload.
U0 · Contract and decisions
| Kind | Test |
|---|---|
| Review | fresh verifier on the U0 contract (.claude/tasks/contracts/2026-11-05-v1-2-6-ux-u0.md): each owner answer of 2026-11-05 recorded once (DECISIONS, contract §17.12, BDR-100, BDR-101) and cited where it applies; no contradiction between contract §6.2, §6.4, §6.7, §7.4, §8.2-8.4, §12.2 (O22 amended), §16.7, §16.12, the level-1 criteria (C3, C4, C5, C6, C7, C8, C11, C13, C16, C18, C20, C25, C28, C32, C33, C40, with the precedence rule of its header), the rules files and the boards; the two SQL checks described at save and at approval and publication and stated as not built; no normative common text written (T12); every cross-reference resolves |
| Preconditions | pnpm r5:import-equine --check clean; seed geometry counts (T16) re-run; wasm figure by the gate's call (LRN-118); git diff --stat empty under crates/, apps/, packages/, supabase/, scripts/ |
U1 · Shell
Implemented (contract .claude/tasks/contracts/2026-11-06-v1-2-6-ux-u1-1123.md). The former « Tooling » row moved to U6 (the verify-e2e image check and the demo sheet provisioned by the trial command).
| Kind | Tests |
|---|---|
| Unit | four-tab model, initial tab, width tiers (replaces editor-route.test.tsx:66, 128-170, editor-mode.test.ts:99-110); header undo and redo states; undo from each tab reverts the last commit made on another tab; a typed field is flushed before the header undo (behaviour pinned); header undo accessible name and tooltip « Défaire la dernière modification » (T15, superseded by D5); « Abandonner les modifications » for the return to the saved revision (C11 as amended); references panel open, close, return focus; « Aller à » target for every issue kind (verification.ts:64-131) |
| E2E shell | helpers rewritten (e2e/support/editor.ts:326-330, warm-up.ts:43-45, editor-access.spec.ts:34-42); every existing editor journey green on the new shell; sidebar hidden in the editor at 1 024, 1 180, 1 279 px, shown at 1 280 px, menu reachable in one tap; narrow-width read-only unchanged |
| Accessibility | axe on the four tabs and on the open references panel; Tab order header → tabs → panel → canvas |
| Regression | recovery and conflict specs unchanged; level-1 criteria C13, C14, C16, C34, C41 re-run (T11); each removed assertion mapped to its replacement in the commit message |
U2 · Points and polygons
Implemented (plan .claude/tasks/plans/2026-11-17-v1-2-6-u2.md, rev 4 then rev 5 (owner decisions D1 to D5, 2026-11-19); boards docs/design/v1-2-6-u2/, A1 to A15 and the three adjustments). Rule numbers (R-n) are the plan's. Gates (plan Task 16) on the final code, 3d6aacad, 2026-11-19: pnpm check:all exit 0 (app 2 158, core-wasm 67, supabase 182 tests, e2e:ui 253); the shell suite without editor-equine.spec.ts, on two workers (--workers=2; a run at the default count was stopped for lack of memory on the machine), 347 passed, 13 failed, 234 skipped, all in three files outside the editor (on the rev 4 code, da8642dd: 330 passed, 17 failed, 5 not run, in four files). These environment failures are named with their evidence and are not resolved; none is presented as formally independent of U2. Owner decision D5 (2026-11-19): they do not block the manual trial. admin (6): timeouts that the 56c75b1 baseline log also shows (sandbox data); no further attribution. catalogue-integrity (6): not attributed to U2. The pre-U2 commit 56c75b1 fails the same 6 of 6 tests, on the same assertion, with the same timings, on the same data (2026-11-19, one worker, read-only counts, nothing deleted); the published versions rose from 426 to about 690 in a day of runs, and the failing set grew from 4 to 6 in both trees, so volume is the inferred cause (the card list loads every card before the search narrows it past the 10 s wait). Volume causation is inferred from that trend and the identical baseline, not isolated: a low-volume run needs a reset, which D4 forbids. catalogue (3) and admin-sheets-list (2): « Target crashed » under the parallel run; both pass 16/16 with one worker (--workers=1, 2026-11-19); the logs show nothing more; neither crashed in the two-worker run on 3d6aacad. animals (1, new on 3d6aacad): axe reports a colour contrast on the two buttons of the archive confirmation, at 375 px; intermittent, 1 failure in 12 runs of that journey (--repeat-each=3, one worker). A centred dialog renders as before U2 (the Dialog.tsx change only places an anchored one); the inferred cause is axe measuring during the entrance fade, which the helper's wait on Web Animations does not see. Inferred from the code, not reproduced on 56c75b1, so not attributed. pnpm db:sandbox test 105 passed, 10 skipped, and test-db Files=21 Tests=1958 FAIL on 014_animals_relations (2) and 021_sheet_verification_jobs (23), identical to before U2, which changes no SQL (run at 0aa0f6bc). The sandbox is never reset or rebuilt on this work (D4). Both opt-in measures rerun (figures in the Performance row). The owner trial is pending. The suites run on the sandbox only (pnpm db:sandbox).
| Kind | Tests |
|---|---|
| Unit (tables) | the press machine (annotations.press.test.ts): slop per kind (4, 6 and 10 CSS px), click and drag decisions, handle priority (vertex over « − » over « + », nearest first), double click within 400 ms and 8 px opens the dialog and never inserts, a second pointer cancels; slider stops, most-used radius, snap within 8 CSS px, range (pointSize); midpoint insert after the segment start, « − » refused at 3 vertices (message.vertex_min), vertex move, no-op move, the 40-vertex cap, « + » hidden under two hit radii (polygonEdit); Escape action (escape); missingFields names only the missing fields in form order; keyboard map (arrows by 0.5 % of the frame's longer side, Shift ×10, Insert and Delete on a vertex, Backspace while tracing, Enter, Escape, roving focus); arrows pan only when the box itself is focused (useFraming, catalogue defaults unchanged); two pointers translate without scaling (twoPointerPan) |
| Unit (state) | every preview, keyboard series and chosen vertex carries the documentText it was computed on, and a stale stamp is refused (annotations.workStore.test.ts); a preview is cancelled and restored, never committed, on undo, document replacement, tab change and a second pointer; redo is held (the header « Refaire » aria-disabled, Ctrl+Shift+Z inert) while a move mode, a redraw or uncommitted arrow or slider steps are pending, so the pending work is kept, never dropped (editor-zone-edit.test.tsx « final review I-1 »); a held « Refaire » or « Défaire » (a creation holds both) carries its reason as the accessible description only when its cause alone holds it (something to redo or to undo), a press shows the reason in the held reason bubble (row « Held reason bubble » below) and does nothing else (a mouse press no longer commits a pending series), a mouse or touch press on « Défaire » over pending work only cancels it and keeps the redo stack, Ctrl+Z during a hold is silent, and a press while another tab is shown also shows the bubble and keeps the description (holdOf, HistoryButtons.tsx, editor-history-buttons.test.tsx); « + » and Backspace on a focused vertex handle insert and remove like Insert and Delete, and after an undo the keys act on the focused handle (useZoneEdit.ts); a Safari tap (no focus move) on a tool, a view chip, an editor tab or an overview row (annotation or view) after a keyboard series commits it and lands the focus on the pressed control, never on body; the zone handles remount per annotation, so a row tap from a focused vertex of another zone lands on the row (editor-zone-edit.test.tsx); a resumed trace gets the polygon handles on its pending shape, named « cette nouvelle zone » or « ce nouvel accès » while the form has no name, with no interior drag and no handle above 40 vertices (editor-creation-dialog.test.tsx); an undo with a move mode, a slider or a series pending only cancels the preview (R-13); during a creation undo is inactive and « Défaire » is hidden (A12); the message line: « Point déplacé · Défaire » calls the same undo() as the header, any commit, undo or redo closes it, a refusal is role="alert" without « Défaire », 6 s, a mouse hover or the keyboard focus inside the line pauses it (WCAG 2.2.1) and a touch does not; the hint after a futile finger drag only when the line is free and never after a two-finger gesture worked (R-1); the slider commits once on release (history depth after a keyboard walk); the strip keeps a fixed height and truncates a long name before the status; dialogs mounted outside EditOnly: the width flip and the mode flip keep the draft, disable the save and commit nothing (R-14); a creation, a started move mode or a started redraw asks before a tab, a section, a view chip, a tool, Back, Escape, sign-out or leaving the editor, and a document change made elsewhere announces the dropped work (R-12, R-13); Dialog anchor, a click on the veil does nothing (R-6); undo history cap 8 MiB, about 47 equine steps (R-15) |
| Core | the per-view minimum visible radius (PreviewState.min_point_radius) equals the marker_too_small threshold on the equine views and on edge frames (sheet_preview.rs, editor-min-point-radius.test.ts) |
| E2E mouse | drag a vertex, « + », « − », zone drag on a selected zone, redraw accepted, redraw refused by interior_too_small keeps and restores the old shape, undo and redo of each (editor-zones.spec.ts); a point: handle drag, size by a click on the track, the move mode (editor-annotations.spec.ts); the properties dialog opens over the right column and never over the drawing, a click on the veil does nothing, a double click on the selected zone opens it and inserts no vertex, a typed form then Back asks, a width crossing below 1 024 px keeps the draft (editor-properties.spec.ts); « Défaire » in the message line undoes the same entry as the header button, which carries the accessible name « Défaire la dernière modification » (T15; EN « Undo the last change »); during a held arrow series a mouse press on « Défaire » cancels it and « Refaire » restores the earlier move (editor-annotations.spec.ts); a Tab and Shift+Tab walk over the drawing place's native controls, and a keyboard Delete whose next vertex starts under the strip, land below the strip at 1 024, 1 180 and 1 280 px (editor-geometry.spec.ts) |
E2E touch (hasTouch, 1 024, 1 180, 1 280 px; CDP Input.dispatchTouchEvent) |
one finger drags a vertex and the point under the loupe; every handle hit circle is at least 44 px; one finger off the handles moves nothing and shows the hint once, with no hint over a page scroll; two fingers zoom and pan; finger 1 on a vertex handle then finger 2: the drag is cancelled, the shape restored, nothing committed, the pinch zooms (Review Focus 1); the move mode by a finger; a tap on the selected shape opens the dialog and it stays open (Review Focus 5), with a chosen vertex it unchooses; the trace closes from a finger within 22 px; page scroll over the canvas with a selection and outside it (editor-touch.spec.ts, editor-properties.spec.ts, editor-deselect.spec.ts) |
| Layout (A14) | expectNoShift (e2e/support/layout.ts) at 1 024, 1 180 and 1 280 px: no box of the canvas, the strip, the aside or the header moves, scrollHeight and the scrollbar gutter are unchanged, and the layout-shift sum is zero around selection, strip content, a message showing and expiring, the hint, a dialog opening and closing, mode entry and exit, and the first commit's save line; scrollbar-gutter: stable on the editor page only (editor-annotations.spec.ts) |
| Held reason bubble (D1, criterion 33) | unit (editor-held-bubble.test.tsx, editor-history-buttons.test.tsx): a press by click, Enter, Space, mouse and touch shows the reason in a portalled position: fixed bubble, with and without the strip's commands to clear; one announcement per press through an always-mounted role="status" region, aria-describedby kept; closing on the hold ending, a tab change, blur, a press elsewhere, a scroll, a wheel, a touchmove, a dialog opening and Escape; the first Escape closes the bubble alone, the second reaches the creation question or drops the pending preview, in a text field Escape also reaches the field; e2e (editor-annotations.spec.ts) at 1 024, 1 180 and 1 280 px: the bubble inside the window, under the bar, within 8 px under its button, at most 288 px wide, over neither « Défaire » nor the strip's commands, expectNoShift, scrollWidth unchanged, axe open, repeated scrolled and from the keyboard, the scroll awaited by a helper that waits for three still animation frames |
| Pinned drawing column (Task 17, criterion 32) | editor-geometry.spec.ts at 1 024, 1 180 and 1 280 px: at each scroll step the column's top is below the strip, its bottom in the window once stuck, the canvas painted at its top centre, its size constant, no sideways scroll; a focus never scrolls the page (« Défaire », a chip, a handle, the canvas box) and the add button, below the fold, is revealed below the strip; Delete and Insert on a pinned vertex keep the page still; a row selection moves neither the page nor the drawing; at 1 180 × 700 the canvas is capped and the column fits the window; at 1 024 × 600 (below 644 px) nothing is pinned and the Task 14 focus tests run there; editor-deselect and editor-journey presses no longer scroll to the page top |
| Keyboard | create a zone, add and remove a vertex, move the zone, validate, without a pointer; « + » inserts and Backspace removes on a focused vertex, Backspace after an undo acts on the same focused handle; Ctrl+Z on a focused handle after arrow moves only cancels the preview and a later Enter commits nothing stale; after undoing « + », « − » never removes the wrong vertex; « Désélectionner » commits a pending series |
| Paths (T16) | a path annotation gets no handle, no « + » or « − », no zone move in either mode, no keyboard move; its d is byte-identical after every gesture on its neighbours, a save and a reload; « Remplacer par un polygone » stays the only change: explicit, validated by the core, the path kept while tracing, on Escape and on a refusal; one undo entry restoring the exact d, redo restoring the polygon (owner, BDR-101) |
| Accessibility | axe on selection, tracing, move states and the dialog in read and edit modes; handle names (« Point {nom} », « Sommet {n} de {nom} », « Ajouter un sommet après le sommet {n} de {nom} », « Retirer le sommet {n} de {nom} », the handle group « Sommets de {nom} »); live-region message after a move; WCAG 2.5.7: the move mode with four arrow buttons is the single-pointer path without dragging (A11) |
| Performance | commit latency under the 500 ms budget for drag, insert and remove, a measure run by hand at the gates (e2e/support/measure-commit.ts, editor-measure-commit.spec.ts, MEASURE_COMMIT=1) on a run-seeded equine-sized draft, never on the historical copy nor through editor-equine.spec.ts. Measured 2026-11-18 on a production build under vite preview, Chromium mouse at 1 280 px, CPU ×4, from the release to the painted frame showing the new geometry with the undo entry; on the final code (3d6aacad, 2026-11-19): median / max drag 173.2 / 199.2 ms, « + » 184.1 / 185.5 ms, « − » 168.7 / 185.6 ms (three runs each; da8642dd: 182.5 / 199.9, 176.3 / 183.1, 173.8 / 177.1 ms; 15b23f8 and earlier figures in plan Task 10); the drag smoothness is a measure, not an assertion (e2e/support/measure-drag.ts, editor-measure-drag.spec.ts, run by hand). Measured 2026-11-18 on a production build under vite preview, Chromium touch at 1 180 px, CPU ×4: frame work p95 3.9 to 4.5 ms with the loupe (technique A, final code 15b23f8; 4.2 to 4.7 ms before), 4.0 to 4.4 ms outline only (B), 3.6 to 4.2 ms without a loupe; technique A kept. Rerun on 3d6aacad (2026-11-19, same setup): touch with the loupe (55 of 57 samples), handler to frame median 3.0 ms, p95 4.3 ms (event to frame median 26.0 ms, p95 36.2 ms); mouse, handler to frame p95 4.0 ms (da8642dd: 3.0 / 4.3 ms, event 27.8 / 30.3 ms, mouse 3.1 ms). The figures are in plan Task 8; the owner's tablet trial is the real check |
U3 · Category panel and own colour
| Kind | Tests |
|---|---|
| Unit | own colour hidden when null; « Revenir à la couleur de la catégorie » sends one update with color: null; new annotations carry no colour; staged form: preview leaves history untouched, Apply commits one batch, Cancel restores the handle; « Réaffecter à… » commits one batch and one undo entry |
| E2E | demo sheet with the equine own colours: atm shows #ff8800, revert, undo; recolour with preview, cancel, apply; reassign then delete a category |
| Accessibility | every swatch has its name next to it; palette keyboard-operable; axe on states A to D |
U4 · Detail view by rectangle (manual)
| Kind | Tests |
|---|---|
| Unit | rectangle normalised from any drag direction and clamped to the parent frame; keyboard resize of its handles; toolbar without the access tool; view menu « Ajouter un accès » asks the editor for the category (no default category, T10 interim) |
| E2E | create a detail view by mouse and by keyboard, view.unreachable until its access exists, place the access with an explicitly chosen category, open the view in the practitioner preview |
| Core regression | compose.rs tests and canvas goldens unchanged |
| Accessibility | axe on creation and placement states |
U5 · Detail view assisted
| Kind | Tests |
|---|---|
Rust annotations_in_rect |
circle, polygon, path, trigger; inside, partial, none; rect on an edge; empty view; unknown view; invalid rect |
| Rust replacement options (T9) | offer call before upload reads V from the candidate text; keep offered iff V equals R; reposition offered iff V differs from R, same aspect ratio on the 0.01 grid; no viewBox → only cancel; a point pushed out of frame by rounding refuses the remap; no path, no descendant crop, numbers in range; different aspect refused remap.aspect; path refused remap.path; descendant crop refused remap.descendant_crop; no frame refused; reposition output = command batch; numbers on the 0.01 grid; triggers drawn in the view remapped; descendant view with its own drawing untouched |
| Properties (seeded) | identity mapping returns the geometry exactly; mapping then inverse within 0.01 per number; inside ⇒ bounds within the rect; a rect equal to the frame ⇒ every annotation of the view inside |
| Hostile (op level) | non-finite and out-of-range rect, unknown ids, oversized command output bounded; no panic |
| Wasm | core-wasm proofs through the preview handle; size gate after each op, figure printed |
| Unit app | name formatting FR and EN (one, two, three, more with « … », none → « Vue détaillée n »); the replacement dialog: opens on every replacement, before any upload, no action preselected, unavailable actions disabled with their reason, « Annuler » sends no request and leaves document and history unchanged |
| E2E | board 08 without automatic access: rectangle over the elbow, proposed name, explicit placement, preview; replacement dialog: the seed head drawing on a crop with the same viewBox → keep and cancel offered, keep applied, annotations to_confirm; a re-based fixture drawing with the same aspect → reposition applied, all moved annotations to_confirm, one undo entry; a fixture with another aspect → reposition disabled with its reason; cancel → no upload request, document byte-identical; a keep or reposition failing the geometry accept → document unchanged, message |
| Accessibility | axe on the dialogs; the reason of a disabled action is announced |
U6 · Category model
| Kind | Tests |
|---|---|
| Rust serialisation | both keys round-trip; absent keys not written (no role or fill_opacity text in the re-serialised seed); explicit null refused; opacity outside 10-100 or not an integer refused; unknown role refused |
| Rust identity pins (T2, BDR-068) | equine fingerprint 12d78872… and alias 27c7383c… recomputed equal; every seed review digest equal to its value pinned before the change; characterisation_serde_tolerance.rs, sheet_fingerprint.rs, r5_6_switch.rs green unchanged; fingerprint.rs construction unchanged in the diff |
| Rust rules, verdict tier (T4) | absolute on the draft: missing role, duplicate role, wrong FR or EN name on a role-bearing category each give an error issue mapped to verification.validation.rules; a first version with no base is judged the same; the base is never judged; validate.rs issue lists identical before and after on every fixture |
| Rust rules, editor tier (T4) | refused: remove a role-bearing category, change or clear its role, a duplicate role, a rename away from the fixed names, any navigation assignment; giving a role writes the fixed names in the same update; repair commands (insert a missing fixed category, restore fixed names, clear a duplicate role) turn every state a direct save can write into one that passes the rule |
| Rust empty sheet | sheet.empty creates the three categories with the ratified T5 ids, names, roles and colours and passes sheet.check and the T4 rule |
| Rust layer | absent keys → R3 trees identical; present fill_opacity changes only the twin and zone fill attributes; triggers unchanged; svg_marker_isolation.rs green |
| Rust snapshot (T2, T7) | lean_document and the export gate strip both keys; controlled widening: the snapshot reader accepts exactly the two keys with their types and range, and gives Schema (report kept) for any other unknown key, null, unknown role, out-of-range opacity |
| Equine history (T5) | conversion of an in-memory copy of the seed draft (roles on the T6 categories): seed bytes, fingerprint, alias and every review digest equal before and after; the copy differs only in the converted categories; pnpm r5:import-equine --check clean |
| App and N-1 | New-present sheet fixture and harness: exported PDFs pass the assertions of n-1.reader.test.ts:178-196; contracts.types.test.ts green with ts(optional); measure.test.ts green; PDF goldens unchanged |
| SQL | the U6 migration: pgTAP with rounds of draft versions in verifying, open, approved before it and withdrawn after with the reason; core gate: a passed verdict with an older verified_with refused, the U6 marker accepted; save_sheet_draft accepts a draft without roles over a stored draft without roles; the approved declared check refuses a save where a role is carried by two categories, a role-bearing category lacks its fixed FR or EN name, or a role of the stored draft is lost, and accepts each repair save; private.sheet_fixed_categories_ok refuses approval and publication outside the fixed model; the rules epoch RPC answers; draft rounds withdrawn while the approved round of each published version stays approved; approval and publication refused without a current passed verdict; pnpm db:sandbox up upgrade from the current migration set; types --check |
| Worker | image rebuilt from HEAD; verify-e2e refuses an image whose commit label differs from HEAD (moved from U1) and the trial command provisions the demo sheet through the application upload path (moved from U1); verify-e2e with a New-absent draft (fails on verification.validation.rules), the same draft repaired, which then carries roles (passes), and a sheet created by the U6 sheet.empty (passes) |
| Write lock (T4) | on a sandbox with the old worker image and the U6 SQL: a role-less draft's round never opens (gate); a save stripping the roles of a role-bearing draft refused (save check); the U6 app on a stack without the rules epoch writes no key and creates no new-model sheet; publication and approval refused outside the fixed model even with a forged passed verdict (pgTAP) |
| Flipped suites | sheet_verdict.rs:39-52, 80-90, sheet-verification.sandbox.ts:27, 209-211, 373, worker fixtures and tests/verify_loop.rs moved to converted in-memory copies, each change mapped in the commit message; seed unchanged |
| Navigation access (T10 option B, ratified) | cat-access with role navigation created on demand in the same core-built batch as the view and its access, only when the overlap list is empty; an edit that gives, changes or clears navigation refused; a second cat-access insertion refused; absent from the category panel and the pickers; an observable annotation in it and a second navigation category refused (edit) and reported (verdict); its role stripped from snapshots, N-1 reads the category |
| Unit and E2E app | board 07 locks (no delete, name read-only, role badge, « Couleur d'origine »); opacity slider and field synchronised, commit on release; board 09: regions from the vertebra-role category, picker filtered, staged « Appliquer (n erreurs) »; fallback « Régions vertébrales » entry when no category has the role, no duplicate entry once a Vertèbres category exists (T17); board 08 automatic access |
| Acceptance journey | a new non-equine sheet with the new UX (drawing, rectangle view, automatic access, points, zones, findings, custom opacity), saved, submitted, worker verdict passes, round open; its PDF exported, reopened by the app and read by N-1 (archive kept); the same journey with the roles stripped by a direct save: refused at save, the stored draft unchanged; a draft that never carried roles saves, its verdict fails and no round opens; no publication in either case |
| Recovery | a copy taken before an opacity edit restored after reload; conflict journey on a role-bearing category; « Garder ma version » with a role-less document: on a sheet whose stored draft carries roles, the save is refused by the declared check; on a role-less sheet it saves and shows the issue and the repair |
| Security | fresh review: no path writes the keys into an envelope; the SQL checks are exactly those declared under T4 and O22 as amended at U0 (contract §12.2: the save check and the approval and publication check, fixed-category invariants only); the core gate checks a version marker only |
| Accessibility | axe on board 07 and 09 states; the opacity value is exposed to assistive technology |
U7 · Common text
Starts only with the owner's text, its source and its validation record (T12).
| Kind | Tests |
|---|---|
| Unit | insertion only into empty FR and EN fields; never overwrites; template id and version in the change note; comparison read-only; tests use a fixture text marked as a test value, under tests/ only |
| Review | the shipped template module holds exactly the owner-supplied text; the commit cites the validation record; no other normative wording in src/ or the dictionaries |
| E2E | insert, edit, undo, save, reload |
| Accessibility | axe on General with the comparison open |
U8 · Closure
| Kind | Tests |
|---|---|
| Full run | common gates, check:all, sandbox order, verify-e2e, N-1 suite, frozen references unchanged, axe on every tab and state, keyboard-only journey, tablet touch journey |
| Acceptance | contract §16.7 journey re-run on the redesigned editor |
| Level-1 residuals (T11) | each tracked item re-checked and its state recorded (closed, still open, superseded by the redesign); level 1 still not declared validated as a whole |
| Paths (T16) | before the new model is activated on an environment and before U6 or U8 reaches any environment beyond the throwaway sandbox: read-only count of path geometries in its drafts and published versions recorded (sandbox by U6 itself; DEV and shared environments by the owner or under an explicit authorisation) |
| Owner trial | V1-2-6_OWNER_TRIAL.md updated; WebKit iPad and a real tablet by the owner |
Curves lot (ex-U9, deferred out of V1-2.6, T16)
| Kind | Tests |
|---|---|
| Frozen reader oracle | before any change: number_list, path_bounds, path_outline on a corpus (fixtures, hostile paths, owner exports) recorded; compared byte for byte after the change |
| Rust conformance | every command absolute and relative; implicit repeats; M followed by pairs; H and V along and off axis; S and T kept or converted; arcs (endpoint move, λ rescale reported); Z then relative; numbers at ±2^20, exponent forms, .5.5, 1-2 separator merges |
| Properties (seeded) | untouched numbers keep their bytes; moving point i never changes the absolute position of point j ≠ i (exact decimal arithmetic); translate then inverse translate restores the path byte for byte; bounds after translate = bounds shifted |
| Hostile | unreadable d, 2 MiB d, unknown index, non-finite or out-of-range move; no panic |
| SQL | round-withdrawal migration, as U6 |
| E2E | fixture sheet with paths (never the seed): drag an anchor, a control, move the zone, save, reload, untouched bytes identical; remap of a crop view holding a path; preview transform during the drag, one core call on release |
| Size | gate with the figure printed |