Repository navigation
test: sample the send flash clear of the new message's lit Copy control - #5670
Merged
Merged
Conversation
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
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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