Repository navigation
Keep selection and Ask panel browser tests on their intended targets - #2651
Merged
Merged
Conversation
The block breakout change moved the navigation fixture’s answer list into the same wide span as its Ask, so the panel no longer covered most of that list. Place the list in the right side of the Ask to keep testing the covered destination. After dismissing the selection bar, scroll the next paragraph into view before dragging its text; otherwise the offscreen pointer extends the selection into the following paragraph.
leaf-agent
commented
Oct 12, 2026
leaf-agent
left a comment
Collaborator
Author
There was a problem hiding this comment.
The test job is red because ruff format rejects the new options_style expression. The Python tests passed. I'll apply the formatting change and push a new head.
leaf-agent
added a commit
that referenced
this pull request
Oct 12, 2026
The main [CI run](https://github.com/max-sixty/leaf/actions/runs/38300979990) failed three browser cases. #2651 has since repaired the selection and wide Ask cases; both pass on current main. This change repairs the remaining trace playback case: its test advanced a paused virtual clock by a fixed span, while the player waits for image decoding before advancing. When decoding outlasted that span, the clock stayed paused and the expected Play state never arrived. The test now resumes the clock until playback completes, then pauses it before checking the next pointer and keyboard gestures. The player and its user-facing behavior are unchanged. The failed case passes with this change, as do the two cases repaired by #2651 (`uv run pytest -q -n0` on the three node IDs). Local `ruff` was unavailable; PR CI will run lint. 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 main CI run failed three browser tests after #2635. #2639 already repaired the Threads dialog visibility assertion. This PR repairs the other two tests while preserving the behaviors they check.
The selection test clicked a heading that brought the page back toward the top, then dragged toward text outside the viewport. The browser extended that selection into the next paragraph. The test now brings the target paragraph into view before dragging. The wide Ask test assumed its answer list stood mostly under the open Threads panel; the breakout change placed it in the Ask's wide span instead. Its fixture now positions the list on the panel side, so pressing
qstill has to reveal a covered answer list.All five focused cases pass on this branch: the selection test, all three Ask postures, and the Threads naming test (
uv run pytest -q -n0with those node IDs). The two changed assertions each failed on current main before the fixture changes.