Skip to content

Use a real search press in the draft focus test - #1531

Merged
leaf-agent merged 1 commit into
mainfrom
fix/ci-36914452215-draft-input
Oct 1, 2026
Merged

leaf-agent merged 1 commit into
mainfrom
fix/ci-36914452215-draft-input

Conversation

@leaf-agent

Copy link
Copy Markdown
Collaborator

The failed main run reported typed draft words disappearing in test_a_response_draft_yields_focus_when_the_panel_leaves_no_usable_room[390]. The test moved to Threads search with Playwright's focus(), which changes focus without a user press; Leaf then hid the background composer and the words guard correctly rejected that transition. Use click() to exercise the real search gesture and record the press that puts the draft away while the test continues to verify its restoration.

The 390px case failed in all 18 concurrent copies before the change and passed in all 18 after it. Both 390px and 450px variants passed locally. The separate gallery margin failure is already tracked on #1506.

@leaf-agent
leaf-agent merged commit 2bf2b92 into main Oct 1, 2026
4 checks passed
@leaf-agent
leaf-agent deleted the fix/ci-36914452215-draft-input branch October 1, 2026 22:56
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