Skip to content

fix: expect Comment to focus resolved panel replies - #4695

Merged
leaf-agent merged 1 commit into
mainfrom
fix/issue-4673
Oct 29, 2026
Merged

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

Conversation

@leaf-agent

Copy link
Copy Markdown
Collaborator

The Comment shortcut test still expected a resolved panel thread to fall through to the page-comment box. #4573 deliberately kept a reply box in resolved panel threads, so the shortcut correctly stays with that thread and the old locator never appears.

Update the test to require focus in the reply field and verify its thread recipient. Keep the live-thread focus, Escape, and unchanged-scroll assertions. No runtime behavior changes.

The existing test failed locally on main at the missing page-comment field; the corrected test passes (uv run pytest tests/browser/navigation/test_commenting.py::test_c_in_a_thread_reaches_that_threads_own_box -q -n0). Ruff checks pass.

Closes #4673 — automated triage

Keep the resolved-thread keyboard test aligned with #4573: c focuses the existing reply box and retains its thread recipient. The former page-comment expectation fails on main; the corrected focused test passes.

Closes #4673
@leaf-agent
leaf-agent merged commit edad8b3 into main Oct 29, 2026
5 checks passed
@leaf-agent
leaf-agent deleted the fix/issue-4673 branch October 29, 2026 12:22
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.

Resolved panel thread Comment test cannot find its general comment field

1 participant