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
test(mobile-benchmark): re-record iOS recordings on agent-device 0.21.35 - #1485
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 (fix(ios): keep the bridge while a surface host only lingers 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/mobile 0.12.4 replayed 11 with the old entries.
CI ios agent (lenient), replayed from cache out of 25 agent steps:
control inventory › a label query resolves a labeled text field
10.1s
🟢
control inventory › a labeled field answers name, display value, value reads, fill, and clear
16.1s
🟢
control inventory › a placeholder query and attribute reads find the field
4.9s
🟢
control inventory › a secure field takes a fill and denies value reads
8.5s
🟢
control inventory › press sends a character and Enter through the soft keyboard
10.1s
🟢
control inventory › a field autofocuses on mount and focus() moves the focus
10.5s
🟢
control inventory › toBeFocused follows the focus
9.3s
🟢
control inventory › a switch checks, unchecks, and reports its state
10.4s
🟢
control inventory › checkbox and radio roles answer getByRole, and a checkbox toggles by tap
9.0s
🟢
control inventory › checkbox and radio roles check, uncheck, and report their state
13.8s
🟢
control inventory › a radio group reports the checked option
9.1s
🟢
control inventory › buttons report disabled, enabled, and a state that arrives later
8.0s
🟢
control inventory › a display: none element is absent rather than hidden, its visible twin attached
7.3s
🟢
control inventory › a header answers its accessible name
4.8s
🟢
control inventory › a tab row answers count, all, texts, filters, positions, and switching
6.7s
🟢
control inventory › a list answers counts, list-form text, reads, and boxes in order
7.4s
⏭️
control inventory › a row contains its texts (skipped: React Native flattens a plain View out of the accessibility tree on both platforms: XCTest and the Android helper report a View with a testID as a leaf beside its children, so filter({ has }) and a query scoped to it match nothing; only Sc…)
🟢
control inventory › a long press lands as one
8.4s
🟢
control inventory › pointer verbs land at the point asked for
10.6s
🟢
control inventory › an ambiguous locator fails at once
6.2s
🟢
control inventory › screenshot, restart, and clearState reopen the app on its home list
12.0s
🟢
refusals › verbs a device never declares are refused before the engine
2ms
🟢
refusals › keys the soft keyboard cannot send are refused by the engine
556ms
🟢
refusals › a missing locator fails as not found once its timeout passes
1.1s
🟢
tests/device-fixture.e2e.ts · 11 passed
1m 36s
🟢
device fixture › setAppearance flips the color scheme the app reads
13.5s
🟢
device fixture › setOrientation rotates the window the app measures
9.5s
🟢
device fixture › the clipboard reads back what was written
6.1s
🟢
device fixture › home leaves the app, openApp brings it back where it was
6.4s
🟢
device fixture › closeApp then openApp relaunches on the home list
8.1s
🟢
device fixture › closeApp leaves the next commands on the same device
12.2s
🟢
device fixture › foregroundApp after closeApp reports the closed session as APP_NOT_OPEN
7.1s
🟢
device fixture › device.back pops the scenario
5.9s
🟢
device fixture › unstable_raw reaches the test session through agent-device
4.7s
🟢
device fixture › setLocation and clearLocation change what the app reads
11.0s
🟢
device fixture › enrollBiometrics and setBiometrics answer a biometric prompt
11.4s
🟢
tests/device.e2e.ts · 3 passed
1m 9s
🟢
sequential onboarding echoes the exact values
43.1s
🟢
onboarding rejects a malformed email before advancing
14.6s
🟢
dismissing the keyboard over choice controls leaves them as they were
11.6s
🟢
tests/flows-lists.e2e.ts · 7 passed
3m 17s
🟢
infinite scroll reaches the target item
24.3s
🟢
product catalog adds exactly two of the right variant
10.4s
🟢
gestures: long-press, then swipe left
9.5s
🟢
sticky chrome: accept below the fold, then continue
10.8s
🟢
async states: load, pull to refresh, claim through the toast
13.9s
🟢
huge virtualized list reaches row 512
1m 56s
🟢
web view coupon form applies the code shown on the page
11.9s
🟢
tests/flows.e2e.ts · 7 passed
1m 11s
🟢
text inputs unlock the submit button
13.4s
🟢
filled text inputs report their values
10.9s
🟢
modal flow confirms through the native alert
10.0s
🟢
bottom tabs act inside the last tab
7.7s
🟢
error recovery retries, then confirms the delete
9.4s
🟢
choice controls place the exact order
7.7s
🟢
debounced search selects the target once results arrive
control inventory › a label query resolves a labeled text field
21.7s
🟢
control inventory › a labeled field answers name, display value, value reads, fill, and clear
11.1s
🟢
control inventory › a placeholder query and attribute reads find the field
6.4s
🟢
control inventory › a secure field takes a fill and denies value reads
6.4s
🟢
control inventory › press sends a character and Enter through the soft keyboard
7.4s
🟢
control inventory › a field autofocuses on mount and focus() moves the focus
8.4s
🟢
control inventory › toBeFocused follows the focus
8.4s
🟢
control inventory › a switch checks, unchecks, and reports its state
8.2s
🟢
control inventory › checkbox and radio roles answer getByRole, and a checkbox toggles by tap
6.3s
🟢
control inventory › checkbox and radio roles check, uncheck, and report their state
10.2s
🟢
control inventory › a tab role answers getByRole
3.8s
🟢
control inventory › a radio group reports the checked option
7.3s
🟢
control inventory › buttons report disabled, enabled, and a state that arrives later
6.8s
🟢
control inventory › a display: none element is absent rather than hidden, its visible twin attached
6.6s
🟢
control inventory › a header answers its accessible name
4.0s
🟢
control inventory › a tab row answers count, all, texts, filters, positions, and switching
5.6s
🟢
control inventory › a list answers counts, list-form text, reads, and boxes in order
5.3s
⏭️
control inventory › a row contains its texts (skipped: React Native flattens a plain View out of the accessibility tree on both platforms: XCTest and the Android helper report a View with a testID as a leaf beside its children, so filter({ has }) and a query scoped to it match nothing; only Sc…)
🟢
control inventory › a long press lands as one
7.4s
🟢
control inventory › a double tap lands inside the 300 ms window
7.0s
🟢
control inventory › an ambiguous locator fails at once
5.4s
🟢
control inventory › screenshot, restart, and clearState reopen the app on its home list
8.2s
🟢
refusals › verbs a device never declares are refused before the engine
3ms
🟢
refusals › keys the soft keyboard cannot send are refused by the engine
1.6s
🟢
refusals › a missing locator fails as not found once its timeout passes
1.1s
🟢
tests/device-fixture.e2e.ts · 10 passed
1m 17s
🟢
device fixture › setOrientation rotates the window the app measures
5.2s
🟢
device fixture › home leaves the app, openApp brings it back where it was
4.6s
🟢
device fixture › foregroundApp sees the home screen after home()
4.2s
🟢
device fixture › closeApp then openApp relaunches on the home list
6.9s
🟢
device fixture › closeApp leaves the next commands on the same device
6.2s
🟢
device fixture › foregroundApp after closeApp reports the closed session as APP_NOT_OPEN
4.8s
🟢
device fixture › device.back pops the scenario
5.3s
🟢
device fixture › unstable_raw reaches the test session through agent-device
4.3s
🟢
device fixture › setNetwork and setAirplaneMode change what the app sees
14.8s
🟢
device fixture › setLocation and clearLocation change what the app reads
20.6s
🟢
tests/device.e2e.ts · 5 passed
37.5s
🟢
permission prompt › allowing the system dialog enables the microphone
5.6s
🟢
permission prompt › a denied prompt recovers once the permission is granted outside
11.4s
🟢
sequential onboarding echoes the exact values
9.3s
🟢
onboarding rejects a malformed email before advancing
5.1s
🟢
dismissing the keyboard over choice controls leaves them as they were
6.2s
🟢
tests/flows-lists.e2e.ts · 7 passed
2m 7s
🟢
infinite scroll reaches the target item
16.0s
🟢
product catalog adds exactly two of the right variant
8.4s
🟢
gestures: long-press, then swipe left
8.0s
🟢
gestures: double-tap completes the flow
9.4s
🟢
sticky chrome: accept below the fold, then continue
9.7s
🟢
async states: load, pull to refresh, claim through the toast
12.3s
🟢
huge virtualized list reaches row 512
1m 3s
🟢
tests/flows.e2e.ts · 7 passed
49.4s
🟢
text inputs unlock the submit button
6.4s
🟢
filled text inputs report their values
5.5s
🟢
modal flow confirms through the native alert
9.0s
🟢
bottom tabs act inside the last tab
6.4s
🟢
error recovery retries, then confirms the delete
8.2s
🟢
choice controls place the exact order
5.6s
🟢
debounced search selects the target once results arrive
8.2s
🟢
tests/login-form.e2e.ts · 3 passed
26.8s
🟢
login form › rejects a malformed email
7.4s
🟢
login form › rejects an unknown account
7.2s
🟢
login form › signs in and logs out
12.2s
🟢
tests/smoke.e2e.ts · 1 passed
6.0s
🟢
home lists the scenarios and opens one
6.0s
e2e 0.22.0 · 8m 9s · android-emulator · run artifacts
ASSERTION_FAILED at step 4 of 4: agent.act "Complete this scenario as the screen instructs: long-press the first target, swipe the card left, then double-tap the last target", after 1m 24s and 15 model calls
agent.act failed: The long-press and left swipe reached Step 3. I double-tapped the visible “Double-tap me” target, but the screen remained on Step 3 with the same instruction, so the scenario did not complete.
Turn 12: tap_at({"x":177,"y":465}) → [tap_at] Tapped the point (202, 530); no listed control is there (under it: #n4497 other "Double-tap me" testid="double-tap-target").
Turn 13: tap_at({"x":177,"y":465}) → [tap_at] Tapped the point (202, 530); no listed control is there (under it: #n4533 other "Double-tap me" testid="double-tap-target").
act completes Apple Pay Billing Address (skipped: the CI simulator's Apple Pay sheet skips the billing-address step, so the scenario cannot be completed there)
e2e 0.22.0 · 10m 41s · ios-simulator · run artifacts
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Ready for Human ReviewGreen, conflict-free, every thread handled. Waiting on a maintainer.size:LUp to 499 changed lines, not counting tests, fixtures, translated docs, or the lockfile
1 participant
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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.other "Flow completed"). On 0.21.35 those anchors and targets no longer exist, so the steps end-mismatch or miss their target.text "Flow completed"only), and the same steps replay whether Login Form ran first or not.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.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).@e2e-dev/mobile0.12.4 replayed 11 with the old entries.ios agent(lenient), replayed from cache out of 25 agent steps: