Repository navigation
Check full quote expansion inside the fixed thread view - #3255
Merged
Merged
Conversation
leaf-agent
added a commit
that referenced
this pull request
Oct 21, 2026
Wait for the Threads panel to finish opening before the quotation test measures the “Full quote” touch target. The [main CI failure](https://github.com/max-sixty/leaf/actions/runs/39532945812) caught the control during panel motion: its center was hittable, while a point near the top of its 44 px reach sometimes hit the panel container. `rendered(page)` waits for paint, but the panel can still move afterward. The existing `panel_settled` helper completes that motion before the test reads hit targets. The touch-reach assertion from #3255 stays intact. The failing case reproduced locally on the run's commit. With this change, the full three-case quotation test passed, and the detached-touch case passed eight consecutive focused runs. Co-authored-by: leaf-agent <[email protected]>
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 full-quote browser test now checks the floating panel's intended behavior: Full quote expands the retained words inside the thread view, and that view stays at its current height with the rest reachable by scrolling. The old assertion expected the view itself to grow;
floating-panel.jsdeliberately holds a thread view's height when a press expands its content, keeping the pressed control in place.This fixes
test_a_long_quote_of_replaced_data_has_a_local_readingin main CI run 39368894288. The assertion failed on the run and on current main before this change. After the change, the focused test passed locally (uv run pytest tests/browser/threads/test_targets.py::test_a_long_quote_of_replaced_data_has_a_local_reading -q -n0). The same run's separate On me walk failure is covered by #3254.