Skip to content

Test screenshot controls through their touch reach - #3759

Merged
leaf-agent merged 2 commits into
mainfrom
fix/ci-39951924125-shot
Oct 23, 2026
Merged

leaf-agent merged 2 commits into
mainfrom
fix/ci-39951924125-shot

Conversation

@leaf-agent

@leaf-agent leaf-agent commented Oct 23, 2026 •

Copy link
Copy Markdown
Collaborator

The screenshot control test now checks the touch target through the control's effective hit area. PR #3738 made one-line controls as tall as their line and supplies the 44 px touch floor with an unpainted reach. The test still required a 44 px visible face, so it failed on a 34 px button despite the button's working touch target. The revised test checks hit detection at the upper and lower ends of that reach and keeps its checks for control spacing, caption text, and image interactions.

test_shot_controls_have_disjoint_targets_and_labels_stay_passive[True] failed on main run 39951924125 and reproduced on current main. Both mouse and touch cases pass after this change.

Refs #3695. The separate tab panel write error from that run is addressed in #3758.

@leaf-agent
leaf-agent merged commit 6697ab5 into main Oct 23, 2026
4 checks passed
@leaf-agent
leaf-agent deleted the fix/ci-39951924125-shot branch October 23, 2026 13:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant