Repository navigation
test: drop obsolete composer control top alignment - #4988
Merged
Merged
Conversation
The dictation journey compared the top edges of Dictate and Send. PR #4714 deliberately made Send one text line tall and centred it on the final row under a mouse, while Dictate keeps its taller box. Their top edges no longer express the shared placement guarantee. Remove that shape assertion while retaining the horizontal placement and empty/typed/send journey across all composer surfaces. The existing panel row test checks glyph alignment through empty and wrapped draft states. The journey failed with the reported 4px difference before this change; both focused tests pass after it. Closes #4928
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.
The dictation journey still required Dictate and Send to have identical top edges. #4714 deliberately made Send shorter under a mouse, centred on the last text row, so that assertion now reports a four-pixel difference despite the intended layout.
Remove the obsolete vertical box comparison. The journey retains horizontal placement, empty-to-typed control switching, sending and microphone restoration across the panel, widget and anchored composers. The existing panel row test separately checks glyph alignment before typing and through a wrapped draft. No product rendering changes.
Verified the reported journey fails before the change with
assert 4 < 1; after the change, it andtest_the_row_s_marks_and_presses_share_the_words_linepass (2 passed).Closes #4928 — automated triage