Skip to content

Align draft interaction tests with the Copy corner - #2703

Merged
leaf-agent merged 1 commit into
mainfrom
fix/ci-38317918344-draft-tests
Oct 13, 2026
Merged

leaf-agent merged 1 commit into
mainfrom
fix/ci-38317918344-draft-tests

Conversation

@leaf-agent

Copy link
Copy Markdown
Collaborator

The main CI run found two draft tests whose arrangements conflict with #2670's editor and Copy control. The editor deliberately reserves space at its right edge for Copy; its test now holds the draft frame, text origin, line height, and selected word steady while checking that reserve. The selection test now releases its drag over the draft's words, where the browser keeps the selection endpoint; releasing at the box's far edge selected the following page content and opened the draft on mouseup.

Both node IDs failed on current main before this change and pass after it with uv run pytest -q -n0. No product code changes.

@leaf-agent
leaf-agent merged commit 43b61ab into main Oct 13, 2026
2 checks passed
@leaf-agent
leaf-agent deleted the fix/ci-38317918344-draft-tests branch October 13, 2026 00:48
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