Skip to content

Check full quote expansion inside the fixed thread view - #3255

Merged
leaf-agent merged 1 commit into
mainfrom
fix/ci-39368894288-quote
Oct 20, 2026
Merged

leaf-agent merged 1 commit into
mainfrom
fix/ci-39368894288-quote

Conversation

@leaf-agent

Copy link
Copy Markdown
Collaborator

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.js deliberately 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_reading in 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.

@leaf-agent
leaf-agent merged commit c0bd997 into main Oct 20, 2026
4 checks passed
@leaf-agent
leaf-agent deleted the fix/ci-39368894288-quote branch October 20, 2026 06:24
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]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant