@e2e-dev/mobile 0.12.6-nightly-20261104030231 → 0.12.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -2
- package/dist/.build.json +1 -1
- package/dist/surface.js +14 -7
- package/package.json +4 -4
package/README.md
CHANGED
|
@@ -19,7 +19,7 @@ npm install --save-dev e2e @e2e-dev/mobile
|
|
|
19
19
|
|
|
20
20
|
`agent-device` needs Xcode with an iOS simulator runtime, or the Android SDK
|
|
21
21
|
with an emulator. A phone needs Developer Mode and runner signing on iOS, or
|
|
22
|
-
USB debugging authorized on Android (see [Physical devices](https://e2e.
|
|
22
|
+
USB debugging authorized on Android (see [Physical devices](https://e2e.com/docs/mobile#physical-devices)). Run `npx e2e doctor` to check the setup before
|
|
23
23
|
a run.
|
|
24
24
|
|
|
25
25
|
```ts title="e2e.config.ts"
|
|
@@ -176,4 +176,4 @@ withheld for the rest of the attempt.
|
|
|
176
176
|
|
|
177
177
|
## Documentation
|
|
178
178
|
|
|
179
|
-
Full documentation lives at [e2e.
|
|
179
|
+
Full documentation lives at [e2e.com/docs](https://e2e.com/docs).
|
package/dist/.build.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":"0.12.6
|
|
1
|
+
{"version":"0.12.6"}
|
package/dist/surface.js
CHANGED
|
@@ -484,13 +484,20 @@ export class AgentDeviceSurface {
|
|
|
484
484
|
* `closeApp` leaves it.
|
|
485
485
|
*/
|
|
486
486
|
async stopScreenRecording(video, signal) {
|
|
487
|
-
|
|
488
|
-
|
|
489
|
-
this.recording
|
|
490
|
-
|
|
491
|
-
|
|
492
|
-
|
|
493
|
-
|
|
487
|
+
return raceAbort(() => {
|
|
488
|
+
// Cleanup must wait for this bookkeeping as well as the SDK request.
|
|
489
|
+
video.stopping ??= this.track(this.command('stop video recording', (client) => client.recording.record({ ...this.selection(), action: 'stop' })).then((result) => {
|
|
490
|
+
if (this.recording === video)
|
|
491
|
+
this.recording = undefined;
|
|
492
|
+
if (result.recordOnlySession === true)
|
|
493
|
+
this.screenReplaced();
|
|
494
|
+
return result;
|
|
495
|
+
}, (cause) => {
|
|
496
|
+
video.stopping = undefined;
|
|
497
|
+
throw cause;
|
|
498
|
+
}));
|
|
499
|
+
return video.stopping;
|
|
500
|
+
}, signal, 'stop video recording');
|
|
494
501
|
}
|
|
495
502
|
/**
|
|
496
503
|
* Starts the device provider's recording of the leased device. Marked
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@e2e-dev/mobile",
|
|
3
|
-
"version": "0.12.6
|
|
3
|
+
"version": "0.12.6",
|
|
4
4
|
"description": "Mobile engine (iOS and Android) for e2e agentic end-to-end testing, built on agent-device",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"e2e",
|
|
@@ -61,7 +61,7 @@
|
|
|
61
61
|
},
|
|
62
62
|
"peerDependencies": {
|
|
63
63
|
"ai": "^7.0.0",
|
|
64
|
-
"e2e": "0.22.1
|
|
64
|
+
"e2e": ">=0.22.1 <1"
|
|
65
65
|
},
|
|
66
66
|
"peerDependenciesMeta": {
|
|
67
67
|
"ai": {
|
|
@@ -71,8 +71,8 @@
|
|
|
71
71
|
"devDependencies": {
|
|
72
72
|
"@types/node": "26.6.6",
|
|
73
73
|
"@types/pngjs": "6.0.5",
|
|
74
|
-
"ai": "7.0.
|
|
75
|
-
"e2e": "0.
|
|
74
|
+
"ai": "7.0.163",
|
|
75
|
+
"e2e": "0.23.0",
|
|
76
76
|
"typescript": "7.0.2",
|
|
77
77
|
"vitest": "5.1.0"
|
|
78
78
|
},
|