Skip to content

Two text-document tests fail on main since #5371 changed how Firefox presents large text documents #5487

Closed

Description

@leaf-agent

Since #5371 ("Present a page of large text documents in Firefox without restyling every row"), a closed tab's document comment never shows its quote, and the bare-text refusal's console message never arrives.

Failing on main (b5f5c5d43, reproduced locally with uv run pytest --run-main):

  • tests/browser/projection/test_widget_actions.py::test_a_module_that_stages_bare_text_is_refused_in_its_own_name
    playwright._impl._errors.TimeoutError: Timeout 120000ms exceeded while waiting for event "console" =========================== logs =========================== waiting for event "console" ============================================================
    
  • tests/browser/widgets/test_code_and_documents.py::test_a_comment_on_a_closed_tab_s_document_never_reads_as_earlier_data
    AssertionError: Locator expected to be visible Actual value: None Error: element(s) not found Call log: - Expect "to_be_visible" locator(".lf-fp-view[data-lf-route=\"thread\"]:not([data-lf-leaving])[data-lf-thread=\"e4655e65\"]").locator(".lf-fp-quote") with timeout 120000ms - waiting for locator(".lf-fp-view[data-lf-route=\"thread\"]:not([data-lf-leaving])[data-lf-thread=\"e4655e65\"]").locator(".lf-fp-quote") Aria 
    

Introducing change: #5371 (0a22a8c). Bisect over the febb3e4..4ef9f29 range ran test_a_module_that_stages_bare_text_is_refused_in_its_own_name at each step; test_a_module_that_stages_bare_text_is_refused_in_its_own_name passes on the earlier bisect steps and fails on 0a22a8c52. test_a_comment_on_a_closed_tab_s_document_never_reads_as_earlier_data fails on 0a22a8c52 and first failed in the same CI run.

CI evidence: first failing push run 41908798450, and every push run since through 41954384375. Each run's pytest-results-* artifact has the tracebacks and screenshots.

No cause has been diagnosed past the bisect. Read #5371's description for what it meant to change, then decide per .claude/skills/running-tend/SKILL.md, Reading a red suite, whether each test expects behaviour #5371 replaced (update the test) or caught a regression (fix the code).

Cause of a failure tracked in #3985.

Activity

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

    @leaf-agent
    CollaboratorAuthor

    The fix is in #5569. I confirmed the cause for both tests:

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