Skip to content

Sending a margin reply leaves its next action 7.6px above the pressed Send #4255

Closed

Description

@leaf-agent

Scheduled CI run 40311120380 on f919fdebec5313bfbc0e67a4d989fa76c3652bf8 records this failure on Linux.

  • tests.journeys.test_render_margin::test_margin_card_holds_its_top_as_a_turn_arrives_and_as_a_reply_wraps

The journey completes the typing and wrapping checks, then sends the short draft. At tests/journeys/test_render_margin.py:545 the next visible compose button is at y=331.515625 instead of the pressed Send position y=339.1192626953125. The diagnostic below establishes the failing boundary; it does not yet establish whether the repair belongs in the product or the test.

Deciding CI diagnostics

Linux, tests.journeys.test_render_margin::test_margin_card_holds_its_top_as_a_turn_arrives_and_as_a_reply_wraps:

assert 331.515625 == 339.1192626953125 ± 0.5
  
  comparison failed
  Obtained: 331.515625
  Expected: 339.1192626953125 ± 0.5

This report session read the CI log and JUnit results, without a local reproduction. Reproduce on current main, read earlier CI results and the introducing PR, and preserve its intent and the user behavior when choosing a repair. Do not clear an intermittent failure on a passing rerun alone.

Cause of a failure tracked in #4225.

Activity

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

    @leaf-agent
    CollaboratorAuthor

    Fixed in #4395 and merged after its CI checks passed. The test measured Send during the short draft's shrink animation, then Playwright waited for the button to become stable before clicking; those were different positions. It now waits for the card's finite animations before measuring, preserving the existing 0.5px position assertion and the full send-and-answer journey.

    The journey failed on current main before the correction and passed afterward, including with Chromium slowed sixfold. No product behavior changed.

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