Skip to content

Resume writing Back navigation loses the previous reading destination #4670

Closed

Description

@leaf-agent

Resume restores the draft focus, value and caret and passes its panel-clearance assertion. After page.go_back(), #elsewhere is absent and the viewport assertion times out. This is a return-navigation failure, not failure to expose the draft.

Affected cases:

  • tests/browser/drafts/test_composer.py::test_resume_writing_reveals_page_editor_from_a_covering_panel_and_keeps_back[False]

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

    #4692 corrects the test setup. Resizing after scrolling brought the still-focused disclosure summary back into view; diagnostic reads showed the viewport at scrollY: 71 and no new navigation entry after Resume. Back consequently left the document. The test now resizes first, scrolls to “Elsewhere,” and verifies that outgoing reading position before resuming.

    The original case reproduced locally. Both variants pass with the correction, including at 6× CPU throttling. The queued review and CI own 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