Repository navigation
Bring later-tier tests up to the preview rule #5746 landed - #5775
Merged
Merged
Conversation
#5746 made a command's landing preview nothing: focus a script places, an arrow key's step and a surface handing focus back show no preview until the user presses K. Its pull request ran only the browser tests whose source it changed, so 13 browser and journey tests (16 cases) on main still expected the old landing preview and failed. Each passes on the commit before #5746 and fails on it. - Most put away a preview before Escape (`put_preview_away`) only so the next Escape reached the step under test. With no preview standing, that step goes: three key-scope tests, an anchors test, three reaction tests, the rewrite test's four seats, All pages' keyboard journey and the diff outlet's attachment journey. - The two Undo-row tests read the row's words from its preview. The row shows them whole, so it now previews nothing, and the tests assert the row's label and age instead. - Threads' notice test checks that a landed row's preview stands clear of a notice that arrives under it. It now reads that preview with K after the landing, and asserts that nothing showed before it. `test_a_root_summary_keeps_thread_actions_outside_its_fold[1400-True-10]` and the Undo test's teardown write on `.lf-fp-quick` (#4745) fail on the base too.
leaf-agent
approved these changes
Nov 9, 2026
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.
#5746 made a command's landing preview nothing: focus that code places, an arrow key's step and a surface handing focus back show no preview until the user presses K. Its pull request ran only the browser tests whose source it changed, so 13 browser and journey tests (16 cases) on
mainstill expected the old landing preview and now fail there. I found them by running every later-tier test whose body reads a preview (125 of them) on mergedmain. Each of the 16 cases passes on the commit before #5746 and fails on it, and all of them pass with this change.put_preview_away) only so the next Escape reached the step under test. With no preview standing, that step goes: three key-scope tests, an anchors test, three reaction tests, the rewrite test's four seats, the All pages keyboard journey and the diff outlet's attachment journey.test_a_root_summary_keeps_thread_actions_outside_its_fold[1400-True-10]and the outbox test's teardown write on.lf-fp-quick(#4745) also fail on the base, so they're inherited.