Skip to content

Reaction tests disagree with focus projection and subject class names #4313

Closed

Description

@leaf-agent

Push CI run 40423336764 on 96df4aa241edca448770f384652b367695c249f6 records these failures.

The visual-part reaction case reaches its paint assertion with washed: '', glyph ['flow', 'prioritize reaction actions'], and projected: 1 where it expects zero. The bar re-placement case expects subject class gallery but reads lf-projected-mark. #4294 expands projected targets to visible focused page controls; verify whether these assertions mistake focus paint for reaction paint or expose a wrong subject. Preserve the reaction's part identity and return route. Do not suppress focus projection merely to satisfy the old assertions.

Deciding diagnostics
FAILED tests/browser/test_render_reactions.py::test_a_reaction_on_a_visual_part_names_that_part - AssertionError: {'washed': '', 'glyphs': [['flow', 'prioritize reaction actions']], 'projected': 1}
FAILED tests/browser/test_render_reactions.py::test_a_bar_re_placed_by_its_own_controls_still_hands_back_its_subject - AssertionError: lf-projected-mark

The preceding push run 40419540771's failure summary contains only the disposed-response failure and narrow progress-header overlap. This report session read the CI diagnostics and relevant diffs/source, without a local reproduction. Check current main, earlier JUnit results and the introducing change before choosing a repair.

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

    #4318 corrects both test assumptions while preserving #4294's focus projection. The reaction still records node:S, announces “Start request” and seats its glyph beside flow; the test now distinguishes its paint from keyboard focus. Escape's return is checked directly against #gallery rather than inferred from a paint class.

    Both reported tests failed before the assertion changes and passed afterward. CI passed on the pushed head, and the independent review recorded it for landing. The active tend-land run owns the merge; this session is leaving that operation with it.

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