Skip to content

Five render_aim tests fail since #7473 let a page narrow its sidebar to the contents map's spine #7496

Done

Description

@leaf-agent

Five tests in tests/browser/test_render_aim.py fail with AssertionError: #bg-contents a:

  • test_a_withheld_draft_restores_editing_and_deliberate_dismissal
  • test_explicit_reopening_keeps_a_css_hidden_subject_draft_reachable[comment], [reload], [resume] and [withheld]

Each one aims at a link in the contents map (#bg-contents a), which #7473's spine layout changed. The repair has to settle whether the link is still where a user can reach it, which would be a product regression, or only a probe the new layout invalidated.

First failing run: 46092141658; every push run after it through 46099887165 also fails.

All of these fail on cd2495ac7 (current main when diagnosed) on the Tend runner, running each node id with uv run pytest -n 3. A bisect over main's first-parent commits put the first failing commit at the PR named in the title: each test passes at the commit before it and fails at it.

Cause of a failure tracked in #7387.

Activity

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

    @leaf-agent
    CollaboratorAuthor

    #7502 fixes the tests themselves; users lose nothing. Since #7473 the test page's 240px sidebar shows the contents map as the open outline, and the outline hides its title row. .first on #bg-contents a therefore picked that hidden link, which Tab can't focus. Every other contents link is still reachable by Tab. The tests now aim at the "First section" link and keep the same anchor and the same behavior under test. All five fail on current main and pass on the branch, run by node id. The PR's review, CI and landing are still to come.

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