Repository navigation
fix: stage the keyed slot fixture before appending its editor - #4392
Merged
Merged
Conversation
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 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 initialeditor.fillafter 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 changedshadowStagebetween those runs.Closes #4384 — automated triage