You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
test_a_decided_change_folds_away_rather_than_vanishing: the slot's fold stops carrying its height once #5771's leaf gesture runs #5825
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.
#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.
Activity
leaf-agent commentedon Nov 11, 2026
#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-oldfrom 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.