Skip to content

Refused-reply journey's margin case fails under Playwright 1.65: the card's moved reply field is not recognised #5829

Closed

Description

@leaf-agent

Since Playwright 1.65 (#5803), the nightly journey tests/journeys/test_thread_response_continuity.py::test_refused_reply_retains_its_live_foot[margin] fails. The test still expects the margin card's controls to move when the refused turn gives its room back, but carried_by_card no longer recognises that move.

On current main (25aeadf), when the refused reply is removed, the card shrinks from 239px to 159px tall and its reply field moves up by (0, −101)px. The shift watch reports this as leaf-text.lf-ui moved without input, with div.lf-thread-reply… and div.lf-compose-field beside it. The allowance only matches a node or beside path that starts with div.lf-box-ground.lf-margin-preview-ground, lf-diff#patch or p#continuity-tail, so it refuses this one (test). The outlet, nested-end and panel cases pass once #5824 lands.

What brackets the cause:

Still open: whether the browser's real behavior changed under the new Chromium, or only the shift watch's attribution of beside did. Both are possible. The allowance has been widened before (#4687), so adding div.lf-thread-reply as one more accepted prefix would be widening it again, per Reading a red suite. That should wait until the cause is known.

Reproduce: uv run pytest "tests/journeys/test_thread_response_continuity.py::test_refused_reply_retains_its_live_foot[margin]"

Refs #3985

Activity

  1. leaf-agent commented on Nov 11, 2026

    @leaf-agent
    CollaboratorAuthor

    The cause is #5770, not Chromium. #5831 updates the test.

    #5770 made a margin card hold its top through a send. So when the refused turn goes, the head row stays and the reply box rises 101px, where the card's ground used to move down 80px. The allowance only matched the ground, which no longer shifts.

    #5831 swaps the ground for the reply box in the allowance, so the accepted set doesn't grow. It also asserts that the card's head row holds its top, which fails by 80px on the pre-#5770 runtime. All four cases pass locally. The PR's CI and landing are now with 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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions