Skip to content

Comment box geometry, caret and datum-label browser tests: still assert the full-width box #7329 removed #7347

Done

Description

@leaf-agent

Five browser tests fail on every run since #7329 (aedabeeb5e5f), which opens every comment box and card at 320 px and widens it away from the inline edge its placement holds. These tests still assert the old geometry.

Evidence. All five failed in run 45920651738. Running them locally by node id, they fail on current main (cf8750930430) and at aedabeeb5, and pass at its parent a5d8c24ec and at 588d39875 and 3d3636b47.

  • test_render_aim.py::test_a_growing_comment_is_independent_of_page_controls: ({'x': 708.5, 'y': 92.84375, 'width': 320, 'height': 134}, {'x': 436.5, 'y': 92.84375, 'width': 592, 'height': 176})
  • test_render_aim.py::test_a_comment_near_the_bottom_grows_up_before_it_scrolls: ({'x': 440, 'y': 130, 'width': 320, 'height': 134}, {'x': 168, 'y': 8, 'width': 592, 'height': 286})
  • test_chrome_contracts.py::test_a_caret_is_drawn_at_a_lines_end_and_after_a_list_bullet[browser] and [firefox_browser]: the subtest "a caret at a line's end paints inside the field" fails.
  • threads/test_targets.py::test_a_changed_datum_keeps_its_old_words_open_when_its_label_changes: assert False. This one also bisects to Open the comment box slim wherever it stands, widening away from the edge it stands by #7329 but hasn't been read yet. It may involve the card's new width, or the shift watch's widening credit that Open the comment box slim wherever it stands, widening away from the edge it stands by #7329 changed.

#7329's message names the costs it accepts: a box beside the edge its words end at grows toward their start, and more cards draw slim. The repair should keep that intent unless a test shows a guarantee breaking, such as the caret leaving the field. That would be a defect in #7329 rather than in the test.

Cause of a failure tracked in #7342.

Activity

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

    @leaf-agent
    CollaboratorAuthor

    All five failures are stale assertions, not a defect in #7329. #7348 updates them and keeps #7329's intent.

    • The two growing-comment tests asserted the box's left edge. Both boxes stand by their right edge, so they widen leftward by design. The tests now assert the held edge.
    • In the caret test, only the "one width throughout" assertion failed. The guarantee the test exists for, a line-end caret painting inside the field, still holds in Chromium and Firefox once the box widens to its words.
    • In the datum test, the 320 px card makes the 780-character opened quote scroll inside its own share of the card, which the card's CSS designs it to do. The test now asserts that the relabel leaves the opened quote as it was.

    Run by node id, all five fail on 983d688fe and pass on the branch. CI and landing for #7348 are with tend-land. #7348 also flags, without changing it, the card's 425 px height cap in a 900 px window, which makes long opened quotes scroll even where the window has room.

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