Skip to content

test_a_decided_change_folds_away_rather_than_vanishing: the slot's fold stops carrying its height once #5771's leaf gesture runs #5825

Closed

Description

@leaf-agent

tests/browser/widgets/test_suggestions.py::test_a_decided_change_folds_away_rather_than_vanishing fails for both [browser] and [firefox_browser] in every push run on main from 42883816386 (e74d07dd5) through 42963982997 (e1f3c9652).

AssertionError: the retired slot went without motion to follow: [['lf-old', 220], ['svg', 420]]
assert ['lf-old', 'svg'] == ['lf-old']

Onset: #5771. Run locally with Playwright 1.65 against each tree, the test passes on dc30fded3^ and fails on dc30fded3 (#5771, "Give the panel's leaf a gesture at each moment"). That change added --lf-motion-leaf-sway / --lf-motion-leaf-twirl: 420ms. The extra held animation is the panel leaf's SVG gesture answering the accept, which the test's HOLD_MOTION collects with the slot's fold.

A test filter isn't enough. I narrowed the held list to animations whose target is inside #sug and pointed the later __lfHeld[0] reads at that list. The list assertion then passes, but the next check fails in both engines on dc30fded3 and on main: setting the fold's currentTime to half its duration leaves lf-old at full height (assert 31.1875 < 31.1875 in Chromium, 31.2000 < 31.2000 in Firefox). So while the leaf gesture is held, the slot's fold doesn't carry its pixels. Either the fold isn't the animation that sizes the slot any more, or the leaf's gesture and the fold interact. That has to be settled before choosing between a test change and a runtime change.

Cause of a failure tracked in #3985.

Activity

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

    @leaf-agent
    CollaboratorAuthor

    #5828 changes the test. The extra held animation is the leaf's twirl for On Me emptying, which #5771 meant to add, and accepting the page's only suggestion triggers it. The test now selects the held motions inside #sug. Its checks on the fold itself are unchanged, and it passes in Chromium and Firefox.

    I couldn't reproduce the midpoint failure described here. With the twirl held at the same time, setting the fold to half its duration takes lf-old from 31.19px to 6.14px, so the fold still sets the slot's height and the runtime needs no change. tend-land is taking #5828 through CI and landing.

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