|
1 | | -# PR_26158_050 Testing Lane Execution Report |
| 1 | +# PR_26158_051 Testing Lane Execution Report |
2 | 2 |
|
3 | 3 | ## Lanes Run |
4 | 4 |
|
5 | 5 | | Lane | Command | Result | |
6 | 6 | | --- | --- | --- | |
7 | 7 | | Changed-file syntax checks | `node --check src/dev-runtime/admin/admin-notes-menu.mjs`; `node --check tests/dev-runtime/AdminNotesBoundary.test.mjs`; `node --check tests/playwright/tools/LoginSessionMode.spec.mjs` | PASS | |
8 | | -| Admin Notes boundary/static test | `node --test tests/dev-runtime/AdminNotesBoundary.test.mjs` | PASS, 5/5 | |
9 | | -| Admin menu Playwright | `npx playwright test tests/playwright/tools/LoginSessionMode.spec.mjs --grep "Local users unlock\|API-backed 5501 login page shows" --workers=1` | PASS, 2/2 | |
10 | | -| Production header/route clean check | `Select-String -Path assets/theme-v2/partials/header-nav.html -Pattern "data-admin-notes-local-menu\|data-admin-my-stuff-menu\|data-admin-my-stuff-separator\|Admin Notes\|My Stuff\|admin-notes\|docs_build/dev/admin-notes"`; `Test-Path admin/admin-notes.html`; `Test-Path admin/notes.html`; `Test-Path src/dev-runtime/admin/notes.html` | PASS, no production header matches; production admin note paths false; dev source true | |
11 | | -| Public/UAT exposure audit | `rg -n "docs_build/dev/admin-notes\|docs_build\\dev\\admin-notes\|data-admin-notes-local-menu\|data-admin-my-stuff-menu\|Admin Notes \(Local Dev\)\|Admin Notes\|My Stuff" account admin assets toolbox src/engine src/shared --glob "!archive/v1-v2/**" --glob "!tmp/**"` | PASS, no matches | |
12 | | -| Dev-runtime admin import audit | `rg -n "src/dev-runtime/admin\|src\\dev-runtime\\admin" account admin assets toolbox src/engine src/shared --glob "!archive/v1-v2/**" --glob "!tmp/**"` | PASS, no matches | |
| 8 | +| Admin Notes/Admin menu boundary test | `node --test tests/dev-runtime/AdminNotesBoundary.test.mjs` | PASS, 5/5 | |
| 9 | +| Admin menu Playwright, first attempt | `npx playwright test tests/playwright/tools/LoginSessionMode.spec.mjs --grep "Local users unlock\|API-backed 5501 login page shows" --workers=1` | FAIL, separator was visible but did not fill submenu width | |
| 10 | +| Admin menu Playwright, final | `npx playwright test tests/playwright/tools/LoginSessionMode.spec.mjs --grep "Local users unlock\|API-backed 5501 login page shows" --workers=1` | PASS, 2/2 | |
| 11 | +| Production header dev-only item audit | `Select-String -Path assets/theme-v2/partials/header-nav.html -Pattern "data-admin-notes-local-menu\|data-admin-my-stuff-menu\|data-admin-my-stuff-separator\|Admin Notes\|My Stuff\|DB Viewer\|Design System\|Environments\|Game Migration\|Grouping Colors\|Tools Progress\|admin-notes\|docs_build/dev/admin-notes"` | PASS, no matches | |
| 12 | +| Public/UAT dev-runtime exposure audit | `rg -n "data-admin-my-stuff-menu\|My Stuff\|src/dev-runtime/admin\|src\\dev-runtime\\admin\|data-admin-notes-local-menu\|Admin Notes \(Local Dev\)" account admin assets toolbox src/engine src/shared --glob "!archive/v1-v2/**" --glob "!tmp/**"` | PASS, no matches | |
13 | 13 | | Changed-file whitespace/static validation | `git diff --check` | PASS, Git line-ending warnings only | |
14 | 14 | | start_of_day protection check | `git diff --name-only \| rg "(^|/)start_of_day(/|$)"` | PASS, no matches | |
15 | 15 |
|
16 | 16 | ## Validation Notes |
17 | 17 |
|
18 | 18 | | Check | Evidence | Result | |
19 | 19 | | --- | --- | --- | |
20 | | -| My Stuff appears first in the local Admin submenu. | LoginSessionMode Playwright asserts the first two Admin submenu children are `my-stuff` then `separator`. | PASS | |
21 | | -| Separator appears immediately below My Stuff. | LoginSessionMode Playwright asserts `[data-admin-my-stuff-separator]` is a direct Admin submenu child immediately after My Stuff. | PASS | |
22 | | -| Notes appears under My Stuff. | LoginSessionMode Playwright hovers My Stuff and asserts `[data-admin-notes-local-menu]` has text `Notes`. | PASS | |
23 | | -| Notes opens the existing viewer route. | LoginSessionMode Playwright clicks Notes, verifies `/admin/admin-notes.html`, and validates `Loaded docs_build/dev/admin-notes/index.txt.` | PASS | |
24 | | -| Production/public header remains clean. | Static header check and public/UAT exposure audit returned no local-only Admin Notes or My Stuff matches. | PASS | |
| 20 | +| My Stuff is first locally. | Playwright asserts first two Admin submenu children are `my-stuff` then `separator`. | PASS | |
| 21 | +| Separator is disabled and full width. | Markup uses `role="separator"`, `aria-disabled="true"`, `tabindex="-1"`; Playwright checks rendered width is at least 85% of submenu width. | PASS | |
| 22 | +| Dev-only items are under My Stuff. | Boundary test and Playwright validate `Notes`, `DB Viewer`, `Design System`, `Environments`, `Game Migration`, `Grouping Colors`, and `Tools Progress` under My Stuff. | PASS | |
| 23 | +| Main Admin list keeps only UAT/PROD-safe items. | Boundary test and Playwright validate the main list as `Analytics`, `Branding`, `Controls`, `Moderation`, `Platform Settings`, `Ratings`, `Roles`, `Site Settings`, `Themes`, `Users`. | PASS | |
| 24 | +| Notes opens correctly. | Playwright clicks `Notes`, verifies `/admin/admin-notes.html`, and validates `Loaded docs_build/dev/admin-notes/index.txt.` | PASS | |
| 25 | +| Production/public header remains clean. | Static production header audit returned no My Stuff or dev-only item matches. | PASS | |
25 | 26 |
|
26 | 27 | ## Skipped Lanes |
27 | 28 |
|
28 | 29 | | Lane | Decision | Reason | |
29 | 30 | | --- | --- | --- | |
30 | | -| AdminNotesLocalViewer Playwright | SKIP | The Notes route/viewer files were not touched. The Admin menu Playwright lane still clicks through to the viewer and validates the loaded default note. | |
| 31 | +| AdminNotesLocalViewer Playwright | SKIP | Notes route/viewer files were not touched. The Admin menu Playwright lane clicks Notes and validates the existing viewer loads `index.txt`. | |
31 | 32 | | Full samples smoke | SKIP | No sample loader/framework, sample data, or game runtime changed. | |
32 | | -| Full Playwright suite | SKIP | The targeted Admin menu, local server route, and boundary tests cover the requested surface. | |
| 33 | +| Full Playwright suite | SKIP | Targeted Admin menu and boundary lanes cover this header/menu classification change. | |
33 | 34 |
|
34 | 35 | ## Notes |
35 | 36 |
|
| 37 | +- Added a reusable Theme V2 header submenu `hr` rule because the browser default `hr` did not satisfy the requested full-width separator behavior. |
36 | 38 | - Playwright emitted existing SQLite experimental and seed-only audit fallback warnings; they did not fail the targeted lanes. |
37 | | -- Runtime coverage is advisory; PR050 did not require a Playwright V8 coverage threshold. |
|
0 commit comments