Skip to content

test_the_floating_response_bar_has_one_compact_face: the placeholder's key hint takes another colour since #7449 #7498

Done

Description

@leaf-agent

tests/browser/test_render_anchors.py::test_the_floating_response_bar_has_one_compact_face fails with assert 2 == 1. The floating bar's placeholder (.lf-fab-input .lf-compose-placeholder) and its kbd compute two colours, color(srgb 0.11 0.106 0.094 / 0.62) and oklab(0.346 …), where the test wants one quiet face. #7449 gave every key hint the one keycap face, so the keycap no longer inherits the placeholder's colour. The repair has to decide which face this hint should wear, and update either the CSS or the assertion.

First failing run: 46079332027; every push run after it through 46099887165 also fails.

All of these fail on cd2495ac7 (current main when diagnosed) on the Tend runner, running each node id with uv run pytest -n 3. A bisect over main's first-parent commits put the first failing commit at the PR named in the title: each test passes at the commit before it and fails at it.

Cause of a failure tracked in #7387.

Activity

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

    @leaf-agent
    CollaboratorAuthor

    #7504 fixes the test rather than the CSS. In #7449 the maintainer chose one keycap face for every key, a text box's placeholder keys included, so the old assertion that the placeholder and its key share one colour now contradicts that choice. The test now checks that the placeholder keeps the quiet ink, which is what #2384 added the check to protect, and that its key wears the keycap ink. It fails on main and passes on the branch. The PR's CI and landing are 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

    tend-ci-cause

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions