|
| 1 | +# Tool Display Mode Targeted MSJ Tests |
| 2 | + |
| 3 | +PR: PR_26155_102-tool-display-mode-targeted-msj-tests |
| 4 | + |
| 5 | +## Summary |
| 6 | + |
| 7 | +- Added `npm run test:lane:tool-display-mode`. |
| 8 | +- Added `tool-display-mode` lane registration to `scripts/run-targeted-test-lanes.mjs`. |
| 9 | +- Added `tests/playwright/tools/ToolDisplayModeNavigation.spec.mjs`. |
| 10 | +- Updated the existing `ToolNavigationPrevNext` expectations to match the new `Previous:` / `Next:` link labels. |
| 11 | + |
| 12 | +## Targeted Coverage |
| 13 | + |
| 14 | +The new lane validates: |
| 15 | + |
| 16 | +- Game Design row layout: |
| 17 | + - identity row |
| 18 | + - navigation row |
| 19 | + - character and tool name in the first row |
| 20 | + - Previous/Next anchors in the second row |
| 21 | +- Game Design registry links: |
| 22 | + - `Previous: Project Workspace` |
| 23 | + - `Next: Game Configuration` |
| 24 | +- Project Workspace registry links. |
| 25 | +- Game Configuration multi-path fallback to Toolbox Group view. |
| 26 | +- AI Assistant missing previous target as disabled text with no `href`. |
| 27 | +- No console errors, page errors, failed requests, or navigation buttons inside Tool Display Mode navigation. |
| 28 | + |
| 29 | +## Validation Results |
| 30 | + |
| 31 | +- PASS: `npm run test:lane:tool-display-mode` |
| 32 | + - 4 tests passed. |
| 33 | +- PASS: `npm run test:lane:tool-navigation` |
| 34 | + - 5 tests passed. |
| 35 | +- PASS: `npm run test:workspace-v2` |
| 36 | + - 4 tests passed. |
| 37 | +- PASS: `git diff --check` |
| 38 | + |
| 39 | +`npm run test:workspace-v2` is a legacy command name. User-facing naming remains Project Workspace. |
| 40 | + |
| 41 | +## Impacted Lanes |
| 42 | + |
| 43 | +- `tool-display-mode` |
| 44 | +- `tool-navigation` because existing expectations were updated to the new labels. |
| 45 | +- `workspace-contract` through the legacy `npm run test:workspace-v2` command because shared Tool Display Mode behavior changed. |
| 46 | + |
| 47 | +## Skipped Lanes |
| 48 | + |
| 49 | +- `game-design`, `game-configuration`, and `project-workspace`: skipped because no tool-owned runtime or mock repository behavior changed. |
| 50 | +- `build-path` and `tools-progress`: skipped because registry build order data and Admin Tools Progress table behavior were not changed in this stack. |
| 51 | +- `engine-src`: skipped because no `src/` engine/shared runtime code changed. |
| 52 | +- `samples`: skipped because sample JSON and sample runtime behavior are out of scope. |
| 53 | + |
| 54 | +Full suite is required only when shared runtime, shared parser, shared DB, shared Theme V2, or cross-tool integration behavior changes beyond the targeted Tool Display Mode surface. |
0 commit comments