Repository navigation
fix: exercise clipped-card commenting on a sideways board - #4390
Merged
Merged
Conversation
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 clipped-card commenting test still expected the phone paging layout that #3869 intentionally replaced with stacked columns. Its second card was fully visible, so the test stopped before exercising clipped targeting.
Use the existing eight-column crowded-board fixture at 720px, where columns remain side by side and overflow. Position the fourth card with a 24px visible sliver, assert that it is clipped, then choose it through the keyboard target picker. The whole-card route and the assertions that the clipped card, board scroll position and comment target remain correct are retained. This changes test setup only and preserves #3869's phone layout.
The reported test failed locally before the change with
visible: 326, width: 326and passes after it. Pre-commit checks pass. The preceding run's JUnit records this case passing; the reported run records the same failure reproduced locally.Closes #4382 — automated triage