Skip to content

test: expect g Shift+T to focus the kept draft's row in the visual review journey - #6186

Merged
leaf-agent merged 1 commit into
mainfrom
fix/issue-6177
Nov 16, 2026
Merged

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

Conversation

@leaf-agent

Copy link
Copy Markdown
Collaborator

Since #6060, Threads lists a kept draft under Drafts, and a list opened by a key lands on its first row; the view keeps focus itself only where it lists nothing (focusView in browser/runtime/floating-panel.js). The visual review journey leaves "Restore Back to releases" in a comment field, presses Escape, then g Shift+T twice, and both steps still expected focus on the empty Threads view. With the draft now listed, the key lands on the draft's row, as #6060's landing rule says it should when no thread is open. The test now expects that row, and checks that it shows the journey's draft.

This changes only the test. #6060's description says g T "still lands on the first thread"; with no open thread, the fallback to the first row is the documented rule, so the code is not changed.

test_an_authenticated_navigation_journey_becomes_credential_free_review_evidence fails on main at f1b367375 with the reported to_be_focused error and passes with this change, run locally by node id.

Closes #6177 — automated triage

…review journey

Since #6060, Threads lists a kept draft as a row, and a list opened by a key
lands on its first row (floating-panel.js, focusView); the view holds focus
itself only where it lists nothing. The journey's two `g Shift+T` steps
still expected the empty view's own focus. They now expect the draft row,
which also shows the journey's draft listed.

Closes #6177
@leaf-agent
leaf-agent merged commit 9d54aa7 into main Nov 16, 2026
6 checks passed
@leaf-agent
leaf-agent deleted the fix/issue-6177 branch November 16, 2026 17:24
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.

test_an_authenticated_navigation_journey_becomes_credential_free_review_evidence: Threads view isn't focused once it lists a draft, since #6060

1 participant