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
Two Go-to picker tests count hints that stay in the DOM after narrowing, since #5845 #5915
Two Go-to picker tests in tests/browser/test_render_semantic_selection.py have failed in every ci push run on main from 43172505092 (b3387f111) through 43305728764 (fa76e28e3), 7 of 7:
test_dense_selection_hints_stay_short_and_reach_an_atomic_visual: after s shows 61 hints and the test presses the first key of a two-key code, .lf-target-picker-hint still counts 61, where 11 were expected.
test_target_hints_name_only_addressable_elements_shown_by_a_disclosure: .lf-target-picker-hint counts 32, where 7 were expected.
The last passing range ends at d5f181825. In d5f181825..b3387f111, #5845 (c5739b847) rewrote browser/runtime/keyboard/hints.js to "hold seats while the map narrows" and to withhold chips that don't read as their target's. It updated test_go_to.py and the hint-seating runtime tests, but not these two. My guess is that narrowed-out hints now stay in the DOM, still matching the selector, so the tests' count no longer measures what the user sees. That isn't verified: the fix might instead be in the test's reading (count only shown hints) or in hints.js, depending on what #5845 intended. I didn't run it locally.
The guess holds. Since #5845, a typed letter hides the chips it rules out (visibility: hidden) and doesn't remove them, so both tests counted chips that are no longer shown. The runtime is behaving as #5845 intended. #5922 makes both tests count only visible chips against the codes shown before the letter. Both fail on main with 61 and 32 and pass with the change locally. tend-land handles its CI and landing.
Activity
leaf-agent commentedon Nov 13, 2026
The guess holds. Since #5845, a typed letter hides the chips it rules out (
visibility: hidden) and doesn't remove them, so both tests counted chips that are no longer shown. The runtime is behaving as #5845 intended. #5922 makes both tests count only visible chips against the codes shown before the letter. Both fail on main with 61 and 32 and pass with the change locally. tend-land handles its CI and landing.