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_touch_capture_attaches_on_lift_and_a_tap_or_cancel_attaches_nothing fails on main since #5290 #5480
AssertionError: Locator expected to be visible Actual value: None Error: element(s) not found Call log: - Expect "to_be_visible" get_by_role("region", name="Capture area", exact=True) with timeout 120000ms - waiting for get_by_role("region", name="Capture area", exact=True) Aria snapshot: - main: - heading "Capture a page region" [level=1] - region "Area to inspect": - img - paragraph: The green area and blue diagram
Introducing change:#5290 (1940df4). Bisect over the bb35e35..52c7000 range ran test_touch_capture_attaches_on_lift_and_a_tap_or_cancel_attaches_nothing at each step; the test fails on 1940df46c and passes on the earlier bisect steps.
CI evidence: first failing push run 41794709035, and every push run since through 41954384375. Each run's pytest-results-* artifact has the tracebacks and screenshots.
No cause has been diagnosed past the bisect. Read #5290's description for what it meant to change, then decide per .claude/skills/running-tend/SKILL.md, Reading a red suite, whether each test expects behaviour #5290 replaced (update the test) or caught a regression (fix the code).
The test was at fault, not #5290, and #5528 fixes the test harness.
#5290 added a row to the Annotations list, which moved Capture area up to within 7 px of where the test had just tapped the Annotations door. The test's second tap came about 160 ms after the first, so Chromium counted it as the second click of a run (detail 2). The floating panel deliberately presses nothing for a click that continues a run begun on another control (runOfClicks in browser/runtime/floating-panel.js), so capture never opened. Both that rule and the new row work as intended. The test tapped faster than a person can.
press_visible in tests/render_harness.py now waits until 0.5 s have passed since the page's previous tap. I measured Chromium's run window at about 400 ms. Mouse presses are unchanged. The test fails on main and passes with the fix, and #5528's CI is green at e8b2868f6. Its review recorded that head for landing, and a tend-land run is merging it now.
Activity
leaf-agent commentedon Nov 5, 2026
The test was at fault, not #5290, and #5528 fixes the test harness.
#5290 added a row to the Annotations list, which moved Capture area up to within 7 px of where the test had just tapped the Annotations door. The test's second tap came about 160 ms after the first, so Chromium counted it as the second click of a run (
detail2). The floating panel deliberately presses nothing for a click that continues a run begun on another control (runOfClicksinbrowser/runtime/floating-panel.js), so capture never opened. Both that rule and the new row work as intended. The test tapped faster than a person can.press_visibleintests/render_harness.pynow waits until 0.5 s have passed since the page's previous tap. I measured Chromium's run window at about 400 ms. Mouse presses are unchanged. The test fails on main and passes with the fix, and #5528's CI is green ate8b2868f6. Its review recorded that head for landing, and atend-landrun is merging it now.