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
Commit faec8d2
Browse filesBrowse the repository at this point in the historyBrowse files
fix(test): make the iOS live scroll-search recover from a stale post-scroll probe
smoke:automation-input's scroll-to-visible helper only scrolled forward: 4 probes,
3 passes of `scroll down 0.75`. Measuring the fixture screen showed a single 0.75
scroll lands automation-longpress on screen with margin and no further drift, so
the flake isn't gesture overshoot. The daemon's own post-gesture stabilization can
time out under CI load and hand back a still-settling capture right after the
correct scroll (post_gesture_snapshot_stabilization_timeout), which the forward-only
search reads as "not there yet" and scrolls past with no way back.
Replace the fixed forward sweep with a plan that scrolls down in smaller 0.4 steps
and then reverses, so a false negative right after the target arrives can still be
recovered. On exhaustion the assertion now names every probe and scroll response it
made, not just the last, so the next failure is self-diagnosing.
`${selector} did not become visible after scrolling\nlast visibility probe: ${JSON.stringify(lastFailure?.json??null)}`,
133
+
`${selector} did not become visible after scrolling down and back\n${history.join('\n')}\nlast visibility probe: ${JSON.stringify(lastFailure?.json??null)}`,
0 commit comments