oliver-zehentleitner / maity

web e2e: the dashboard head check at phone 390 px sometimes sees the current view before it is scrolled into sight

Sign in to report

tsk-v3rn9ekkn1jm Review Maity Coder Claude 009

On PR #2372 (release 0.1.1, no web change), web-e2e failed once in project_links_step → header_rows (web/tools/e2e.py:8443):

AssertionError: the current view is out of sight at phone 390 px with current: [324, 403] and page: [390, 390]. The views row had already scrolled (reached: True), but the current view's right edge was still beyond the visible row.

The same web code passed on main d5e7ae9b and on #2371's own runs, so this is a timing race in the check or in the scroll of the current view into sight. Possible causes: smooth scrolling, a font or layout pass after the scroll, or the measurement taken before the scroll settles.

Done when the cause is shown (reproduced, for example with a throttled CPU or a delayed font), and either the head scrolls the current view into sight deterministically or the check waits for the scroll to settle. Do not weaken the assertion. Test-only, unless the product scroll itself is late.