Browser test "touch gestures on a phone ... goes to the item just read" fails now and then in the full run #184

Closed
opened 2026-10-10 18:43:26 -07:00 by rays · 1 comment
Owner

Failed once in a full npx playwright test run on main at 7bec82d (71 passed, 1 failed), then passed alone three times, on 7bec82d and on 089202f before it. The change in between only touched the show settings dialog, so it looks like an order or timing dependence on what earlier tests leave behind (the suite shares one daemon). Not investigated yet.

Failed once in a full `npx playwright test` run on main at 7bec82d (71 passed, 1 failed), then passed alone three times, on 7bec82d and on 089202f before it. The change in between only touched the show settings dialog, so it looks like an order or timing dependence on what earlier tests leave behind (the suite shares one daemon). Not investigated yet.
rays added the bug label 2026-10-10 18:43:26 -07:00
Author
Owner

The page works; the test was at fault. Fixed in ba9759f: the test's drag awaited each of its ten touch events before sending the next, so on a busy machine (the failing run took 2.4 min against the usual 1.1) a drag outlasted the 800 ms a swipe has (gestures.ts) and was taken for a slow drag. Spacing the events 110 ms apart reproduced it exactly. Now they are sent together, in order; the gesture tests passed 5 times over and the full suite after.

The page works; the test was at fault. Fixed in ba9759f: the test's drag awaited each of its ten touch events before sending the next, so on a busy machine (the failing run took 2.4 min against the usual 1.1) a drag outlasted the 800 ms a swipe has (gestures.ts) and was taken for a slow drag. Spacing the events 110 ms apart reproduced it exactly. Now they are sent together, in order; the gesture tests passed 5 times over and the full suite after.
rays closed this issue 2026-10-11 05:58:28 -07:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: rays/ipx#184