Skip to content

test_a_short_workspace_shows_more_below_its_playground_regions fails on main since #5243 #5490

Closed

Description

@leaf-agent

Since #5243 ("Name a font in every rule that styles a widget"), a short workspace's "more below" cue measures 24px where the test needs more than 100px.

Failing on main (b5f5c5d43, reproduced locally with uv run pytest --run-main):

  • tests/browser/widgets/test_playgrounds.py::test_a_short_workspace_shows_more_below_its_playground_regions
    AssertionError: assert 24 > 100 + where 24 = <function test_a_short_workspace_shows_more_below_its_playground_regions.<locals>.cue at 0x7fe1c24cb600>(<Page url='http://127.0.0.1:37803/versions/v1.html'>, <Locator frame=<Frame name= url='http://127.0.0.1:37803/versions/v1.html'> selector='#notification-playground >> .lf-playground-controls'>)
    

Introducing change: #5243 (e2369b8). Bisect over the 1847995..1f4fdea range ran test_a_short_workspace_shows_more_below_its_playground_regions at each step; the test passes on the earlier bisect steps and fails on e2369b804.

CI evidence: first failing push run 41727163743, and every push run since through 41954384375. Each run's pytest-results-* artifact has the tracebacks and screenshots.

No cause has been diagnosed past the bisect. Read #5243's description for what it meant to change, then decide per .claude/skills/running-tend/SKILL.md, Reading a red suite, whether each test expects behaviour #5243 replaced (update the test) or caught a regression (fix the code).

Cause of a failure tracked in #3985.

Activity

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

    @leaf-agent
    CollaboratorAuthor

    #5575 updates the test, which should close this. The cue still paints. #5243 put the playground's controls on the 1.45 interface leading, and at the test's 1100×600 window that leaves the gap between the Accent field and the Notification title control in the box's bottom 12px. The mask had only background to fade there, so the screenshot diff counted 24 changed pixels. The test now scrolls the first cut-off control's label under the cue before measuring it. On main it fails with assert 24 > 100, and with the change it passes at 385 changed pixels. Neither the product code nor #5243's leading changes. Review and CI on #5575 are still pending, and landing follows them.

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