test(mobile-benchmark): re-record iOS recordings on agent-device 0.21.35
Merged
OK
1mo ago+101+101+012345678901234567890123456789-148-148-012345678901234567890123456789
- Re-records 7 iOS entries under
apps/mobile-benchmark/.e2e/cache/: Infinite Scroll List, Modal Flow, Bottom Tabs, Text Input Variations, Gestures, Sticky Chrome Target, Apple Pay. Same keys and file names, so nothing orphaned. Android entries untouched. - Why they broke: agent-device 0.21.31 (callstack/agent-device#3873) keeps the fast AX bridge snapshot backend when a system-sheet host (SafariViewService, left running after Login Form's "Save Password?" sheet) is still alive but off screen. The old entries were recorded with that host lingering, so they came from the XCTest tree, where an unlabelled wrapper takes its child's label (
other "Flow completed"). On 0.21.35 those anchors and targets no longer exist, so the steps end-mismatch or miss their target. - The new entries drop the wrapper anchors (
text "Flow completed"only), and the same steps replay whether Login Form ran first or not. - README unchanged: the hand-offs it lists and their reasons still hold.
Verified
Ran it locally: yes
test:agent --strict-cache --target ios-simulator --retries 0, fresh iPhone 17 Pro iOS 26.5 sim (erased before the first after-run), release build of this app, agent-device 0.21.35.
| iOS strict, local | Cache | Tests |
|---|---|---|
| main | 6 replayed · 12 handed off · 4 missed | 12 passed, 10 failed |
| this PR, run 1 (fresh sim) | 12 replayed · 6 handed off · 4 missed | 19 passed, 3 failed |
| this PR, run 2 (back to back) | 12 replayed · 6 handed off · 4 missed | 18 passed, 4 failed |
| this PR, the 7 re-recorded tests after a sim reboot, no Login Form first | 6 replayed · 1 handed off | 6 passed, 1 failed |
| this PR, Modal Flow alone after a sim reboot | 1 replayed | 1 passed |
- Failures left are the known ones: Debounced Search, Photo Picker, Choice Controls (
REPLAY_STALE, see the README). Gestures replays its long-press and hands the swipe and double tap to the model by design; the live double tap or swipe not registering on iOS is the existing XCTest gesture flake (also fails on main). - For reference,
@e2e-dev/mobile0.12.4 replayed 11 with the old entries. - CI
ios agent(lenient), replayed from cache out of 25 agent steps:
| CI iOS agent | Replayed |
|---|---|
| main (#1468, #1463) | 5, 6 |
| this PR | 12 |