Skip to content

Bring later-tier tests up to the preview rule #5746 landed - #5775

Merged
max-sixty merged 1 commit into
mainfrom
hover-ui-dimensions
Nov 9, 2026
Merged

max-sixty merged 1 commit into
mainfrom
hover-ui-dimensions

Conversation

@max-sixty

Copy link
Copy Markdown
Owner

#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 main still 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 merged main. Each of the 16 cases passes on the commit before #5746 and fails on it, and all of them pass with this change.

  • Incidental Escape steps. Most of these tests put a preview away 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, the All pages keyboard journey and the diff outlet's attachment journey.
  • The Undo row. Two outbox tests read the row's words from its preview. The row shows its words whole, so under Previews show only where the user aims, and say only what the target doesn't #5746's face rule it previews nothing, and the tests assert the row's label and age instead.
  • Threads' notice. This test checks that a landed row's preview stands clear of a notice arriving under it. It now asserts that the landing showed nothing, then reads that preview with K.

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.

This was written by Claude Code on behalf of max-sixty

#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.
@max-sixty
max-sixty merged commit 4844cb7 into main Nov 9, 2026
4 of 5 checks passed
@max-sixty
max-sixty deleted the hover-ui-dimensions branch November 9, 2026 11:36
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.

2 participants