Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions .changeset/agent-device-0-21-37.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
---
"@e2e-dev/mobile": patch
"@e2e-dev/e2b": patch
"@e2e-dev/limrun": patch
"@e2e-dev/testmu": patch
---

Update agent-device to 0.21.37. Without `device`, the iOS pool no longer picks a paired iPhone that is not connected: agent-device now lists a phone whose CoreDevice tunnel is unavailable as not booted. A `device` that names such a phone fails in `prepare` with "iOS device is not ready for automation", before any test runs, instead of at app launch. A test's own swipe and scroll now skip agent-device's post-gesture wait, which 0.21.36 ignored.
2 changes: 1 addition & 1 deletion .changeset/mobile-skip-post-gesture-stabilization.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@
"@e2e-dev/mobile": patch
---

Send `postGestureStabilization: false` with a test's own swipe and scroll, so an agent-device release that accepts the option stops holding the next read for up to 3.5 s after a gesture the test then checks with `expect`. The first action on a control within 2 s of such a gesture re-reads the control until two reads agree on where it is, so a tap does not land on a list still coasting and get swallowed. The agent's gestures keep the wait. agent-device 0.21.36 ignores the option, so the speedup waits for a release that has it; until then the re-read adds one snapshot to the first action after a test's swipe or scroll.
Send `postGestureStabilization: false` with a test's own swipe and scroll, so an agent-device release that accepts the option stops holding the next read for up to 3.5 s after a gesture the test then checks with `expect`. The first action on a control within 2 s of such a gesture re-reads the control until two reads agree on where it is, so a tap does not land on a list still coasting and get swallowed. The agent's gestures keep the wait.
2 changes: 1 addition & 1 deletion packages/e2b/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,6 @@
"node": "^22.22.3 || >=24.8.0"
},
"dependencies": {
"agent-device": "0.21.36"
"agent-device": "0.21.37"
}
}
2 changes: 1 addition & 1 deletion packages/limrun/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,6 @@
"node": "^22.22.3 || >=24.8.0"
},
"dependencies": {
"agent-device": "0.21.36"
"agent-device": "0.21.37"
}
}
2 changes: 1 addition & 1 deletion packages/mobile/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@
},
"dependencies": {
"@napi-rs/image": "1.16.0",
"agent-device": "0.21.36",
"agent-device": "0.21.37",
"zod": "4.6.7"
},
"peerDependencies": {
Expand Down
4 changes: 3 additions & 1 deletion packages/mobile/tests/unit/engine.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -338,6 +338,8 @@ describe('lifecycle', () => {
{ platform: 'ios', id: '2BBF3F07-AF66-4F95-82AB-BF442506FC89', name: 'iPhone 16e', booted: true },
{ platform: 'ios', id: '8A2DC8D6-7B20-44FA-ADBB-47D3EAE6E8F3', name: 'iPhone 17', booted: true },
{ platform: 'ios', id: 'CAB49ABB-4A25-48B3-99C9-949153F95902', name: 'iPhone 17 Pro Max', booted: false },
// A paired phone whose CoreDevice tunnel is unavailable, as agent-device 0.21.37 lists it (#1528).
{ platform: 'ios', id: '00008110-001A2B3C4D5E6F70', name: 'iPhone 15', kind: 'device', booted: false },
];
const h = harness({ device: undefined });
h.fake.respond('devices.list', () => inventory);
Expand All @@ -356,7 +358,7 @@ describe('lifecycle', () => {
});
expect(result).toMatchObject({ workers: 2 });
expect(h.fake.lastArgs('devices.list')).toEqual({ platform: 'ios' });
// Both booted iPhones, by UDID, under slot sessions; the Android device and the shut-down iPhone are not the pool's.
// Both booted iPhones, by UDID, under slot sessions; the Android device, the shut-down iPhone, and the unreachable phone are not the pool's.
expect(h.fake.calls.filter((call) => call.method === 'devices.boot').map((call) => call.args)).toEqual([
{ platform: 'ios', udid: '2BBF3F07-AF66-4F95-82AB-BF442506FC89' },
{ platform: 'ios', udid: '8A2DC8D6-7B20-44FA-ADBB-47D3EAE6E8F3' },
Expand Down
2 changes: 1 addition & 1 deletion packages/testmu/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,6 @@
"node": "^22.22.3 || >=24.8.0"
},
"dependencies": {
"@agent-device/testmu": "0.21.36"
"@agent-device/testmu": "0.21.37"
}
}
32 changes: 16 additions & 16 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading