fix(mobile): update agent-device to 0.21.21

Merged
OK
2mo ago
+18-12

What and why

  • Bumps agent-device 0.21.20 -> 0.21.21 in @e2e-dev/mobile and docs (release).
  • Relevant upstream fixes: iOS keyboard focus from the AX is-editing trait (#3163), iOS fill into a non-echoing field reports unconfirmed instead of failing (#3171), Android snapshot helper timeout backoff (#3160), devices report model/osVersion (#3119).
  • No API break for the engine: exports used by packages/mobile/src only gain optional fields, all STALE_REF_REASONS still emitted.
  • Comment fix in packages/mobile/src/errors.ts: since #3215 a drag's stale ref reports dispatched: 'no'; unknown only remains after Android blocking-dialog recovery.

Verified

Ran it locally: yes

  • Mobile benchmark, fresh Release builds of the app, deterministic suite:
    • iOS, two iOS 26.5 sims: e2e run --target ios-simulator
    • Android, Pixel 7 API 36 emulator: e2e run --target android-emulator
ios-simulator      Test Files  7 passed (7)   Tests  54 passed | 1 skipped (55)   5m 16s
android-emulator   Test Files  7 passed (7)   Tests  54 passed | 1 skipped (55)   7m 49s
  • Golden device trees re-captured on both platforms (capture:snapshots): no snapshot shape change from the bump. Only diffs were key order, the Android status bar clock/signal, and Stripe's own sheet (View more -> Edit), so fixtures are left untouched.
  • Pre-existing, not from this bump: with --video, every iOS test after foregroundApp after closeApp reports the closed session as APP_NOT_OPEN fails start video recording failed: 4 devices match this request equally. Same result on 0.21.20.