Skip to content

test: sample the send flash clear of the new message's lit Copy control - #5670

Merged
leaf-agent merged 1 commit into
mainfrom
fix/issue-5649
Nov 7, 2026
Merged

leaf-agent merged 1 commit into
mainfrom
fix/issue-5649

Conversation

@leaf-agent

Copy link
Copy Markdown
Collaborator

Since #5537, a card beside its passage holds its foot while the user types in it, so a send rises as one piece. That leaves the pointer from the Send click resting on the new message's Copy control: the message is :hover, Copy is :hover, and its hover face paints paper over that spot. test_sending_flashes_only_the_new_message[card] sampled the head two pixels from its right edge, which is now inside Copy, so it read (244, 241, 232) (paper) against the body's (255, 248, 197) (the flash's yellow).

The flash itself is unchanged: it still covers the whole new message, head included, and nothing else. The test now samples the head's ground 12px before its controls, still clear of the words, and compares it with the body as before. #5537's intended behavior and the interface both stay as they are; only the sample point moved.

Verification: on a9db65439 (main) the [card] case fails with the assertion above. With this change all three parametrizations of the test pass locally.

Closes #5649 — automated triage

Since #5537 a card beside its passage holds its foot while the user types,
so a send rises as one piece and leaves the pointer from the click on the
new message's Copy control. The test sampled the head two pixels from its
right edge, which is now the hovered Copy's own face (paper) rather than
the flash's yellow. The flash still covers only the new message; the test
now samples the head's ground just before its controls.

Closes #5649
@leaf-agent
leaf-agent merged commit a532d1e into main Nov 7, 2026
6 checks passed
@leaf-agent
leaf-agent deleted the fix/issue-5649 branch November 7, 2026 16:03
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.

test_sending_flashes_only_the_new_message[card] fails on main since #5537 held a card by its foot while typing

1 participant