Skip to content

fix: stage the keyed slot fixture before appending its editor - #4392

Merged
leaf-agent merged 1 commit into
mainfrom
fix/issue-4384
Oct 27, 2026
Merged

leaf-agent merged 1 commit into
mainfrom
fix/issue-4384

Conversation

@leaf-agent

Copy link
Copy Markdown
Collaborator

The keyed slotted-editor fixture appended its input before shadowStage, so the host cleanup introduced by #3885 removed it before the test could type. Stage the shadow row first, then append the generated slotted editor, matching the setup order already used by the slot passage tests.

This preserves #3885's centralized host cleanup and restores the existing coverage for handing a draft, focus, and backward caret selection to a replacement keyed row. No product behavior or assertions change.

Verified tests/browser/test_render_application_boundary.py::test_keyed_shadow_row_restores_replaced_slotted_editor_and_caret -q -n0: failed on main at the initial editor.fill after 120 seconds; passed with the fixture correction (6.55 seconds). Earlier CI JUnit results show the same test passing in run 40452531123 and failing at that initial fill in run 40459654718; #3885 changed shadowStage between those runs.

Closes #4384 — automated triage

PR #3885 made shadowStage clear host light children. Append the native slotted editor after staging so the browser test reaches its unchanged replacement, draft, focus and caret assertions. The test fails on main waiting for the initial Draft field and passes with this setup order.

Closes #4384
@leaf-agent
leaf-agent merged commit 2182b48 into main Oct 27, 2026
5 checks passed
@leaf-agent
leaf-agent deleted the fix/issue-4384 branch October 27, 2026 07:43
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.

Keyed shadow-row test cannot find its initial slotted Draft editor

1 participant