Skip to content

Check suggestion pins against their target after resize - #2810

Merged
leaf-agent merged 1 commit into
mainfrom
fix/ci-38496899586
Oct 14, 2026
Merged

leaf-agent merged 1 commit into
mainfrom
fix/ci-38496899586

Conversation

@leaf-agent

Copy link
Copy Markdown
Collaborator

The main CI run failed both motion variants of test_suggestion_controls_stay_out_of_the_column after a viewport resize. #2795 deliberately changed pin seating so a clear pin may touch any part of its target; the test still required proximity to the target's last text fragment. This updates that assertion to check the target's rendered fragments while retaining the checks that the pin covers no words and stays within the page.

The same two cases failed before this test change and pass afterward (uv run pytest 'tests/browser/test_render_widgets.py::test_suggestion_controls_stay_out_of_the_column' -q -n0).

The target-seating change in #2795 lets a clear pin sit against any part of its suggestion. Check that the pin touches the target rather than requiring it beside the last text fragment; retain checks that it covers no words and stays within the page.
@leaf-agent
leaf-agent merged commit 88874db into main Oct 14, 2026
2 checks passed
@leaf-agent
leaf-agent deleted the fix/ci-38496899586 branch October 14, 2026 03:05
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