Skip to content

test: check that Go-to displaces background news, not that the field stops saying a notice - #6523

Merged
leaf-agent merged 1 commit into
mainfrom
fix/issue-6516
Nov 19, 2026
Merged

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

Conversation

@leaf-agent

Copy link
Copy Markdown
Collaborator

#6442 made Go-to armed with no hint in view say "No visible targets" in the panel field (its description lists this under "Also from the survey"). That word passes through the field's notice reading (browser/runtime/field-readings.js, passingWords), as a filter's "No visible threads" already did before #6442. On NOTED_PAGE no hint shows, so after g the field reads No visible targets · Close esc with data-lf-says="notice", and test_user_news_interrupts_and_then_restores_background_news failed on its check of the reading's name.

The test exists to protect that Go-to takes the seat from the restored background news. It now asserts exactly that: expect_panel_says(page, "Agent replied — open Threads", says=False). No product behavior changes; #6442's intent stands.

The test fails on dd38dcb16 with the reported Actual value: notice, and passes with this change (uv run pytest "tests/journeys/navigation/test_key_surfaces.py::test_user_news_interrupts_and_then_restores_background_news" --run-nightly).

Closes #6516 — automated triage

…stops saying a notice

#6442 made Go-to armed with no hint in view say "No visible targets" in the
panel field, and that word passes through the field's `notice` reading, as
a filter's "No visible threads" already did. On NOTED_PAGE nothing shows a
hint, so after `g` the field says "No visible targets · Close esc" under
data-lf-says="notice", and the test's check on the reading's name failed.
The behavior it protects is that Go-to takes the seat from the restored
background news; it now asserts that the news is no longer said.

Closes #6516
@leaf-agent
leaf-agent merged commit 43d9162 into main Nov 19, 2026
6 checks passed
@leaf-agent
leaf-agent deleted the fix/issue-6516 branch November 19, 2026 16: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_user_news_interrupts_and_then_restores_background_news: g leaves the panel field saying a notice since #6442

1 participant