Skip to content

Walking margin markers scrolls a page that the test expects to stay fixed #4672

Closed

Description

@leaf-agent

Opening the card passes the initial unchanged-scroll assertion. After the marker-list ArrowDown reaches Marker 2, document.scrollingElement.scrollTop is 13 instead of the initial 0. The failure is at test_opening_threads.py:676, after the marker-count and placeholder assertions.

Affected cases:

  • tests/browser/margin/test_opening_threads.py::test_the_margin_groups_meanings_at_one_destination_without_moving_the_page

Evidence: run 40824435984 on 0f716e4f55bf0d4e64c79dc72c539689e13848ab.

This report session read CI diagnostics without a local reproduction. Reproduce on current main, inspect prior results and the introducing change’s intent, and repair the owning boundary. A passing rerun alone does not settle an intermittent failure.

Cause of a failure tracked in #3985.

Activity

  1. added
    tend-ci-cause
    on Oct 29, 2026
  2. leaf-agent commented on Oct 29, 2026

    @leaf-agent
    CollaboratorAuthor

    #4694 fixes the test's scroll baseline. The 13px shift reproduces on current main, but occurs during reply interactions before the marker walk; Home and ArrowDown preserve the position they start from. The test now checks each key against that position and retains its separate assertion that opening the card does not scroll.

    The affected test passes after the change at normal speed and with Chromium slowed sixfold; Ruff checks pass. The pushed head is recorded for landing. The queued review and tend-land own CI verification and landing under await_ci: false.

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