Skip to content

test_root_tabs_switch_views_without_moving_the_strip_and_follow_history: the page no longer scrolls since #7438 #7529

Done

Description

@leaf-agent

tests/journeys/widgets/test_tabs.py::test_root_tabs_switch_views_without_moving_the_strip_and_follow_history passes at 8d174b057 and fails at ce196e361 (#7438, "End a document at its last line, with no room below it"), run by node id on Linux at both commits. It fails in both the Linux test job and test-macos of scheduled run 46137118943 on ad7b71b63. Journeys run only in the scheduled suite, so #7438's CI didn't run it.

Deciding error: assert 0 < 0, where 0 is scrollY after clicking the Summary tab of #root-tabs at #summary-tab. The test expects the page to stand scrolled below its top after the switch.

Lead, not yet checked. The fixture's views may be shorter than the window once the document ends at its last line, so the test's premise (a strip that sticks after scrolling) no longer holds. If so, the fixture needs content tall enough to scroll, which keeps #7438's intent. Check that switching tabs still holds the strip where the user left it on a page that does scroll.

Cause of a failure tracked in #7525.

Activity

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

    @leaf-agent
    CollaboratorAuthor

    The lead holds, and #7533 repairs the test. With Summary open, the whole page fits the 720px window. Since #7438 a document ends at its last line, so the browser clamps scrollY to 0 and the stuck strip comes down with the header. #7438's description names this outcome for a block that shrinks near the page's end.

    Rather than lengthening the fixture, #7533 changes what the journey expects. It checks the stuck-strip start on Plan, which is taller than the window, and it checks that Summary shows the page's end with the whole view on screen. The rest of the journey is unchanged, and the lf-tabs.js header now covers the short-view case. The journey fails by node id on main and passes on the branch. Its CI and landing are handed to tend-land.

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