You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
-`npx playwright test tests/playwright/tools/InputMappingV2Tool.spec.mjs`
33
+
- Result: 7 passed.
34
+
35
+
## Playwright Coverage
36
+
- Produced `docs_build/dev/reports/playwright_v8_coverage_report.txt`.
37
+
- Changed browser runtime JS covered: `toolbox/controls/controls.js` at 92% function coverage.
38
+
- Shared DB/mock adapter files are server-side and reported by the V8 coverage artifact as advisory WARN entries because Playwright browser V8 coverage does not collect server-side modules; their behavior was exercised through the targeted Controls Playwright API flows.
39
+
40
+
## Manual Validation Steps
41
+
1. Open `toolbox/controls/index.html`.
42
+
2. Click Refresh Devices and verify Keyboard, Mouse, and detected gamepads appear in Device Type.
43
+
3. Select a gamepad and verify `Using Default Gamepad Mapping` and `Missing saved profile for this controller` appear without saving a profile.
44
+
4. Click Add Profile and verify a DB-backed profile is created with generated input rows requiring Action assignment.
45
+
5. Delete the saved profile, then click Create Profile From Default and verify a real DB-backed profile is created.
46
+
6. Add a custom Action and verify it appears in the Actions catalog and Action dropdown after reload.
47
+
7. Add, edit, and reset mappings; verify Reset Mappings opens the required confirm dialog and OK persists deletion after reload.
48
+
49
+
## Skipped Lanes
50
+
- Full samples validation was skipped as requested. This PR is scoped to Controls UI/tool persistence and does not change sample JSON alignment or game runtime behavior.
51
+
-`npm run test:workspace-v2` was skipped because the requested validation lane is the targeted Controls/Input Mapping Playwright suite, which covers the changed Controls tool behavior directly.
52
+
53
+
## Runtime Engine Behavior
54
+
Confirmed: no production game runtime behavior was changed.
55
+
56
+
## Completion Check
57
+
PASS: 100% of requested PR_26161_027 items were implemented and validated in the targeted lane.
Copy file name to clipboardExpand all lines: docs_build/dev/reports/coverage_changed_js_guardrail.txt
+1-6Lines changed: 1 addition & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -6,15 +6,10 @@ Missing changed runtime JS files are WARN, not FAIL.
6
6
Source: Playwright/Chromium built-in V8 coverage from the active Playwright run.
7
7
8
8
Changed runtime JS files considered:
9
-
(0%) src/dev-runtime/guest-seeds/tool-metadata-inventory.js - WARNING: changed runtime JS file was not collected by Playwright V8 coverage; advisory only
10
9
(0%) src/dev-runtime/persistence/mock-db-store.js - WARNING: changed runtime JS file was not collected by Playwright V8 coverage; advisory only
11
10
(0%) src/dev-runtime/persistence/tool-repositories/input-mapping-mock-repository.js - WARNING: changed runtime JS file was not collected by Playwright V8 coverage; advisory only
12
-
(0%) src/dev-runtime/server/mock-api-router.mjs - WARNING: changed runtime JS file was not collected by Playwright V8 coverage; advisory only
(0%) src/dev-runtime/guest-seeds/tool-metadata-inventory.js - WARNING: changed runtime JS file was not collected by Playwright V8 coverage; advisory only
21
20
(0%) src/dev-runtime/persistence/mock-db-store.js - WARNING: changed runtime JS file was not collected by Playwright V8 coverage; advisory only
22
21
(0%) src/dev-runtime/persistence/tool-repositories/input-mapping-mock-repository.js - WARNING: changed runtime JS file was not collected by Playwright V8 coverage; advisory only
23
-
(0%) src/dev-runtime/server/mock-api-router.mjs - WARNING: changed runtime JS file was not collected by Playwright V8 coverage; advisory only
0 commit comments