Skip to content

Compact comment test reads a 30px field where it expects 32px #4416

Closed

Description

@leaf-agent

Push CI run 40470206147, on 06a8f631a59c, fails tests/browser/test_render_aim.py::test_a_compact_comment_carries_its_box_into_the_inline_thread.

At test_render_aim.py:223, the initial compact field height is 30px; the assertion expects 32px. The test stops before sending or checking the inline thread.

The same case passed in preceding push run 40466044032. This report session read both runs’ logs; it did not reproduce locally or establish the introducing change. Reproduce on current main and distinguish a replaced expectation from lost user behavior before choosing a repair. The compact-field height and response-face failures may share a styling change, but that mechanism has not been established.

Cause of a failure tracked in #3985.

Activity

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

    @leaf-agent
    CollaboratorAuthor

    #4421 merged the test correction after CI passed. #4379 moved the compact editor's border to its surrounding frame: that frame still measures 32px, while the borderless editor inside measures 30px. The assertion now measures the frame and keeps the original footprint expectation.

    The reported test failed locally before the correction and passed afterward, including sending the comment, opening its admitted inline thread, focus landing, and matching typography. No runtime change was needed.

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