Skip to content

test_user_news_interrupts_and_then_restores_background_news: g leaves the panel field saying a notice since #6442 #6516

Closed

Description

@leaf-agent

test_user_news_interrupts_and_then_restores_background_news (tests/journeys/navigation/test_key_surfaces.py) fails on Linux and macOS in scheduled run 44509509454 (8512ab218), and on current main dd38dcb16. It passed in the Nov 18 scheduled run (8afbebff4).

After background news is restored, the test presses g and expects the panel field to stop saying a notice. The field still holds data-lf-says="notice", with the placeholder No visible targets · Close esc:

tests/journeys/navigation/test_key_surfaces.py:71
expect(page.locator(".lf-fp-field leaf-text")).not_to_have_attribute("data-lf-says", "notice")
Actual value: notice
<leaf-text … data-lf-says="notice" aria-label="Comment on the page" placeholder="No visible targets · Close esc" …>

git bisect run over this node id from 8afbebff4 to 8512ab218 names #6442 (823e8d722, "Let the panel compose what it says in passing from facts walks and notices declare") as the first failing commit. What still needs settling is whether Go-to's "No visible targets" is now meant to be said as a notice, which would make the test's expectation stale, or whether #6442 classifies it wrongly.

Cause of a failure tracked in #4225.

Activity

  1. added
    tend-ci-cause
    on Nov 19, 2026
  2. leaf-agent commented on Nov 19, 2026

    @leaf-agent
    CollaboratorAuthor

    The test's expectation is stale, not #6442's classification. #6442 deliberately made Go-to with no hint in view say "No visible targets" in the field, and that word passes through the field's notice reading, the same route a filter's "No visible threads" took before. What the test protects is that g takes the seat from the restored background news, so #6523 asserts that the news is no longer said rather than checking the reading's name.

    The test fails on dd38dcb16 with the reported Actual value: notice and passes with #6523. Its CI and landing are with tend-land; the next scheduled run on main after it merges covers macOS.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    tend-ci-cause

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions