Repository navigation
fix: check the floating reply field's painted surface - #4420
Merged
Merged
Conversation
The field's border, fill and shadow moved to the shared box-motion surface in #4379. Read that surface instead of the transparent editor, preserving the compact-family comparison and checking its border colour as well. The original assertion fails on main; the revised test passes and a red-ring mutation fails it. Closes #4417
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 compact-response test still read the editor's border, background and filter after #4379 moved that paint onto the shared box-motion surface. It therefore compared a transparent editor with a painted suggestion button, despite the field retaining its visible frame.
Read the field's painted ring and fill, including their inset difference for border thickness, and read elevation from the surface. Keep the typography and placeholder checks, and compare border colour too. This changes no on-screen state or product code and preserves #4379's moving field surface.
The exact reported test fails on current main and passes with this update. A temporary red-ring mutation makes the updated test fail on border colour. Local Ruff checks could not run because Ruff is unavailable; PR CI provides the lint gate.
Closes #4417 — automated triage