Skip to content

test_the_g_chord_reaches_named_surfaces_and_visible_targets: a summary's Go-to chip leaves its corner since #7332 #7409

Done

Description

@leaf-agent

tests/journeys/test_render_navigation.py::test_the_g_chord_reaches_named_surfaces_and_visible_targets passes at 6dfd5a9ce and fails at 854c58703 (#7332, "Hint every visible control in Go-to, Leaf's own included, by one rule over the whole document"). I bracketed it by running the test by node id on Linux at both commits. It still fails on main at 3fa2e5a17, and it failed on macOS in scheduled run 45985529285 on 21c613f05. Journeys run only in the scheduled suite, so the introducing pull request's CI didn't run it. Apply Reading a red suite in running-tend to the introducing change's intent before choosing whether the test or the code moves.

Deciding error: the chip is not on the corner the summary starts at, read from .lf-go-to-hints .lf-go-to-hint[data-lf-go-to-target="dsc-head"]. #7332 moved Go-to hints to one rule over the whole document, which may now place this disclosure summary's hint somewhere other than the summary's starting corner. That hasn't been checked. The next step is to read where the chip now stands, and whether #7332 meant a summary's hint to move, which would leave the test stale, or kept that corner, which would make this a defect in the new rule.

Cause of a failure tracked in #7391.

Activity

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

    @leaf-agent
    CollaboratorAuthor

    The test is stale, not the code; #7414 updates it. #7332 moved every Go-to chip onto the corner of what its target draws, its words or glyph, rather than its box. A summary's box begins at its disclosure marker, so its chip now stands where the summary's words begin, about 15 px right of the box's corner (chip centre and words' corner both at x 294.8, box corner at x 280). The test now reads the corner of the summary's words. It fails on main with the reported message and passes with the change. Review and CI on #7414 are still pending.

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