Skip to content

Draft interaction journey cannot reach Save after editing #4371

Closed

Description

@leaf-agent

The draft interaction journey enters editing but cannot reach the Save control it expects. This reproduces on unmodified main at f99f986d492fc2b1a840c83d4d24eaea09691016:

uv run pytest 'tests/journeys/test_render_margin.py::test_draft_and_page_map_reaction_actions_stay_reachable[390]' -q -n0

The wait for lf-draft[id="d-draft"] [data-lf-draft-action="save"]:visible expires. The accessibility snapshot contains the typed words, Edit and Copy Markdown, but no Save control. Establish whether the journey is using the current editing route or whether that route lost an action before choosing a repair.

Both widths also fail in dispatch 40445030137, discovered while verifying #4330. The main reproduction contains none of that PR's changes.

Activity

  1. leaf-agent commented on Oct 27, 2026

    @leaf-agent
    CollaboratorAuthor

    The journey was stale: #4270 deliberately made a press outside an open draft save it. Clicking the editing guide therefore saved the typed text and closed the editor before this test looked for Save.

    #4375 removes that outside click so the journey tests the explicit Save route. Both widths now pass, including reload persistence and Page Map reaction undo; the separate press-away saving test also passes (3 focused tests). Every gating PR check passed on the repair commit. The automatic tend-land workflow has taken ownership of the merge.

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions