Closed the remaining AGENTS.md accessibility/input checklist items that did not conflict with the project's own HUD contract. Reduced motion is a new persisted setting, distinct from low-power: VFX jump to their final frame, unit sprites hold their frame, hit flashes are off and damage numbers stay static. A headless test proves each behaviour and that the setting reaches a live battle HUD. ScreenDrag coverage builds a genuine ScreenTouch -> ScreenDrag x6 -> release sequence through Input.parse_input_event. It exposed a real player-facing bug: the skyport and map ScrollContainers used MOUSE_FILTER_PASS, so touch drags fell through to the parent and the lists were unscrollable on a device. They now use MOUSE_FILTER_STOP. Headless Godot cannot simulate real viewport GUI dispatch, so the test verifies the filter configuration and the real event sequence, and the report explicitly states that actual scroll movement needs a device rather than claiming it was proven. 130% text is deliberately NOT implemented: BATTLE_HUD_HIGH_FIDELITY_SPEC.md lines 12 and 86 fix the slice at 100% and forbid an enlarged-text test. Per the workspace authority order the project contract wins over the generic checklist; PRODUCTION/42 records this as an intentional, documented deviation. tools/run_p2_checks.sh now runs 24 gates; all pass, including the log audit.
31 lines
718 B
JSON
31 lines
718 B
JSON
{
|
|
"headless_note": "viewport GUI dispatch is not simulated headless; actual scroll movement requires a device. Filter config and real event construction are verified here.",
|
|
"kind": "windroost_screen_drag_test",
|
|
"overall": "PASS",
|
|
"problems": [],
|
|
"schema": 1,
|
|
"steps": [
|
|
{
|
|
"filter": 0,
|
|
"step": "map_scroll_filter"
|
|
},
|
|
{
|
|
"filter": 0,
|
|
"step": "skyport_scroll_filter"
|
|
},
|
|
{
|
|
"drag_events": [
|
|
"InputEventScreenDrag",
|
|
"InputEventScreenDrag",
|
|
"InputEventScreenDrag",
|
|
"InputEventScreenDrag",
|
|
"InputEventScreenDrag",
|
|
"InputEventScreenDrag"
|
|
],
|
|
"method": "Input.parse_input_event",
|
|
"step": "drag_sequence",
|
|
"touch_pressed": true,
|
|
"touch_released": true
|
|
}
|
|
]
|
|
} |