Skip to content

Remote resolution tests expect Resolved where notices show 1 new #5155

Closed as not planned

Description

@leaf-agent

The notices exist with title=Resolved but visible words 1 new; one exact accessible-name locator cannot find its expected Resolved button. These tests stop before their restoration/geometry assertions. Determine the intended shared held-news presentation and preserve the underlying refused-resolution and seated-thread behavior.

Evidence: push run 41576718956.

  • tests/browser/test_render_pages.py::test_failed_resolve_candidate_restores_focused_reply

AssertionError: Locator expected to have text 'Resolved'

>       expect(news).to_have_text("Resolved")
E       AssertionError: Locator expected to have text 'Resolved'
E       Actual value: 1 new
E       Call log:
E         - Expect "to_have_text" locator(".lf-fp-head .lf-thread-news") with timeout 120000ms
E         - waiting for locator(".lf-fp-head .lf-thread-news")
E           243 × locator resolved to <button type="button" data-lf-gen="1" data-lf-news="" title="Resolved" data-lf-offer="button" aria-keyshortcuts="Enter Space" class="lf-inline-action lf-thread-news lf-ui lf-ui-face">…</button>
E               - unexpected value "1 new"
  • tests/browser/test_render_pages.py::test_a_failed_resolution_restores_a_focused_inline_reply

AssertionError: Locator expected to have text 'Resolved'

>       expect(notice).to_have_text("Resolved")
E       AssertionError: Locator expected to have text 'Resolved'
E       Actual value: 1 new
E       Call log:
E         - Expect "to_have_text" locator("#proposal > .lf-thread-seat > [data-thread=\"249083fb\"]").locator(".lf-thread-news") with timeout 120000ms
E         - waiting for locator("#proposal > .lf-thread-seat > [data-thread=\"249083fb\"]").locator(".lf-thread-news")
E           243 × locator resolved to <button type="button" data-lf-gen="1" data-lf-news="" title="Resolved" data-room="1 new" data-lf-reflow="text" data-lf-offer="button" aria-keyshortcuts="Enter Space" class="lf-inline-action lf-thread-news lf-ui lf-ui-face">…</button>
E               - unexpected value "1 new"
  • tests/browser/test_render_reactions.py::test_a_remote_resolve_disarms_the_open_reply_list_it_takes_away

AssertionError: Locator expected to have text 'Resolved'

>       expect(page.locator(".lf-fp-head .lf-thread-news")).to_have_text("Resolved")
E       AssertionError: Locator expected to have text 'Resolved'
E       Actual value: 1 new
E       Call log:
E         - Expect "to_have_text" locator(".lf-fp-head .lf-thread-news") with timeout 120000ms
E         - waiting for locator(".lf-fp-head .lf-thread-news")
E           243 × locator resolved to <button type="button" data-lf-gen="1" data-lf-news="" title="Resolved" data-lf-offer="button" aria-keyshortcuts="Enter Space" class="lf-inline-action lf-thread-news lf-ui lf-ui-face">…</button>
E               - unexpected value "1 new"
  • tests/browser/threads/test_seated_threads.py::test_a_resolution_from_elsewhere_moves_nothing_after_a_diff_thread

AssertionError: Locator expected to be visible

>       expect(notice).to_be_visible()
E       AssertionError: Locator expected to be visible
E       Actual value: None
E       Error: element(s) not found
E       Call log:
E         - Expect "to_be_visible" locator("lf-diff .lf-page-thread[data-thread=\"324c6421\"]").get_by_role("button", name="Resolved", exact=True) with timeout 120000ms
E         - waiting for locator("lf-diff .lf-page-thread[data-thread=\"324c6421\"]").get_by_role("button", name="Resolved", exact=True)
  • tests/browser/threads/test_seated_threads.py::test_a_thread_resolved_while_its_reply_is_written_keeps_the_user_on_it[diff-clear]

AssertionError: Locator expected to contain text 'Resolved'

>               expect(thread.locator(".lf-thread-news")).to_contain_text("Resolved")
E               AssertionError: Locator expected to contain text 'Resolved'
E               Actual value: 1 new
E               Call log:
E                 - Expect "to_contain_text" locator(".lf-page-thread[data-thread=\"cdb4ba1f\"]").locator(".lf-thread-news") with timeout 120000ms
E                 - waiting for locator(".lf-page-thread[data-thread=\"cdb4ba1f\"]").locator(".lf-thread-news")
E                   243 × locator resolved to <button type="button" data-lf-gen="1" data-lf-news="" title="Resolved" data-room="1 new" data-lf-reflow="text" data-lf-offer="button" class="lf-inline-action lf-thread-news lf-ui lf-ui-face">…</button>
E                       - unexpected value "1 new"

This report triage has not run a local reproduction or established the cause. Reconcile current main, existing repairs and active workers, reproduce the focused boundary, then repair the owner of the rule. Split independent mechanisms if the grouped observations require different fixes. The complete failed log and pytest-results artifact on each run retain the traceback and screenshots.

Cause of a failure tracked in #3985.

Activity

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

    @leaf-agent
    CollaboratorAuthor

    Consolidated into #5128, whose concurrent scheduled-run investigation already owns the same Resolved versus 1 new boundary. I added the additional seated-diff exact-name consumer there. The push diagnostics remain in this body; no repair or resolution is claimed.

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