appium-xcuitest-driver 7.6.1 → 7.7.1
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/CHANGELOG.md +14 -0
- package/build/lib/commands/app-management.d.ts.map +1 -1
- package/build/lib/commands/app-management.js +9 -17
- package/build/lib/commands/app-management.js.map +1 -1
- package/build/lib/commands/appearance.d.ts.map +1 -1
- package/build/lib/commands/appearance.js +2 -4
- package/build/lib/commands/appearance.js.map +1 -1
- package/build/lib/commands/biometric.d.ts.map +1 -1
- package/build/lib/commands/biometric.js +3 -6
- package/build/lib/commands/biometric.js.map +1 -1
- package/build/lib/commands/certificate.d.ts +1 -1
- package/build/lib/commands/certificate.d.ts.map +1 -1
- package/build/lib/commands/certificate.js +3 -5
- package/build/lib/commands/certificate.js.map +1 -1
- package/build/lib/commands/condition.d.ts.map +1 -1
- package/build/lib/commands/condition.js +2 -4
- package/build/lib/commands/condition.js.map +1 -1
- package/build/lib/commands/context.d.ts.map +1 -1
- package/build/lib/commands/context.js +1 -2
- package/build/lib/commands/context.js.map +1 -1
- package/build/lib/commands/deviceInfo.d.ts.map +1 -1
- package/build/lib/commands/deviceInfo.js +1 -2
- package/build/lib/commands/deviceInfo.js.map +1 -1
- package/build/lib/commands/file-movement.d.ts.map +1 -1
- package/build/lib/commands/file-movement.js +14 -22
- package/build/lib/commands/file-movement.js.map +1 -1
- package/build/lib/commands/general.d.ts.map +1 -1
- package/build/lib/commands/general.js +1 -2
- package/build/lib/commands/general.js.map +1 -1
- package/build/lib/commands/gesture.d.ts.map +1 -1
- package/build/lib/commands/gesture.js +1 -2
- package/build/lib/commands/gesture.js.map +1 -1
- package/build/lib/commands/keychains.js +1 -2
- package/build/lib/commands/keychains.js.map +1 -1
- package/build/lib/commands/localization.d.ts.map +1 -1
- package/build/lib/commands/localization.js +1 -3
- package/build/lib/commands/localization.js.map +1 -1
- package/build/lib/commands/location.d.ts.map +1 -1
- package/build/lib/commands/location.js +1 -2
- package/build/lib/commands/location.js.map +1 -1
- package/build/lib/commands/log.d.ts.map +1 -1
- package/build/lib/commands/log.js +2 -4
- package/build/lib/commands/log.js.map +1 -1
- package/build/lib/commands/memory.d.ts.map +1 -1
- package/build/lib/commands/memory.js +2 -2
- package/build/lib/commands/memory.js.map +1 -1
- package/build/lib/commands/notifications.d.ts +1 -1
- package/build/lib/commands/notifications.d.ts.map +1 -1
- package/build/lib/commands/notifications.js +1 -2
- package/build/lib/commands/notifications.js.map +1 -1
- package/build/lib/commands/pasteboard.d.ts.map +1 -1
- package/build/lib/commands/pasteboard.js +2 -4
- package/build/lib/commands/pasteboard.js.map +1 -1
- package/build/lib/commands/pcap.d.ts.map +1 -1
- package/build/lib/commands/pcap.js +1 -2
- package/build/lib/commands/pcap.js.map +1 -1
- package/build/lib/commands/performance.d.ts.map +1 -1
- package/build/lib/commands/performance.js +4 -9
- package/build/lib/commands/performance.js.map +1 -1
- package/build/lib/commands/permissions.d.ts.map +1 -1
- package/build/lib/commands/permissions.js +2 -4
- package/build/lib/commands/permissions.js.map +1 -1
- package/build/lib/commands/recordscreen.d.ts.map +1 -1
- package/build/lib/commands/recordscreen.js +1 -2
- package/build/lib/commands/recordscreen.js.map +1 -1
- package/build/lib/commands/screenshots.d.ts +3 -2
- package/build/lib/commands/screenshots.d.ts.map +1 -1
- package/build/lib/commands/screenshots.js +8 -3
- package/build/lib/commands/screenshots.js.map +1 -1
- package/build/lib/commands/web.d.ts.map +1 -1
- package/build/lib/commands/web.js +1 -2
- package/build/lib/commands/web.js.map +1 -1
- package/build/lib/commands/xctest-record-screen.d.ts.map +1 -1
- package/build/lib/commands/xctest-record-screen.js +2 -4
- package/build/lib/commands/xctest-record-screen.js.map +1 -1
- package/build/lib/commands/xctest.d.ts.map +1 -1
- package/build/lib/commands/xctest.js +2 -4
- package/build/lib/commands/xctest.js.map +1 -1
- package/build/lib/driver.d.ts +26 -8
- package/build/lib/driver.d.ts.map +1 -1
- package/build/lib/driver.js +89 -83
- package/build/lib/driver.js.map +1 -1
- package/build/lib/py-ios-device-client.d.ts +1 -1
- package/build/lib/real-device-management.d.ts +30 -27
- package/build/lib/real-device-management.d.ts.map +1 -1
- package/build/lib/real-device-management.js +34 -35
- package/build/lib/real-device-management.js.map +1 -1
- package/build/lib/real-device.d.ts +36 -9
- package/build/lib/real-device.d.ts.map +1 -1
- package/build/lib/real-device.js +46 -15
- package/build/lib/real-device.js.map +1 -1
- package/build/lib/simulator-management.d.ts +58 -68
- package/build/lib/simulator-management.d.ts.map +1 -1
- package/build/lib/simulator-management.js +74 -66
- package/build/lib/simulator-management.js.map +1 -1
- package/lib/commands/app-management.js +11 -18
- package/lib/commands/appearance.js +4 -4
- package/lib/commands/biometric.js +3 -6
- package/lib/commands/certificate.js +3 -5
- package/lib/commands/condition.js +2 -4
- package/lib/commands/context.js +1 -2
- package/lib/commands/deviceInfo.js +1 -2
- package/lib/commands/file-movement.js +14 -22
- package/lib/commands/general.js +1 -2
- package/lib/commands/gesture.js +1 -2
- package/lib/commands/keychains.js +2 -2
- package/lib/commands/localization.js +1 -4
- package/lib/commands/location.js +1 -2
- package/lib/commands/log.js +2 -4
- package/lib/commands/memory.js +2 -2
- package/lib/commands/notifications.js +1 -2
- package/lib/commands/pasteboard.js +4 -4
- package/lib/commands/pcap.js +1 -2
- package/lib/commands/performance.js +4 -8
- package/lib/commands/permissions.js +6 -4
- package/lib/commands/recordscreen.js +1 -2
- package/lib/commands/screenshots.js +8 -3
- package/lib/commands/web.js +1 -2
- package/lib/commands/xctest-record-screen.js +2 -4
- package/lib/commands/xctest.js +2 -4
- package/lib/driver.js +91 -86
- package/lib/real-device-management.js +37 -44
- package/lib/real-device.js +47 -17
- package/lib/simulator-management.js +83 -82
- package/npm-shrinkwrap.json +14 -36
- package/package.json +2 -2
|
@@ -1,10 +1,24 @@
|
|
|
1
|
-
export
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
1
|
+
export class RealDevice {
|
|
2
|
+
/**
|
|
3
|
+
* @param {string} udid
|
|
4
|
+
* @param {import('@appium/types').AppiumLogger} [logger]
|
|
5
|
+
*/
|
|
6
|
+
constructor(udid: string, logger?: import("@appium/types").AppiumLogger | undefined);
|
|
7
|
+
udid: string;
|
|
8
|
+
_log: import("@appium/types").AppiumLogger;
|
|
5
9
|
devicectl: Devicectl;
|
|
6
|
-
|
|
7
|
-
|
|
10
|
+
/**
|
|
11
|
+
* @returns {import('@appium/types').AppiumLogger}
|
|
12
|
+
*/
|
|
13
|
+
get log(): import("@appium/types").AppiumLogger;
|
|
14
|
+
/**
|
|
15
|
+
* @param {string} bundleId
|
|
16
|
+
*/
|
|
17
|
+
remove(bundleId: string): Promise<void>;
|
|
18
|
+
/**
|
|
19
|
+
* @param {string} bundleId
|
|
20
|
+
*/
|
|
21
|
+
removeApp(bundleId: string): Promise<void>;
|
|
8
22
|
/**
|
|
9
23
|
*
|
|
10
24
|
* @param {string} app
|
|
@@ -13,7 +27,11 @@ declare class RealDevice {
|
|
|
13
27
|
* @privateRemarks This really needs type guards built out
|
|
14
28
|
*/
|
|
15
29
|
install(app: string, timeout?: number | undefined, strategy?: 'ios-deploy' | 'serial' | 'parallel' | null): Promise<void>;
|
|
16
|
-
|
|
30
|
+
/**
|
|
31
|
+
* @param {string} bundlePathOnPhone
|
|
32
|
+
* @param {boolean} [isUpgrade=false]
|
|
33
|
+
*/
|
|
34
|
+
installOrUpgradeApplication(bundlePathOnPhone: string, isUpgrade?: boolean | undefined): Promise<void>;
|
|
17
35
|
/**
|
|
18
36
|
* Alias for {@linkcode install}
|
|
19
37
|
* @param {string} app
|
|
@@ -43,7 +61,12 @@ declare class RealDevice {
|
|
|
43
61
|
* if the app is not found.
|
|
44
62
|
*/
|
|
45
63
|
fetchAppInfo(bundleId: string, returnAttributes?: string | string[] | undefined): Promise<any | undefined>;
|
|
46
|
-
|
|
64
|
+
/**
|
|
65
|
+
* @param {string} bundleId
|
|
66
|
+
* @param {string} platformVersion
|
|
67
|
+
* @returns {Promise<boolean>}
|
|
68
|
+
*/
|
|
69
|
+
terminateApp(bundleId: string, platformVersion: string): Promise<boolean>;
|
|
47
70
|
/**
|
|
48
71
|
* @param {string} bundleName The name of CFBundleName in Info.plist
|
|
49
72
|
*
|
|
@@ -51,7 +74,11 @@ declare class RealDevice {
|
|
|
51
74
|
* 'CFBundleName' attribute as 'bundleName'.
|
|
52
75
|
*/
|
|
53
76
|
getUserInstalledBundleIdsByBundleName(bundleName: string): Promise<string[]>;
|
|
54
|
-
|
|
77
|
+
/**
|
|
78
|
+
* @returns {Promise<string>}
|
|
79
|
+
*/
|
|
80
|
+
getPlatformVersion(): Promise<string>;
|
|
55
81
|
}
|
|
82
|
+
export default RealDevice;
|
|
56
83
|
import { Devicectl } from './devicectl';
|
|
57
84
|
//# sourceMappingURL=real-device.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"real-device.d.ts","sourceRoot":"","sources":["../../lib/real-device.js"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"real-device.d.ts","sourceRoot":"","sources":["../../lib/real-device.js"],"names":[],"mappings":"AAsBA;IACE;;;OAGG;IACH,kBAHW,MAAM,6DAOhB;IAHC,aAAgB;IAChB,2CAAmC;IACnC,qBAAoD;IAGtD;;OAEG;IACH,gDAEC;IAED;;OAEG;IACH,iBAFW,MAAM,iBAShB;IAED;;OAEG;IACH,oBAFW,MAAM,iBAIhB;IAED;;;;;;OAMG;IACH,aALW,MAAM,2CAEN,YAAY,GAAC,QAAQ,GAAC,UAAU,GAAC,IAAI,iBAoE/C;IAED;;;OAGG;IACH,+CAHW,MAAM,kDAiChB;IAED;;;;;OAKG;IACH,gBAJW,MAAM,WACN,MAAM,YACN,YAAY,GAAC,QAAQ,GAAC,UAAU,GAAC,IAAI,iBAI/C;IAED;;;;;;;OAOG;IACH,yBAJW,MAAM,GACL,QAAQ,OAAO,CAAC,CAK3B;IAED;;;;;;;;;;;OAWG;IACH,uBARW,MAAM,qBACN,MAAM,GAAC,MAAM,EAAE,GAAC,SAAS,GAIvB,QAAQ,MAAO,SAAS,CAAC,CAgBrC;IAED;;;;OAIG;IACH,uBAJW,MAAM,mBACN,MAAM,GACJ,QAAQ,OAAO,CAAC,CA2D5B;IAED;;;;;OAKG;IACH,kDALW,MAAM,GAEJ,QAAQ,MAAM,EAAE,CAAC,CAsB7B;IAED;;OAEG;IACH,sBAFa,QAAQ,MAAM,CAAC,CAI3B;CACF;;0BAlTyB,aAAa"}
|
package/build/lib/real-device.js
CHANGED
|
@@ -3,6 +3,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
3
3
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
4
|
};
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
exports.RealDevice = void 0;
|
|
6
7
|
const support_1 = require("appium/support");
|
|
7
8
|
const path_1 = __importDefault(require("path"));
|
|
8
9
|
const appium_ios_device_1 = require("appium-ios-device");
|
|
@@ -24,10 +25,24 @@ const APP_INSTALL_STRATEGY = Object.freeze({
|
|
|
24
25
|
IOS_DEPLOY,
|
|
25
26
|
});
|
|
26
27
|
class RealDevice {
|
|
28
|
+
/**
|
|
29
|
+
* @param {string} udid
|
|
30
|
+
* @param {import('@appium/types').AppiumLogger} [logger]
|
|
31
|
+
*/
|
|
27
32
|
constructor(udid, logger) {
|
|
28
33
|
this.udid = udid;
|
|
29
|
-
this.
|
|
34
|
+
this._log = logger ?? logger_1.default;
|
|
35
|
+
this.devicectl = new devicectl_1.Devicectl(this.udid, this._log);
|
|
36
|
+
}
|
|
37
|
+
/**
|
|
38
|
+
* @returns {import('@appium/types').AppiumLogger}
|
|
39
|
+
*/
|
|
40
|
+
get log() {
|
|
41
|
+
return this._log;
|
|
30
42
|
}
|
|
43
|
+
/**
|
|
44
|
+
* @param {string} bundleId
|
|
45
|
+
*/
|
|
31
46
|
async remove(bundleId) {
|
|
32
47
|
const service = await appium_ios_device_1.services.startInstallationProxyService(this.udid);
|
|
33
48
|
try {
|
|
@@ -37,6 +52,9 @@ class RealDevice {
|
|
|
37
52
|
service.close();
|
|
38
53
|
}
|
|
39
54
|
}
|
|
55
|
+
/**
|
|
56
|
+
* @param {string} bundleId
|
|
57
|
+
*/
|
|
40
58
|
async removeApp(bundleId) {
|
|
41
59
|
await this.remove(bundleId);
|
|
42
60
|
}
|
|
@@ -53,7 +71,7 @@ class RealDevice {
|
|
|
53
71
|
throw new Error(`App installation strategy '${strategy}' is unknown. ` +
|
|
54
72
|
`Only the following strategies are supported: ${lodash_1.default.values(APP_INSTALL_STRATEGY)}`);
|
|
55
73
|
}
|
|
56
|
-
|
|
74
|
+
this.log.debug(`Using '${strategy ?? APP_INSTALL_STRATEGY.SERIAL}' app deployment strategy. ` +
|
|
57
75
|
`You could change it by providing another value to the 'appInstallStrategy' capability`);
|
|
58
76
|
const installWithIosDeploy = async () => {
|
|
59
77
|
try {
|
|
@@ -87,11 +105,11 @@ class RealDevice {
|
|
|
87
105
|
await this.installOrUpgradeApplication(bundlePathOnPhone, await this.isAppInstalled(bundleId));
|
|
88
106
|
}
|
|
89
107
|
catch (err) {
|
|
90
|
-
|
|
108
|
+
this.log.warn(`Error installing app '${app}': ${err.message}`);
|
|
91
109
|
if (err instanceof bluebird_1.default.TimeoutError) {
|
|
92
|
-
|
|
110
|
+
this.log.warn(`Consider increasing the value of 'appPushTimeout' capability`);
|
|
93
111
|
}
|
|
94
|
-
|
|
112
|
+
this.log.warn(`Falling back to '${IOS_DEPLOY}' usage`);
|
|
95
113
|
try {
|
|
96
114
|
await installWithIosDeploy();
|
|
97
115
|
}
|
|
@@ -103,8 +121,12 @@ class RealDevice {
|
|
|
103
121
|
afcService.close();
|
|
104
122
|
}
|
|
105
123
|
}
|
|
106
|
-
|
|
124
|
+
this.log.info(`App installation succeeded after ${timer.getDuration().asMilliSeconds.toFixed(0)}ms`);
|
|
107
125
|
}
|
|
126
|
+
/**
|
|
127
|
+
* @param {string} bundlePathOnPhone
|
|
128
|
+
* @param {boolean} [isUpgrade=false]
|
|
129
|
+
*/
|
|
108
130
|
async installOrUpgradeApplication(bundlePathOnPhone, isUpgrade = false) {
|
|
109
131
|
const notificationService = await appium_ios_device_1.services.startNotificationProxyService(this.udid);
|
|
110
132
|
const installationService = await appium_ios_device_1.services.startInstallationProxyService(this.udid);
|
|
@@ -116,11 +138,11 @@ class RealDevice {
|
|
|
116
138
|
const clientOptions = { PackageType: 'Developer' };
|
|
117
139
|
try {
|
|
118
140
|
if (isUpgrade) {
|
|
119
|
-
|
|
141
|
+
this.log.debug(`An upgrade of the existing application is going to be performed`);
|
|
120
142
|
await installationService.upgradeApplication(bundlePathOnPhone, clientOptions);
|
|
121
143
|
}
|
|
122
144
|
else {
|
|
123
|
-
|
|
145
|
+
this.log.debug(`A new application installation is going to be performed`);
|
|
124
146
|
await installationService.installApplication(bundlePathOnPhone, clientOptions);
|
|
125
147
|
}
|
|
126
148
|
try {
|
|
@@ -128,7 +150,7 @@ class RealDevice {
|
|
|
128
150
|
`${APPLICATION_NOTIFICATION_TIMEOUT_MS}ms but we will continue`);
|
|
129
151
|
}
|
|
130
152
|
catch (e) {
|
|
131
|
-
|
|
153
|
+
this.log.warn(`Failed to receive the notification. Error: ${e.message}`);
|
|
132
154
|
}
|
|
133
155
|
}
|
|
134
156
|
finally {
|
|
@@ -181,6 +203,11 @@ class RealDevice {
|
|
|
181
203
|
service.close();
|
|
182
204
|
}
|
|
183
205
|
}
|
|
206
|
+
/**
|
|
207
|
+
* @param {string} bundleId
|
|
208
|
+
* @param {string} platformVersion
|
|
209
|
+
* @returns {Promise<boolean>}
|
|
210
|
+
*/
|
|
184
211
|
async terminateApp(bundleId, platformVersion) {
|
|
185
212
|
let instrumentService;
|
|
186
213
|
let installProxyService;
|
|
@@ -190,20 +217,20 @@ class RealDevice {
|
|
|
190
217
|
returnAttributes: ['CFBundleIdentifier', 'CFBundleExecutable']
|
|
191
218
|
});
|
|
192
219
|
if (!apps[bundleId]) {
|
|
193
|
-
|
|
220
|
+
this.log.info(`The bundle id '${bundleId}' did not exist`);
|
|
194
221
|
return false;
|
|
195
222
|
}
|
|
196
223
|
const executableName = apps[bundleId].CFBundleExecutable;
|
|
197
|
-
|
|
224
|
+
this.log.debug(`The executable name for the bundle id '${bundleId}' was '${executableName}'`);
|
|
198
225
|
// 'devicectl' has overhead (generally?) than the instrument service via appium-ios-device,
|
|
199
226
|
// so hre uses the 'devicectl' only for iOS 17+.
|
|
200
227
|
if (support_1.util.compareVersions(platformVersion, '>=', '17.0')) {
|
|
201
|
-
|
|
228
|
+
this.log.debug(`Calling devicectl to kill the process`);
|
|
202
229
|
const pids = (await this.devicectl.listProcesses())
|
|
203
230
|
.filter(({ executable }) => executable.endsWith(`/${executableName}`))
|
|
204
231
|
.map(({ processIdentifier }) => processIdentifier);
|
|
205
232
|
if (lodash_1.default.isEmpty(pids)) {
|
|
206
|
-
|
|
233
|
+
this.log.info(`The process of the bundle id '${bundleId}' was not running`);
|
|
207
234
|
return false;
|
|
208
235
|
}
|
|
209
236
|
await this.devicectl.sendSignalToProcess(pids[0], 2);
|
|
@@ -213,14 +240,14 @@ class RealDevice {
|
|
|
213
240
|
const processes = await instrumentService.callChannel(appium_ios_device_1.INSTRUMENT_CHANNEL.DEVICE_INFO, 'runningProcesses');
|
|
214
241
|
const process = processes.selector.find((process) => process.name === executableName);
|
|
215
242
|
if (!process) {
|
|
216
|
-
|
|
243
|
+
this.log.info(`The process of the bundle id '${bundleId}' was not running`);
|
|
217
244
|
return false;
|
|
218
245
|
}
|
|
219
246
|
await instrumentService.callChannel(appium_ios_device_1.INSTRUMENT_CHANNEL.PROCESS_CONTROL, 'killPid:', `${process.pid}`);
|
|
220
247
|
}
|
|
221
248
|
}
|
|
222
249
|
catch (err) {
|
|
223
|
-
|
|
250
|
+
this.log.warn(`Failed to kill '${bundleId}'. Original error: ${err.stderr || err.message}`);
|
|
224
251
|
return false;
|
|
225
252
|
}
|
|
226
253
|
finally {
|
|
@@ -257,9 +284,13 @@ class RealDevice {
|
|
|
257
284
|
service.close();
|
|
258
285
|
}
|
|
259
286
|
}
|
|
287
|
+
/**
|
|
288
|
+
* @returns {Promise<string>}
|
|
289
|
+
*/
|
|
260
290
|
async getPlatformVersion() {
|
|
261
291
|
return await appium_ios_device_1.utilities.getOSVersion(this.udid);
|
|
262
292
|
}
|
|
263
293
|
}
|
|
294
|
+
exports.RealDevice = RealDevice;
|
|
264
295
|
exports.default = RealDevice;
|
|
265
296
|
//# sourceMappingURL=real-device.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"real-device.js","sourceRoot":"","sources":["../../lib/real-device.js"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"real-device.js","sourceRoot":"","sources":["../../lib/real-device.js"],"names":[],"mappings":";;;;;;AAAA,4CAAgD;AAChD,gDAAwB;AACxB,yDAA0E;AAC1E,wDAAyB;AACzB,sDAAqC;AACrC,oDAAuB;AACvB,+CAAkC;AAClC,2CAA4C;AAC5C,qDAA4C;AAC5C,2CAAwC;AAExC,MAAM,kCAAkC,GAAG,wCAAwC,CAAC;AACpF,MAAM,wBAAwB,GAAG,eAAe,CAAC;AACjD,MAAM,mCAAmC,GAAG,EAAE,GAAG,IAAI,CAAC;AACtD,MAAM,qBAAqB,GAAG,CAAC,GAAG,EAAE,GAAG,IAAI,CAAC;AAC5C,MAAM,UAAU,GAAG,YAAY,CAAC;AAChC,MAAM,oBAAoB,GAAG,MAAM,CAAC,MAAM,CAAC;IACzC,MAAM,EAAE,QAAQ;IAChB,QAAQ,EAAE,UAAU;IACpB,UAAU;CACX,CAAC,CAAC;AAEH,MAAa,UAAU;IACrB;;;OAGG;IACH,YAAY,IAAI,EAAE,MAAM;QACtB,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC;QACjB,IAAI,CAAC,IAAI,GAAG,MAAM,IAAI,gBAAa,CAAC;QACpC,IAAI,CAAC,SAAS,GAAG,IAAI,qBAAS,CAAC,IAAI,CA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AAC,IAAI,CAAC,IAAI,CAAC,CAAC;IACjD,CAAC;CACF;AArSD,gCAqSC;AAED,kBAAe,UAAU,CAAC"}
|
|
@@ -1,61 +1,10 @@
|
|
|
1
|
-
export type SimulatorCreationOptions = {
|
|
2
|
-
/**
|
|
3
|
-
* - A name for the device
|
|
4
|
-
*/
|
|
5
|
-
deviceName: string;
|
|
6
|
-
/**
|
|
7
|
-
* - The version of iOS to use
|
|
8
|
-
*/
|
|
9
|
-
platformVersion: string;
|
|
10
|
-
simulatorDevicesSetPath?: string | undefined;
|
|
11
|
-
platformName?: string | undefined;
|
|
12
|
-
};
|
|
13
|
-
export type SimulatorLookupOptions = {
|
|
14
|
-
/**
|
|
15
|
-
* - The name of the device to lookup
|
|
16
|
-
*/
|
|
17
|
-
deviceName?: string | undefined;
|
|
18
|
-
/**
|
|
19
|
-
* - The platform version string
|
|
20
|
-
*/
|
|
21
|
-
platformVersion: string;
|
|
22
|
-
/**
|
|
23
|
-
* - The full path to the simulator devices set
|
|
24
|
-
*/
|
|
25
|
-
simulatorDevicesSetPath?: string | undefined;
|
|
26
|
-
/**
|
|
27
|
-
* - Simulator udid
|
|
28
|
-
*/
|
|
29
|
-
udid?: string | undefined;
|
|
30
|
-
/**
|
|
31
|
-
* The name of the current platform
|
|
32
|
-
*/
|
|
33
|
-
platformName?: string | undefined;
|
|
34
|
-
};
|
|
35
|
-
export type InstallOptions = {
|
|
36
|
-
/**
|
|
37
|
-
* Whether to skip app uninstall before installing it
|
|
38
|
-
*/
|
|
39
|
-
skipUninstall?: boolean | undefined;
|
|
40
|
-
/**
|
|
41
|
-
* Whether the simulator is brand new
|
|
42
|
-
*/
|
|
43
|
-
newSimulator?: boolean | undefined;
|
|
44
|
-
};
|
|
45
|
-
/**
|
|
46
|
-
* @typedef {Object} SimulatorCreationOptions
|
|
47
|
-
* @property {string} deviceName - A name for the device
|
|
48
|
-
* @property {string} platformVersion - The version of iOS to use
|
|
49
|
-
* @property {string} [simulatorDevicesSetPath]
|
|
50
|
-
* @property {string} [platformName]
|
|
51
|
-
*/
|
|
52
1
|
/**
|
|
53
2
|
* Create a new simulator with `appiumTest-` prefix and return the object.
|
|
54
3
|
*
|
|
55
|
-
* @
|
|
4
|
+
* @this {import('./driver').XCUITestDriver}
|
|
56
5
|
* @returns {Promise<object>} Simulator object associated with the udid passed in.
|
|
57
6
|
*/
|
|
58
|
-
export function createSim(
|
|
7
|
+
export function createSim(this: import("./driver").default): Promise<object>;
|
|
59
8
|
/**
|
|
60
9
|
* @typedef {Object} SimulatorLookupOptions
|
|
61
10
|
* @property {string} [deviceName] - The name of the device to lookup
|
|
@@ -67,11 +16,20 @@ export function createSim(caps: Partial<SimulatorCreationOptions>): Promise<obje
|
|
|
67
16
|
/**
|
|
68
17
|
* Get an existing simulator matching the provided capabilities.
|
|
69
18
|
*
|
|
70
|
-
* @
|
|
71
|
-
* @returns {Promise<
|
|
19
|
+
* @this {import('./driver').XCUITestDriver}
|
|
20
|
+
* @returns {Promise<import('./driver').Simulator|null>} The matched Simulator instance or `null` if no matching device is found.
|
|
21
|
+
*/
|
|
22
|
+
export function getExistingSim(this: import("./driver").default): Promise<import('./driver').Simulator | null>;
|
|
23
|
+
/**
|
|
24
|
+
* @this {import('./driver').XCUITestDriver}
|
|
25
|
+
*/
|
|
26
|
+
export function shutdownSimulator(this: import("./driver").default): Promise<void>;
|
|
27
|
+
/**
|
|
28
|
+
* @this {import('./driver').XCUITestDriver}
|
|
29
|
+
* @property {boolean} [enforceSimulatorShutdown=false]
|
|
30
|
+
* @returns {Promise<void>}
|
|
72
31
|
*/
|
|
73
|
-
export function
|
|
74
|
-
export function runSimulatorReset(device: any, opts: any): Promise<void>;
|
|
32
|
+
export function runSimulatorReset(this: import("./driver").default, enforceSimulatorShutdown?: boolean): Promise<void>;
|
|
75
33
|
/**
|
|
76
34
|
* @typedef {Object} InstallOptions
|
|
77
35
|
*
|
|
@@ -79,28 +37,60 @@ export function runSimulatorReset(device: any, opts: any): Promise<void>;
|
|
|
79
37
|
* @property {boolean} [newSimulator=false] Whether the simulator is brand new
|
|
80
38
|
*/
|
|
81
39
|
/**
|
|
82
|
-
* @
|
|
40
|
+
* @this {import('./driver').XCUITestDriver}
|
|
83
41
|
* @param {string} app The app to the path
|
|
84
42
|
* @param {string} [bundleId] The bundle id to ensure it is already installed and uninstall it
|
|
85
|
-
* @param {InstallOptions} opts
|
|
43
|
+
* @param {InstallOptions} [opts={}]
|
|
44
|
+
*/
|
|
45
|
+
export function installToSimulator(this: import("./driver").default, app: string, bundleId?: string | undefined, opts?: InstallOptions | undefined): Promise<void>;
|
|
46
|
+
/**
|
|
47
|
+
* @this {import('./driver').XCUITestDriver}
|
|
86
48
|
*/
|
|
87
|
-
export function
|
|
88
|
-
export function shutdownSimulator(device: any): Promise<void>;
|
|
89
|
-
export function shutdownOtherSimulators(currentDevice: any): Promise<void>;
|
|
49
|
+
export function shutdownOtherSimulators(this: import("./driver").default): Promise<void>;
|
|
90
50
|
/**
|
|
91
51
|
* Configures Safari options based on the given session capabilities
|
|
92
52
|
*
|
|
93
|
-
* @
|
|
94
|
-
* @param {object} opts Session capabilities
|
|
53
|
+
* @this {import('./driver').XCUITestDriver}
|
|
95
54
|
* @return {Promise<boolean>} true if any preferences have been updated
|
|
96
55
|
*/
|
|
97
|
-
export function setSafariPrefs(
|
|
56
|
+
export function setSafariPrefs(this: import("./driver").default): Promise<boolean>;
|
|
98
57
|
/**
|
|
99
58
|
* Changes Simulator localization preferences
|
|
100
59
|
*
|
|
101
|
-
* @
|
|
102
|
-
* @param {object} opts Session capabilities
|
|
60
|
+
* @this {import('./driver').XCUITestDriver}
|
|
103
61
|
* @returns {Promise<boolean>} True if preferences were changed
|
|
104
62
|
*/
|
|
105
|
-
export function setLocalizationPrefs(
|
|
63
|
+
export function setLocalizationPrefs(this: import("./driver").default): Promise<boolean>;
|
|
64
|
+
export type SimulatorLookupOptions = {
|
|
65
|
+
/**
|
|
66
|
+
* - The name of the device to lookup
|
|
67
|
+
*/
|
|
68
|
+
deviceName?: string | undefined;
|
|
69
|
+
/**
|
|
70
|
+
* - The platform version string
|
|
71
|
+
*/
|
|
72
|
+
platformVersion: string;
|
|
73
|
+
/**
|
|
74
|
+
* - The full path to the simulator devices set
|
|
75
|
+
*/
|
|
76
|
+
simulatorDevicesSetPath?: string | undefined;
|
|
77
|
+
/**
|
|
78
|
+
* - Simulator udid
|
|
79
|
+
*/
|
|
80
|
+
udid?: string | undefined;
|
|
81
|
+
/**
|
|
82
|
+
* The name of the current platform
|
|
83
|
+
*/
|
|
84
|
+
platformName?: string | undefined;
|
|
85
|
+
};
|
|
86
|
+
export type InstallOptions = {
|
|
87
|
+
/**
|
|
88
|
+
* Whether to skip app uninstall before installing it
|
|
89
|
+
*/
|
|
90
|
+
skipUninstall?: boolean | undefined;
|
|
91
|
+
/**
|
|
92
|
+
* Whether the simulator is brand new
|
|
93
|
+
*/
|
|
94
|
+
newSimulator?: boolean | undefined;
|
|
95
|
+
};
|
|
106
96
|
//# sourceMappingURL=simulator-management.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"simulator-management.d.ts","sourceRoot":"","sources":["../../lib/simulator-management.js"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"simulator-management.d.ts","sourceRoot":"","sources":["../../lib/simulator-management.js"],"names":[],"mappings":"AAiBA;;;;;GAKG;AACH,6DAFa,QAAQ,MAAM,CAAC,CAgC3B;AAED;;;;;;;GAOG;AAEH;;;;;GAKG;AACH,kEAFa,QAAQ,OAAO,UAAU,EAAE,SAAS,GAAC,IAAI,CAAC,CA2DtD;AAED;;GAEG;AACH,mFAKC;AAED;;;;GAIG;AACH,yGAFa,QAAQ,IAAI,CAAC,CAyEzB;AAED;;;;;GAKG;AAEH;;;;;GAKG;AACH,0EAJW,MAAM,mFA0BhB;AAED;;GAEG;AACH,yFA0BC;AAED;;;;;GAKG;AACH,kEAFY,QAAQ,OAAO,CAAC,CAqB3B;AAED;;;;;GAKG;AACH,wEAFa,QAAQ,OAAO,CAAC,CAsB5B;;;;;;;;;qBAxRa,MAAM"}
|