@qawolf/cli 1.43.1 → 2.0.0
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 +1 -1
- package/dist/cli.js +862 -230
- package/package.json +4 -4
package/dist/cli.js
CHANGED
|
@@ -10095,6 +10095,7 @@ var bigint = /^-?\d+n?$/;
|
|
|
10095
10095
|
var integer = /^-?\d+$/;
|
|
10096
10096
|
var number = /^-?\d+(?:\.\d+)?$/;
|
|
10097
10097
|
var boolean = /^(?:true|false)$/i;
|
|
10098
|
+
var _undefined = /^undefined$/i;
|
|
10098
10099
|
var lowercase = /^[^A-Z]*$/;
|
|
10099
10100
|
var uppercase = /^[^a-z]*$/;
|
|
10100
10101
|
|
|
@@ -11015,6 +11016,23 @@ var $ZodBigInt = /* @__PURE__ */ $constructor("$ZodBigInt", (inst, def) => {
|
|
|
11015
11016
|
return payload;
|
|
11016
11017
|
};
|
|
11017
11018
|
});
|
|
11019
|
+
var $ZodUndefined = /* @__PURE__ */ $constructor("$ZodUndefined", (inst, def) => {
|
|
11020
|
+
$ZodType.init(inst, def);
|
|
11021
|
+
inst._zod.pattern = _undefined;
|
|
11022
|
+
inst._zod.values = new Set([undefined]);
|
|
11023
|
+
inst._zod.parse = (payload, _ctx) => {
|
|
11024
|
+
const input = payload.value;
|
|
11025
|
+
if (typeof input === "undefined")
|
|
11026
|
+
return payload;
|
|
11027
|
+
payload.issues.push({
|
|
11028
|
+
expected: "undefined",
|
|
11029
|
+
code: "invalid_type",
|
|
11030
|
+
input,
|
|
11031
|
+
inst
|
|
11032
|
+
});
|
|
11033
|
+
return payload;
|
|
11034
|
+
};
|
|
11035
|
+
});
|
|
11018
11036
|
var $ZodUnknown = /* @__PURE__ */ $constructor("$ZodUnknown", (inst, def) => {
|
|
11019
11037
|
$ZodType.init(inst, def);
|
|
11020
11038
|
inst._zod.parse = (payload) => payload;
|
|
@@ -12549,6 +12567,12 @@ function _coercedBigint(Class, params) {
|
|
|
12549
12567
|
...normalizeParams(params)
|
|
12550
12568
|
});
|
|
12551
12569
|
}
|
|
12570
|
+
function _undefined2(Class, params) {
|
|
12571
|
+
return new Class({
|
|
12572
|
+
type: "undefined",
|
|
12573
|
+
...normalizeParams(params)
|
|
12574
|
+
});
|
|
12575
|
+
}
|
|
12552
12576
|
function _unknown(Class) {
|
|
12553
12577
|
return new Class({
|
|
12554
12578
|
type: "unknown"
|
|
@@ -14178,6 +14202,14 @@ var ZodBigInt = /* @__PURE__ */ $constructor("ZodBigInt", (inst, def) => {
|
|
|
14178
14202
|
inst.maxValue = bag.maximum ?? null;
|
|
14179
14203
|
inst.format = bag.format ?? null;
|
|
14180
14204
|
});
|
|
14205
|
+
var ZodUndefined = /* @__PURE__ */ $constructor("ZodUndefined", (inst, def) => {
|
|
14206
|
+
$ZodUndefined.init(inst, def);
|
|
14207
|
+
ZodType.init(inst, def);
|
|
14208
|
+
inst._zod.processJSONSchema = (ctx, json, params) => undefinedProcessor(inst, ctx, json, params);
|
|
14209
|
+
});
|
|
14210
|
+
function _undefined3(params) {
|
|
14211
|
+
return _undefined2(ZodUndefined, params);
|
|
14212
|
+
}
|
|
14181
14213
|
var ZodUnknown = /* @__PURE__ */ $constructor("ZodUnknown", (inst, def) => {
|
|
14182
14214
|
$ZodUnknown.init(inst, def);
|
|
14183
14215
|
ZodType.init(inst, def);
|
|
@@ -23538,7 +23570,7 @@ function startUpdateCheck(deps) {
|
|
|
23538
23570
|
// package.json
|
|
23539
23571
|
var package_default = {
|
|
23540
23572
|
name: "@qawolf/cli",
|
|
23541
|
-
version: "
|
|
23573
|
+
version: "2.0.0",
|
|
23542
23574
|
description: "Run and manage QA Wolf flows from the terminal, CI, or an AI agent",
|
|
23543
23575
|
keywords: [
|
|
23544
23576
|
"automation",
|
|
@@ -23612,8 +23644,8 @@ var package_default = {
|
|
|
23612
23644
|
"@oxc-node/core": "0.1.0",
|
|
23613
23645
|
"@qawolf/api-contracts": "0.91.0",
|
|
23614
23646
|
"@qawolf/emails": "1.1.1",
|
|
23615
|
-
"@qawolf/flow-targets": "
|
|
23616
|
-
"@qawolf/flows": "0.
|
|
23647
|
+
"@qawolf/flow-targets": "2.0.0",
|
|
23648
|
+
"@qawolf/flows": "0.3.0",
|
|
23617
23649
|
"@qawolf/testkit": "1.2.1",
|
|
23618
23650
|
commander: "14.0.3",
|
|
23619
23651
|
"env-paths": "4.0.0",
|
|
@@ -23645,7 +23677,7 @@ var package_default = {
|
|
|
23645
23677
|
webdriverio: "9.27.1"
|
|
23646
23678
|
},
|
|
23647
23679
|
engines: {
|
|
23648
|
-
node: ">=
|
|
23680
|
+
node: ">=24.14.1"
|
|
23649
23681
|
},
|
|
23650
23682
|
packageManager: "bun@1.4.2"
|
|
23651
23683
|
};
|
|
@@ -25192,16 +25224,6 @@ var androidPixel2Android14Target = {
|
|
|
25192
25224
|
schemaVersion: 1
|
|
25193
25225
|
};
|
|
25194
25226
|
|
|
25195
|
-
// node_modules/@qawolf/flow-targets/dist/presets/android/androidPixel9.js
|
|
25196
|
-
var androidPixel9Target = {
|
|
25197
|
-
meta: {
|
|
25198
|
-
androidVersion: "34",
|
|
25199
|
-
deviceModel: "Pixel 9"
|
|
25200
|
-
},
|
|
25201
|
-
platform: "android",
|
|
25202
|
-
schemaVersion: 1
|
|
25203
|
-
};
|
|
25204
|
-
|
|
25205
25227
|
// node_modules/@qawolf/flow-targets/dist/presets/android/androidPixel9Android14.js
|
|
25206
25228
|
var androidPixel9Android14Target = {
|
|
25207
25229
|
meta: {
|
|
@@ -25232,11 +25254,11 @@ var androidPixel9Android16Target = {
|
|
|
25232
25254
|
schemaVersion: 1
|
|
25233
25255
|
};
|
|
25234
25256
|
|
|
25235
|
-
// node_modules/@qawolf/flow-targets/dist/presets/android/
|
|
25236
|
-
var
|
|
25257
|
+
// node_modules/@qawolf/flow-targets/dist/presets/android/androidPixel9Android17.js
|
|
25258
|
+
var androidPixel9Android17Target = {
|
|
25237
25259
|
meta: {
|
|
25238
|
-
androidVersion: "
|
|
25239
|
-
deviceModel: "Pixel
|
|
25260
|
+
androidVersion: "37",
|
|
25261
|
+
deviceModel: "Pixel 9"
|
|
25240
25262
|
},
|
|
25241
25263
|
platform: "android",
|
|
25242
25264
|
schemaVersion: 1
|
|
@@ -25252,49 +25274,142 @@ var androidPixelTabletAndroid14Target = {
|
|
|
25252
25274
|
schemaVersion: 1
|
|
25253
25275
|
};
|
|
25254
25276
|
|
|
25255
|
-
// node_modules/@qawolf/flow-targets/dist/presets/android/
|
|
25256
|
-
var
|
|
25277
|
+
// node_modules/@qawolf/flow-targets/dist/presets/android/androidPixelTabletAndroid17.js
|
|
25278
|
+
var androidPixelTabletAndroid17Target = {
|
|
25257
25279
|
meta: {
|
|
25258
|
-
androidVersion: "
|
|
25280
|
+
androidVersion: "37",
|
|
25259
25281
|
deviceModel: "Pixel Tablet"
|
|
25260
25282
|
},
|
|
25261
25283
|
platform: "android",
|
|
25262
25284
|
schemaVersion: 1
|
|
25263
25285
|
};
|
|
25264
25286
|
|
|
25265
|
-
// node_modules/@qawolf/flow-targets/dist/presets/
|
|
25266
|
-
var
|
|
25287
|
+
// node_modules/@qawolf/flow-targets/dist/presets/android/anyPhoneAndroid36.js
|
|
25288
|
+
var anyPhoneAndroid36Target = {
|
|
25267
25289
|
meta: {
|
|
25268
|
-
|
|
25269
|
-
|
|
25270
|
-
|
|
25290
|
+
androidVersion: "36",
|
|
25291
|
+
deviceModel: "Any Phone"
|
|
25292
|
+
},
|
|
25293
|
+
platform: "android",
|
|
25294
|
+
schemaVersion: 1
|
|
25295
|
+
};
|
|
25296
|
+
|
|
25297
|
+
// node_modules/@qawolf/flow-targets/dist/presets/android/anyPhoneAndroid37.js
|
|
25298
|
+
var anyPhoneAndroid37Target = {
|
|
25299
|
+
meta: {
|
|
25300
|
+
androidVersion: "37",
|
|
25301
|
+
deviceModel: "Any Phone"
|
|
25302
|
+
},
|
|
25303
|
+
platform: "android",
|
|
25304
|
+
schemaVersion: 1
|
|
25305
|
+
};
|
|
25306
|
+
|
|
25307
|
+
// node_modules/@qawolf/flow-targets/dist/presets/android/anyTabletAndroid37.js
|
|
25308
|
+
var anyTabletAndroid37Target = {
|
|
25309
|
+
meta: {
|
|
25310
|
+
androidVersion: "37",
|
|
25311
|
+
deviceModel: "Any Tablet"
|
|
25312
|
+
},
|
|
25313
|
+
platform: "android",
|
|
25314
|
+
schemaVersion: 1
|
|
25315
|
+
};
|
|
25316
|
+
|
|
25317
|
+
// node_modules/@qawolf/flow-targets/dist/presets/android/latestPhone.js
|
|
25318
|
+
var latestPhoneTarget = {
|
|
25319
|
+
meta: {
|
|
25320
|
+
androidVersion: "37",
|
|
25321
|
+
deviceModel: "Any Phone"
|
|
25322
|
+
},
|
|
25323
|
+
platform: "android",
|
|
25324
|
+
schemaVersion: 1
|
|
25325
|
+
};
|
|
25326
|
+
|
|
25327
|
+
// node_modules/@qawolf/flow-targets/dist/presets/android/latestTablet.js
|
|
25328
|
+
var latestTabletTarget = {
|
|
25329
|
+
meta: {
|
|
25330
|
+
androidVersion: "37",
|
|
25331
|
+
deviceModel: "Any Tablet"
|
|
25332
|
+
},
|
|
25333
|
+
platform: "android",
|
|
25334
|
+
schemaVersion: 1
|
|
25335
|
+
};
|
|
25336
|
+
|
|
25337
|
+
// node_modules/@qawolf/flow-targets/dist/presets/android/samsungGalaxyA17Android16.js
|
|
25338
|
+
var samsungGalaxyA17Android16Target = {
|
|
25339
|
+
meta: {
|
|
25340
|
+
androidVersion: "36",
|
|
25341
|
+
deviceModel: "Samsung Galaxy A17"
|
|
25342
|
+
},
|
|
25343
|
+
platform: "android",
|
|
25344
|
+
schemaVersion: 1
|
|
25345
|
+
};
|
|
25346
|
+
|
|
25347
|
+
// node_modules/@qawolf/flow-targets/dist/presets/android/samsungGalaxyA37Android16.js
|
|
25348
|
+
var samsungGalaxyA37Android16Target = {
|
|
25349
|
+
meta: {
|
|
25350
|
+
androidVersion: "36",
|
|
25351
|
+
deviceModel: "Samsung Galaxy A37"
|
|
25352
|
+
},
|
|
25353
|
+
platform: "android",
|
|
25354
|
+
schemaVersion: 1
|
|
25355
|
+
};
|
|
25356
|
+
|
|
25357
|
+
// node_modules/@qawolf/flow-targets/dist/presets/cli/basic.js
|
|
25358
|
+
var cliBasicTarget = {
|
|
25359
|
+
platform: "cli",
|
|
25360
|
+
schemaVersion: 1
|
|
25361
|
+
};
|
|
25362
|
+
|
|
25363
|
+
// node_modules/@qawolf/flow-targets/dist/presets/ios/anyIpadIos26.js
|
|
25364
|
+
var anyIpadIos26Target = {
|
|
25365
|
+
meta: {
|
|
25366
|
+
deviceModel: "Any iPad",
|
|
25367
|
+
iosVersion: "26"
|
|
25271
25368
|
},
|
|
25272
25369
|
platform: "ios",
|
|
25273
25370
|
schemaVersion: 1
|
|
25274
25371
|
};
|
|
25275
25372
|
|
|
25276
|
-
// node_modules/@qawolf/flow-targets/dist/presets/ios/
|
|
25277
|
-
var
|
|
25373
|
+
// node_modules/@qawolf/flow-targets/dist/presets/ios/anyIphoneIos17.js
|
|
25374
|
+
var anyIphoneIos17Target = {
|
|
25278
25375
|
meta: {
|
|
25279
|
-
|
|
25280
|
-
|
|
25376
|
+
deviceModel: "Any iPhone",
|
|
25377
|
+
iosVersion: "17"
|
|
25378
|
+
},
|
|
25379
|
+
platform: "ios",
|
|
25380
|
+
schemaVersion: 1
|
|
25381
|
+
};
|
|
25382
|
+
|
|
25383
|
+
// node_modules/@qawolf/flow-targets/dist/presets/ios/anyIphoneIos18.js
|
|
25384
|
+
var anyIphoneIos18Target = {
|
|
25385
|
+
meta: {
|
|
25386
|
+
deviceModel: "Any iPhone",
|
|
25281
25387
|
iosVersion: "18"
|
|
25282
25388
|
},
|
|
25283
25389
|
platform: "ios",
|
|
25284
25390
|
schemaVersion: 1
|
|
25285
25391
|
};
|
|
25286
25392
|
|
|
25287
|
-
// node_modules/@qawolf/flow-targets/dist/presets/ios/
|
|
25288
|
-
var
|
|
25393
|
+
// node_modules/@qawolf/flow-targets/dist/presets/ios/anyIphoneIos26.js
|
|
25394
|
+
var anyIphoneIos26Target = {
|
|
25289
25395
|
meta: {
|
|
25290
|
-
|
|
25291
|
-
deviceModel: "iPhone 15",
|
|
25396
|
+
deviceModel: "Any iPhone",
|
|
25292
25397
|
iosVersion: "26"
|
|
25293
25398
|
},
|
|
25294
25399
|
platform: "ios",
|
|
25295
25400
|
schemaVersion: 1
|
|
25296
25401
|
};
|
|
25297
25402
|
|
|
25403
|
+
// node_modules/@qawolf/flow-targets/dist/presets/ios/anyIphoneIos27.js
|
|
25404
|
+
var anyIphoneIos27Target = {
|
|
25405
|
+
meta: {
|
|
25406
|
+
deviceModel: "Any iPhone",
|
|
25407
|
+
iosVersion: "27"
|
|
25408
|
+
},
|
|
25409
|
+
platform: "ios",
|
|
25410
|
+
schemaVersion: 1
|
|
25411
|
+
};
|
|
25412
|
+
|
|
25298
25413
|
// node_modules/@qawolf/flow-targets/dist/presets/ios/ipad11ios18.js
|
|
25299
25414
|
var ipad11ios18Target = {
|
|
25300
25415
|
meta: {
|
|
@@ -25326,16 +25441,6 @@ var ipad11ios26Target = {
|
|
|
25326
25441
|
schemaVersion: 1
|
|
25327
25442
|
};
|
|
25328
25443
|
|
|
25329
|
-
// node_modules/@qawolf/flow-targets/dist/presets/ios/ipad.js
|
|
25330
|
-
var ipadTarget = {
|
|
25331
|
-
meta: {
|
|
25332
|
-
deviceModel: "iPad 11",
|
|
25333
|
-
iosVersion: "18"
|
|
25334
|
-
},
|
|
25335
|
-
platform: "ios",
|
|
25336
|
-
schemaVersion: 1
|
|
25337
|
-
};
|
|
25338
|
-
|
|
25339
25444
|
// node_modules/@qawolf/flow-targets/dist/presets/ios/iphone15ios17.js
|
|
25340
25445
|
var iphone15ios17Target = {
|
|
25341
25446
|
meta: {
|
|
@@ -25399,6 +25504,26 @@ var iphone15ios26PrivateTarget = {
|
|
|
25399
25504
|
schemaVersion: 1
|
|
25400
25505
|
};
|
|
25401
25506
|
|
|
25507
|
+
// node_modules/@qawolf/flow-targets/dist/presets/ios/iphone16ios26.js
|
|
25508
|
+
var iphone16ios26Target = {
|
|
25509
|
+
meta: {
|
|
25510
|
+
deviceModel: "iPhone 16",
|
|
25511
|
+
iosVersion: "26"
|
|
25512
|
+
},
|
|
25513
|
+
platform: "ios",
|
|
25514
|
+
schemaVersion: 1
|
|
25515
|
+
};
|
|
25516
|
+
|
|
25517
|
+
// node_modules/@qawolf/flow-targets/dist/presets/ios/iphone16ios27.js
|
|
25518
|
+
var iphone16ios27Target = {
|
|
25519
|
+
meta: {
|
|
25520
|
+
deviceModel: "iPhone 16",
|
|
25521
|
+
iosVersion: "27"
|
|
25522
|
+
},
|
|
25523
|
+
platform: "ios",
|
|
25524
|
+
schemaVersion: 1
|
|
25525
|
+
};
|
|
25526
|
+
|
|
25402
25527
|
// node_modules/@qawolf/flow-targets/dist/presets/ios/iphone17ios26.js
|
|
25403
25528
|
var iphone17ios26Target = {
|
|
25404
25529
|
meta: {
|
|
@@ -25409,10 +25534,61 @@ var iphone17ios26Target = {
|
|
|
25409
25534
|
schemaVersion: 1
|
|
25410
25535
|
};
|
|
25411
25536
|
|
|
25412
|
-
// node_modules/@qawolf/flow-targets/dist/presets/
|
|
25413
|
-
var
|
|
25414
|
-
meta:
|
|
25415
|
-
|
|
25537
|
+
// node_modules/@qawolf/flow-targets/dist/presets/ios/iphone17ios27.js
|
|
25538
|
+
var iphone17ios27Target = {
|
|
25539
|
+
meta: {
|
|
25540
|
+
deviceModel: "iPhone 17",
|
|
25541
|
+
iosVersion: "27"
|
|
25542
|
+
},
|
|
25543
|
+
platform: "ios",
|
|
25544
|
+
schemaVersion: 1
|
|
25545
|
+
};
|
|
25546
|
+
|
|
25547
|
+
// node_modules/@qawolf/flow-targets/dist/presets/ios/latestIpad.js
|
|
25548
|
+
var latestIpadTarget = {
|
|
25549
|
+
meta: {
|
|
25550
|
+
deviceModel: "Any iPad",
|
|
25551
|
+
iosVersion: "26"
|
|
25552
|
+
},
|
|
25553
|
+
platform: "ios",
|
|
25554
|
+
schemaVersion: 1
|
|
25555
|
+
};
|
|
25556
|
+
|
|
25557
|
+
// node_modules/@qawolf/flow-targets/dist/presets/ios/latestIphone.js
|
|
25558
|
+
var latestIphoneTarget = {
|
|
25559
|
+
meta: {
|
|
25560
|
+
deviceModel: "Any iPhone",
|
|
25561
|
+
iosVersion: "26"
|
|
25562
|
+
},
|
|
25563
|
+
platform: "ios",
|
|
25564
|
+
schemaVersion: 1
|
|
25565
|
+
};
|
|
25566
|
+
|
|
25567
|
+
// node_modules/@qawolf/flow-targets/dist/presets/mac/anyMac26.js
|
|
25568
|
+
var anyMac26Target = {
|
|
25569
|
+
meta: {
|
|
25570
|
+
macVersion: "26"
|
|
25571
|
+
},
|
|
25572
|
+
platform: "mac",
|
|
25573
|
+
schemaVersion: 1
|
|
25574
|
+
};
|
|
25575
|
+
|
|
25576
|
+
// node_modules/@qawolf/flow-targets/dist/presets/mac/anyMac26Private.js
|
|
25577
|
+
var anyMac26PrivateTarget = {
|
|
25578
|
+
meta: {
|
|
25579
|
+
macVersion: "26",
|
|
25580
|
+
targetDevices: "Team Dedicated Device"
|
|
25581
|
+
},
|
|
25582
|
+
platform: "mac",
|
|
25583
|
+
schemaVersion: 1
|
|
25584
|
+
};
|
|
25585
|
+
|
|
25586
|
+
// node_modules/@qawolf/flow-targets/dist/presets/mac/latestMac.js
|
|
25587
|
+
var latestMacTarget = {
|
|
25588
|
+
meta: {
|
|
25589
|
+
macVersion: "26"
|
|
25590
|
+
},
|
|
25591
|
+
platform: "mac",
|
|
25416
25592
|
schemaVersion: 1
|
|
25417
25593
|
};
|
|
25418
25594
|
|
|
@@ -25498,37 +25674,104 @@ var webSafariWithGpuTarget = {
|
|
|
25498
25674
|
schemaVersion: 1
|
|
25499
25675
|
};
|
|
25500
25676
|
|
|
25677
|
+
// node_modules/@qawolf/flow-targets/dist/presets/windows/windows11Desktop.js
|
|
25678
|
+
var windows11DesktopTarget = {
|
|
25679
|
+
meta: {
|
|
25680
|
+
windowsVersion: "11"
|
|
25681
|
+
},
|
|
25682
|
+
platform: "windows",
|
|
25683
|
+
schemaVersion: 1
|
|
25684
|
+
};
|
|
25685
|
+
|
|
25686
|
+
// node_modules/@qawolf/flow-targets/dist/presets/windows/windows11DesktopPrivate.js
|
|
25687
|
+
var windows11DesktopPrivateTarget = {
|
|
25688
|
+
meta: {
|
|
25689
|
+
targetDevices: "Team Dedicated Device",
|
|
25690
|
+
windowsVersion: "11"
|
|
25691
|
+
},
|
|
25692
|
+
platform: "windows",
|
|
25693
|
+
schemaVersion: 1
|
|
25694
|
+
};
|
|
25695
|
+
|
|
25501
25696
|
// node_modules/@qawolf/flow-targets/dist/presets/index.js
|
|
25502
25697
|
var androidPresetLiteralRaw = [
|
|
25698
|
+
"Android - Any Phone (Android 16 | Emulator)",
|
|
25699
|
+
"Android - Any Phone (Android 17 | Emulator)",
|
|
25700
|
+
"Android - Any Phone (Latest | Emulator)",
|
|
25701
|
+
"Android - Any Tablet (Android 17 | Emulator)",
|
|
25702
|
+
"Android - Any Tablet (Latest | Emulator)",
|
|
25703
|
+
"Android - Google Pixel 2 (Android 14 | Emulator)",
|
|
25704
|
+
"Android - Google Pixel 9 (Android 14 | Emulator)",
|
|
25705
|
+
"Android - Google Pixel 9 (Android 15 | Emulator)",
|
|
25706
|
+
"Android - Google Pixel 9 (Android 16 | Emulator)",
|
|
25707
|
+
"Android - Google Pixel 9 (Android 17 | Emulator)",
|
|
25708
|
+
"Android - Google Pixel Tablet (Android 14 | Emulator)",
|
|
25709
|
+
"Android - Google Pixel Tablet (Android 17 | Emulator)",
|
|
25503
25710
|
"Android - Pixel",
|
|
25504
25711
|
"Android - Pixel 2 (Android 14)",
|
|
25505
25712
|
"Android - Pixel 9",
|
|
25506
25713
|
"Android - Pixel 9 (Android 14)",
|
|
25507
25714
|
"Android - Pixel 9 (Android 15)",
|
|
25508
25715
|
"Android - Pixel 9 (Android 16)",
|
|
25716
|
+
"Android - Pixel 9 (Android 17)",
|
|
25509
25717
|
"Android - Pixel Tablet (Android 14)",
|
|
25510
|
-
"Android - Tablet"
|
|
25718
|
+
"Android - Pixel Tablet (Android 17)",
|
|
25719
|
+
"Android - Samsung Galaxy A17 (Android 16)",
|
|
25720
|
+
"Android - Samsung Galaxy A37 (Android 16)",
|
|
25721
|
+
"Android - Tablet",
|
|
25722
|
+
"Android 36 - Any Phone",
|
|
25723
|
+
"Android 37 - Any Phone",
|
|
25724
|
+
"Android 37 - Any Tablet",
|
|
25725
|
+
"Latest Android (Phone)",
|
|
25726
|
+
"Latest Android (Tablet)"
|
|
25511
25727
|
];
|
|
25512
|
-
var androidPresetLiteralSchema =
|
|
25728
|
+
var androidPresetLiteralSchema = literal(androidPresetLiteralRaw);
|
|
25729
|
+
var cliPresetLiteralRaw = ["Basic"];
|
|
25730
|
+
var cliPresetLiteralSchema = literal(cliPresetLiteralRaw);
|
|
25513
25731
|
var iosPresetLiteralRaw = [
|
|
25514
25732
|
"iOS - Allowlisted iPhone",
|
|
25733
|
+
"iOS - Any iPad (iOS 26)",
|
|
25734
|
+
"iOS - Any iPad (Latest)",
|
|
25735
|
+
"iOS - Any iPhone (iOS 18)",
|
|
25736
|
+
"iOS - Any iPhone (iOS 26)",
|
|
25737
|
+
"iOS - Any iPhone (iOS 27)",
|
|
25738
|
+
"iOS - Any iPhone (Latest)",
|
|
25515
25739
|
"iOS - Apple ID Enabled iPad",
|
|
25516
25740
|
"iOS - Apple ID Enabled iPhone",
|
|
25517
25741
|
"iOS - iPad",
|
|
25518
25742
|
"iOS - iPad 11 (iOS 18)",
|
|
25743
|
+
"iOS - iPad 11 (iOS 18 | Apple ID)",
|
|
25519
25744
|
"iOS - iPad 11 (iOS 18) (Apple ID)",
|
|
25520
25745
|
"iOS - iPad 11 (iOS 26)",
|
|
25521
25746
|
"iOS - iPhone 15 (iOS 17)",
|
|
25522
25747
|
"iOS - iPhone 15 (iOS 18)",
|
|
25523
25748
|
"iOS - iPhone 15 (iOS 26)",
|
|
25749
|
+
"iOS - iPhone 15 (iOS 26 | Allowlisted)",
|
|
25750
|
+
"iOS - iPhone 15 (iOS 26 | Apple ID)",
|
|
25751
|
+
"iOS - iPhone 15 (iOS 26 | Private)",
|
|
25524
25752
|
"iOS - iPhone 15 (iOS 26) (Apple ID)",
|
|
25525
25753
|
"iOS - iPhone 15 (iOS 26) (allowlisted)",
|
|
25526
25754
|
"iOS - iPhone 15 (iOS 26) (private)",
|
|
25527
|
-
"iOS - iPhone
|
|
25755
|
+
"iOS - iPhone 16 (iOS 26)",
|
|
25756
|
+
"iOS - iPhone 16 (iOS 27)",
|
|
25757
|
+
"iOS - iPhone 17 (iOS 26)",
|
|
25758
|
+
"iOS - iPhone 17 (iOS 27)",
|
|
25759
|
+
"iOS 17 - Any iPhone",
|
|
25760
|
+
"iOS 18 - Any iPhone",
|
|
25761
|
+
"iOS 26 - Any iPad",
|
|
25762
|
+
"iOS 26 - Any iPhone",
|
|
25763
|
+
"iOS 27 - Any iPhone",
|
|
25764
|
+
"Latest iOS (iPad)",
|
|
25765
|
+
"Latest iOS (iPhone)"
|
|
25528
25766
|
];
|
|
25529
|
-
var iosPresetLiteralSchema =
|
|
25767
|
+
var iosPresetLiteralSchema = literal(iosPresetLiteralRaw);
|
|
25768
|
+
var macPresetLiteralRaw = [
|
|
25769
|
+
"macOS - Any Mac (Latest)",
|
|
25770
|
+
"macOS - Any Mac (macOS 26)",
|
|
25771
|
+
"macOS - Any Mac (macOS 26 | Private)"
|
|
25772
|
+
];
|
|
25773
|
+
var macPresetLiteralSchema = literal(macPresetLiteralRaw);
|
|
25530
25774
|
var webPresetLiteralRaw = [
|
|
25531
|
-
"Basic",
|
|
25532
25775
|
"Electron",
|
|
25533
25776
|
"Web - Chrome",
|
|
25534
25777
|
"Web - Chrome (GPU)",
|
|
@@ -25537,43 +25780,68 @@ var webPresetLiteralRaw = [
|
|
|
25537
25780
|
"Web - Safari",
|
|
25538
25781
|
"Web - Safari (GPU)"
|
|
25539
25782
|
];
|
|
25540
|
-
var webPresetLiteralSchema =
|
|
25783
|
+
var webPresetLiteralSchema = literal(webPresetLiteralRaw);
|
|
25784
|
+
var windowsPresetLiteralRaw = [
|
|
25785
|
+
"Windows 11 - Desktop",
|
|
25786
|
+
"Windows 11 - Desktop (private)"
|
|
25787
|
+
];
|
|
25788
|
+
var windowsPresetLiteralSchema = literal(windowsPresetLiteralRaw);
|
|
25541
25789
|
var presetLiteralsSchema = union([
|
|
25542
25790
|
androidPresetLiteralSchema,
|
|
25791
|
+
cliPresetLiteralSchema,
|
|
25543
25792
|
iosPresetLiteralSchema,
|
|
25544
|
-
|
|
25793
|
+
macPresetLiteralSchema,
|
|
25794
|
+
webPresetLiteralSchema,
|
|
25795
|
+
windowsPresetLiteralSchema
|
|
25545
25796
|
]);
|
|
25546
25797
|
var presetTargetMap = {
|
|
25547
|
-
"Android -
|
|
25548
|
-
"Android -
|
|
25549
|
-
"Android -
|
|
25550
|
-
"Android -
|
|
25551
|
-
"Android -
|
|
25552
|
-
"Android - Pixel
|
|
25553
|
-
"Android - Pixel
|
|
25554
|
-
"Android -
|
|
25555
|
-
|
|
25798
|
+
"Android - Any Phone (Android 16 | Emulator)": anyPhoneAndroid36Target,
|
|
25799
|
+
"Android - Any Phone (Android 17 | Emulator)": anyPhoneAndroid37Target,
|
|
25800
|
+
"Android - Any Phone (Latest | Emulator)": latestPhoneTarget,
|
|
25801
|
+
"Android - Any Tablet (Android 17 | Emulator)": anyTabletAndroid37Target,
|
|
25802
|
+
"Android - Any Tablet (Latest | Emulator)": latestTabletTarget,
|
|
25803
|
+
"Android - Google Pixel 2 (Android 14 | Emulator)": androidPixel2Android14Target,
|
|
25804
|
+
"Android - Google Pixel 9 (Android 14 | Emulator)": androidPixel9Android14Target,
|
|
25805
|
+
"Android - Google Pixel 9 (Android 15 | Emulator)": androidPixel9Android15Target,
|
|
25806
|
+
"Android - Google Pixel 9 (Android 16 | Emulator)": androidPixel9Android16Target,
|
|
25807
|
+
"Android - Google Pixel 9 (Android 17 | Emulator)": androidPixel9Android17Target,
|
|
25808
|
+
"Android - Google Pixel Tablet (Android 14 | Emulator)": androidPixelTabletAndroid14Target,
|
|
25809
|
+
"Android - Google Pixel Tablet (Android 17 | Emulator)": androidPixelTabletAndroid17Target,
|
|
25810
|
+
"Android - Samsung Galaxy A17 (Android 16)": samsungGalaxyA17Android16Target,
|
|
25811
|
+
"Android - Samsung Galaxy A37 (Android 16)": samsungGalaxyA37Android16Target,
|
|
25812
|
+
Basic: cliBasicTarget,
|
|
25556
25813
|
Electron: webElectronTarget,
|
|
25557
|
-
"iOS -
|
|
25558
|
-
"iOS -
|
|
25559
|
-
"iOS -
|
|
25560
|
-
"iOS -
|
|
25814
|
+
"iOS 17 - Any iPhone": anyIphoneIos17Target,
|
|
25815
|
+
"iOS - Any iPad (iOS 26)": anyIpadIos26Target,
|
|
25816
|
+
"iOS - Any iPad (Latest)": latestIpadTarget,
|
|
25817
|
+
"iOS - Any iPhone (iOS 18)": anyIphoneIos18Target,
|
|
25818
|
+
"iOS - Any iPhone (iOS 26)": anyIphoneIos26Target,
|
|
25819
|
+
"iOS - Any iPhone (iOS 27)": anyIphoneIos27Target,
|
|
25820
|
+
"iOS - Any iPhone (Latest)": latestIphoneTarget,
|
|
25561
25821
|
"iOS - iPad 11 (iOS 18)": ipad11ios18Target,
|
|
25562
|
-
"iOS - iPad 11 (iOS 18
|
|
25822
|
+
"iOS - iPad 11 (iOS 18 | Apple ID)": ipad11ios18AppleIdTarget,
|
|
25563
25823
|
"iOS - iPad 11 (iOS 26)": ipad11ios26Target,
|
|
25564
25824
|
"iOS - iPhone 15 (iOS 17)": iphone15ios17Target,
|
|
25565
25825
|
"iOS - iPhone 15 (iOS 18)": iphone15ios18Target,
|
|
25566
25826
|
"iOS - iPhone 15 (iOS 26)": iphone15ios26Target,
|
|
25567
|
-
"iOS - iPhone 15 (iOS 26
|
|
25568
|
-
"iOS - iPhone 15 (iOS 26
|
|
25569
|
-
"iOS - iPhone 15 (iOS 26
|
|
25827
|
+
"iOS - iPhone 15 (iOS 26 | Allowlisted)": iphone15ios26AllowlistedTarget,
|
|
25828
|
+
"iOS - iPhone 15 (iOS 26 | Apple ID)": iphone15ios26AppleIdTarget,
|
|
25829
|
+
"iOS - iPhone 15 (iOS 26 | Private)": iphone15ios26PrivateTarget,
|
|
25830
|
+
"iOS - iPhone 16 (iOS 26)": iphone16ios26Target,
|
|
25831
|
+
"iOS - iPhone 16 (iOS 27)": iphone16ios27Target,
|
|
25570
25832
|
"iOS - iPhone 17 (iOS 26)": iphone17ios26Target,
|
|
25833
|
+
"iOS - iPhone 17 (iOS 27)": iphone17ios27Target,
|
|
25834
|
+
"macOS - Any Mac (Latest)": latestMacTarget,
|
|
25835
|
+
"macOS - Any Mac (macOS 26)": anyMac26Target,
|
|
25836
|
+
"macOS - Any Mac (macOS 26 | Private)": anyMac26PrivateTarget,
|
|
25571
25837
|
"Web - Chrome": webChromeTarget,
|
|
25572
25838
|
"Web - Chrome (GPU)": webChromeWithGpuTarget,
|
|
25573
25839
|
"Web - Firefox": webFirefoxTarget,
|
|
25574
25840
|
"Web - Firefox (GPU)": webFirefoxWithGpuTarget,
|
|
25575
25841
|
"Web - Safari": webSafariTarget,
|
|
25576
|
-
"Web - Safari (GPU)": webSafariWithGpuTarget
|
|
25842
|
+
"Web - Safari (GPU)": webSafariWithGpuTarget,
|
|
25843
|
+
"Windows 11 - Desktop": windows11DesktopTarget,
|
|
25844
|
+
"Windows 11 - Desktop (private)": windows11DesktopPrivateTarget
|
|
25577
25845
|
};
|
|
25578
25846
|
|
|
25579
25847
|
// node_modules/@qawolf/flow-targets/dist/schemas/shared/screenDimensions.js
|
|
@@ -25582,25 +25850,50 @@ var screenDimensions = {
|
|
|
25582
25850
|
"iPhone 15": { screenHeight: 2556, screenWidth: 1179 },
|
|
25583
25851
|
"iPhone 15 Plus": { screenHeight: 2796, screenWidth: 1290 },
|
|
25584
25852
|
"iPhone 15 Pro Max": { screenHeight: 2868, screenWidth: 1320 },
|
|
25853
|
+
"iPhone 16": { screenHeight: 2556, screenWidth: 1179 },
|
|
25585
25854
|
"iPhone 16 Plus": { screenHeight: 2796, screenWidth: 1290 },
|
|
25586
25855
|
"iPhone 17": { screenHeight: 2622, screenWidth: 1206 },
|
|
25587
25856
|
"Pixel 2": { screenHeight: 1920, screenWidth: 1080 },
|
|
25588
25857
|
"Pixel 9": { screenHeight: 2424, screenWidth: 1080 },
|
|
25589
25858
|
"Pixel Tablet": { screenHeight: 1600, screenWidth: 2560 },
|
|
25590
|
-
playwright_default: { screenHeight: 804, screenWidth: 1288 }
|
|
25859
|
+
playwright_default: { screenHeight: 804, screenWidth: 1288 },
|
|
25860
|
+
"Samsung Galaxy A17": { screenHeight: 2340, screenWidth: 1080 },
|
|
25861
|
+
"Samsung Galaxy A37": { screenHeight: 2340, screenWidth: 1080 }
|
|
25591
25862
|
};
|
|
25592
25863
|
|
|
25593
25864
|
// node_modules/@qawolf/flow-targets/dist/schemas/shared/platforms.js
|
|
25594
|
-
var platformsSchema =
|
|
25865
|
+
var platformsSchema = literal([
|
|
25866
|
+
"web",
|
|
25867
|
+
"android",
|
|
25868
|
+
"ios",
|
|
25869
|
+
"cli",
|
|
25870
|
+
"windows",
|
|
25871
|
+
"mac"
|
|
25872
|
+
]);
|
|
25595
25873
|
|
|
25596
25874
|
// node_modules/@qawolf/flow-targets/dist/schemas/shared/runnerNames.js
|
|
25597
|
-
var
|
|
25598
|
-
"
|
|
25599
|
-
"
|
|
25600
|
-
"
|
|
25601
|
-
"
|
|
25602
|
-
"
|
|
25603
|
-
"
|
|
25875
|
+
var legacyRunnerNameByFamily = {
|
|
25876
|
+
android: "node20WithAndroid",
|
|
25877
|
+
basic: "node20Basic",
|
|
25878
|
+
ios: "node20WithIos",
|
|
25879
|
+
mac: "node24WithMac",
|
|
25880
|
+
playwright: "node20WithPlaywright",
|
|
25881
|
+
playwrightGpu: "node20GpuWithPlaywright",
|
|
25882
|
+
windows: "node24WithWindows"
|
|
25883
|
+
};
|
|
25884
|
+
var runnerNameSchemaForFamily = (family) => union([
|
|
25885
|
+
literal(family),
|
|
25886
|
+
literal(legacyRunnerNameByFamily[family]).transform(() => family)
|
|
25887
|
+
]);
|
|
25888
|
+
var runnerNamesSchema = union([
|
|
25889
|
+
literal("classic"),
|
|
25890
|
+
runnerNameSchemaForFamily("basic"),
|
|
25891
|
+
runnerNameSchemaForFamily("playwrightGpu"),
|
|
25892
|
+
runnerNameSchemaForFamily("android"),
|
|
25893
|
+
runnerNameSchemaForFamily("ios"),
|
|
25894
|
+
runnerNameSchemaForFamily("playwright"),
|
|
25895
|
+
runnerNameSchemaForFamily("windows"),
|
|
25896
|
+
runnerNameSchemaForFamily("mac")
|
|
25604
25897
|
]);
|
|
25605
25898
|
|
|
25606
25899
|
// node_modules/@qawolf/flow-targets/dist/schemas/shared/baseSchemas.js
|
|
@@ -25612,76 +25905,158 @@ var baseOutputSchema = baseInputSchema.extend({
|
|
|
25612
25905
|
runnerName: runnerNamesSchema
|
|
25613
25906
|
});
|
|
25614
25907
|
|
|
25908
|
+
// node_modules/@qawolf/flow-targets/dist/schemas/android/v1/supportedTargetDevicesSchema.js
|
|
25909
|
+
var supportedTargetDevicesInputSchema = literal([
|
|
25910
|
+
"Any Device",
|
|
25911
|
+
"Team Dedicated Device"
|
|
25912
|
+
]);
|
|
25913
|
+
var supportedTargetDevicesOutputSchema = literal([
|
|
25914
|
+
"anyDevice",
|
|
25915
|
+
"teamDedicatedDevice"
|
|
25916
|
+
]);
|
|
25917
|
+
var supportedTargetDevicesSchema = codec(supportedTargetDevicesInputSchema, supportedTargetDevicesOutputSchema, {
|
|
25918
|
+
decode(targetDevices) {
|
|
25919
|
+
switch (targetDevices) {
|
|
25920
|
+
case "Any Device":
|
|
25921
|
+
return "anyDevice";
|
|
25922
|
+
case "Team Dedicated Device":
|
|
25923
|
+
return "teamDedicatedDevice";
|
|
25924
|
+
default:
|
|
25925
|
+
throw Error(`Unsupported target devices: ${targetDevices}`);
|
|
25926
|
+
}
|
|
25927
|
+
},
|
|
25928
|
+
encode(targetDevices) {
|
|
25929
|
+
switch (targetDevices) {
|
|
25930
|
+
case "anyDevice":
|
|
25931
|
+
return "Any Device";
|
|
25932
|
+
case "teamDedicatedDevice":
|
|
25933
|
+
return "Team Dedicated Device";
|
|
25934
|
+
default:
|
|
25935
|
+
throw Error(`Unsupported target devices: ${targetDevices}`);
|
|
25936
|
+
}
|
|
25937
|
+
}
|
|
25938
|
+
});
|
|
25939
|
+
|
|
25940
|
+
// node_modules/@qawolf/flow-targets/dist/schemas/android/v1/input.js
|
|
25941
|
+
var supportedVersionsSchema = literal(["34", "35", "36", "37"]);
|
|
25942
|
+
var sharedMetaInputSchema = object({
|
|
25943
|
+
deviceUdid: _undefined3().optional(),
|
|
25944
|
+
targetDevices: literal("Any Device").default("Any Device")
|
|
25945
|
+
});
|
|
25946
|
+
var realPhoneMetaInputSchema = object({
|
|
25947
|
+
deviceUdid: string2().optional(),
|
|
25948
|
+
targetDevices: supportedTargetDevicesInputSchema.default("Any Device")
|
|
25949
|
+
});
|
|
25950
|
+
var androidMetaInputSchema = discriminatedUnion("deviceModel", [
|
|
25951
|
+
sharedMetaInputSchema.extend({
|
|
25952
|
+
androidVersion: literal("34"),
|
|
25953
|
+
deviceModel: literal("Pixel 2")
|
|
25954
|
+
}),
|
|
25955
|
+
sharedMetaInputSchema.extend({
|
|
25956
|
+
androidVersion: literal(["34", "37"]),
|
|
25957
|
+
deviceModel: literal("Pixel Tablet")
|
|
25958
|
+
}),
|
|
25959
|
+
sharedMetaInputSchema.extend({
|
|
25960
|
+
androidVersion: literal(["34", "35", "36", "37"]),
|
|
25961
|
+
deviceModel: literal("Pixel 9")
|
|
25962
|
+
}),
|
|
25963
|
+
realPhoneMetaInputSchema.extend({
|
|
25964
|
+
androidVersion: literal("36"),
|
|
25965
|
+
deviceModel: literal("Samsung Galaxy A17")
|
|
25966
|
+
}),
|
|
25967
|
+
realPhoneMetaInputSchema.extend({
|
|
25968
|
+
androidVersion: literal("36"),
|
|
25969
|
+
deviceModel: literal("Samsung Galaxy A37")
|
|
25970
|
+
}),
|
|
25971
|
+
sharedMetaInputSchema.extend({
|
|
25972
|
+
androidVersion: literal(["34", "35", "36", "37"]),
|
|
25973
|
+
deviceModel: literal("Any Phone")
|
|
25974
|
+
}),
|
|
25975
|
+
sharedMetaInputSchema.extend({
|
|
25976
|
+
androidVersion: literal(["34", "37"]),
|
|
25977
|
+
deviceModel: literal("Any Tablet")
|
|
25978
|
+
})
|
|
25979
|
+
]);
|
|
25980
|
+
var androidTargetInputSchema = baseInputSchema.extend({
|
|
25981
|
+
meta: androidMetaInputSchema,
|
|
25982
|
+
platform: literal("android"),
|
|
25983
|
+
schemaVersion: literal(1)
|
|
25984
|
+
});
|
|
25985
|
+
|
|
25615
25986
|
// node_modules/@qawolf/flow-targets/dist/schemas/android/v1/supportedModelsSchema.js
|
|
25616
|
-
var supportedModelsInputSchema =
|
|
25987
|
+
var supportedModelsInputSchema = literal([
|
|
25617
25988
|
"Pixel 2",
|
|
25618
25989
|
"Pixel Tablet",
|
|
25619
|
-
"Pixel 9"
|
|
25990
|
+
"Pixel 9",
|
|
25991
|
+
"Samsung Galaxy A17",
|
|
25992
|
+
"Samsung Galaxy A37",
|
|
25993
|
+
"Any Phone",
|
|
25994
|
+
"Any Tablet"
|
|
25620
25995
|
]);
|
|
25621
|
-
var supportedModelsOutputSchema =
|
|
25996
|
+
var supportedModelsOutputSchema = literal([
|
|
25622
25997
|
"pixel_2",
|
|
25623
25998
|
"pixel_tablet",
|
|
25624
|
-
"pixel_9"
|
|
25999
|
+
"pixel_9",
|
|
26000
|
+
"sm_a176u1",
|
|
26001
|
+
"sm_a376u1",
|
|
26002
|
+
"any_phone",
|
|
26003
|
+
"any_tablet"
|
|
25625
26004
|
]);
|
|
25626
26005
|
var supportedModelsSchema = codec(supportedModelsInputSchema, supportedModelsOutputSchema, {
|
|
25627
26006
|
decode(deviceModel) {
|
|
25628
26007
|
switch (deviceModel) {
|
|
26008
|
+
case "Any Phone":
|
|
26009
|
+
return "any_phone";
|
|
26010
|
+
case "Any Tablet":
|
|
26011
|
+
return "any_tablet";
|
|
25629
26012
|
case "Pixel 2":
|
|
25630
26013
|
return "pixel_2";
|
|
25631
26014
|
case "Pixel 9":
|
|
25632
26015
|
return "pixel_9";
|
|
25633
26016
|
case "Pixel Tablet":
|
|
25634
26017
|
return "pixel_tablet";
|
|
26018
|
+
case "Samsung Galaxy A17":
|
|
26019
|
+
return "sm_a176u1";
|
|
26020
|
+
case "Samsung Galaxy A37":
|
|
26021
|
+
return "sm_a376u1";
|
|
25635
26022
|
default:
|
|
25636
26023
|
throw Error(`Unsupported device model: ${deviceModel}`);
|
|
25637
26024
|
}
|
|
25638
26025
|
},
|
|
25639
26026
|
encode(deviceModel) {
|
|
25640
26027
|
switch (deviceModel) {
|
|
26028
|
+
case "any_phone":
|
|
26029
|
+
return "Any Phone";
|
|
26030
|
+
case "any_tablet":
|
|
26031
|
+
return "Any Tablet";
|
|
25641
26032
|
case "pixel_2":
|
|
25642
26033
|
return "Pixel 2";
|
|
25643
26034
|
case "pixel_9":
|
|
25644
26035
|
return "Pixel 9";
|
|
25645
26036
|
case "pixel_tablet":
|
|
25646
26037
|
return "Pixel Tablet";
|
|
26038
|
+
case "sm_a176u1":
|
|
26039
|
+
return "Samsung Galaxy A17";
|
|
26040
|
+
case "sm_a376u1":
|
|
26041
|
+
return "Samsung Galaxy A37";
|
|
25647
26042
|
default:
|
|
25648
26043
|
throw Error(`Unsupported device model: ${deviceModel}`);
|
|
25649
26044
|
}
|
|
25650
26045
|
}
|
|
25651
26046
|
});
|
|
25652
26047
|
|
|
25653
|
-
// node_modules/@qawolf/flow-targets/dist/schemas/android/v1/input.js
|
|
25654
|
-
var supportedVersionsSchema = _enum(["34", "35", "36"]);
|
|
25655
|
-
var androidMetaInputSchema = discriminatedUnion("deviceModel", [
|
|
25656
|
-
object({
|
|
25657
|
-
androidVersion: supportedVersionsSchema.extract(["34"]),
|
|
25658
|
-
deviceModel: supportedModelsInputSchema.extract(["Pixel 2"])
|
|
25659
|
-
}),
|
|
25660
|
-
object({
|
|
25661
|
-
androidVersion: supportedVersionsSchema.extract(["34"]),
|
|
25662
|
-
deviceModel: supportedModelsInputSchema.extract(["Pixel Tablet"])
|
|
25663
|
-
}),
|
|
25664
|
-
object({
|
|
25665
|
-
androidVersion: supportedVersionsSchema.extract(["34", "35", "36"]),
|
|
25666
|
-
deviceModel: supportedModelsInputSchema.extract(["Pixel 9"])
|
|
25667
|
-
})
|
|
25668
|
-
]);
|
|
25669
|
-
var androidTargetInputSchema = baseInputSchema.extend({
|
|
25670
|
-
meta: androidMetaInputSchema,
|
|
25671
|
-
platform: platformsSchema.extract(["android"]),
|
|
25672
|
-
schemaVersion: literal(1)
|
|
25673
|
-
});
|
|
25674
|
-
|
|
25675
26048
|
// node_modules/@qawolf/flow-targets/dist/schemas/android/v1/output.js
|
|
25676
26049
|
var androidTargetOutputSchema = baseOutputSchema.extend({
|
|
25677
26050
|
...androidTargetInputSchema.shape,
|
|
25678
26051
|
meta: object({
|
|
25679
26052
|
androidVersion: supportedVersionsSchema,
|
|
25680
26053
|
deviceModel: supportedModelsOutputSchema,
|
|
25681
|
-
|
|
25682
|
-
|
|
26054
|
+
deviceUdid: string2().optional(),
|
|
26055
|
+
screenHeight: number2().optional(),
|
|
26056
|
+
screenWidth: number2().optional(),
|
|
26057
|
+
targetDevices: supportedTargetDevicesOutputSchema.optional()
|
|
25683
26058
|
}),
|
|
25684
|
-
runnerName:
|
|
26059
|
+
runnerName: runnerNameSchemaForFamily("android")
|
|
25685
26060
|
});
|
|
25686
26061
|
|
|
25687
26062
|
// node_modules/@qawolf/flow-targets/dist/schemas/android/v1/index.js
|
|
@@ -25692,9 +26067,10 @@ var androidExecutionTargetSchema = codec(androidTargetInputSchema, androidTarget
|
|
|
25692
26067
|
meta: {
|
|
25693
26068
|
...value.meta,
|
|
25694
26069
|
deviceModel: supportedModelsSchema.decode(value.meta.deviceModel),
|
|
25695
|
-
...screenDimensions[value.meta.deviceModel]
|
|
26070
|
+
...screenDimensions[value.meta.deviceModel],
|
|
26071
|
+
targetDevices: supportedTargetDevicesSchema.decode(value.meta.targetDevices)
|
|
25696
26072
|
},
|
|
25697
|
-
runnerName: "
|
|
26073
|
+
runnerName: "android"
|
|
25698
26074
|
};
|
|
25699
26075
|
},
|
|
25700
26076
|
encode(value) {
|
|
@@ -25702,7 +26078,8 @@ var androidExecutionTargetSchema = codec(androidTargetInputSchema, androidTarget
|
|
|
25702
26078
|
...value,
|
|
25703
26079
|
meta: {
|
|
25704
26080
|
...value.meta,
|
|
25705
|
-
deviceModel: supportedModelsSchema.encode(value.meta.deviceModel)
|
|
26081
|
+
deviceModel: supportedModelsSchema.encode(value.meta.deviceModel),
|
|
26082
|
+
targetDevices: supportedTargetDevicesSchema.encode(value.meta.targetDevices ?? "anyDevice")
|
|
25706
26083
|
}
|
|
25707
26084
|
});
|
|
25708
26085
|
}
|
|
@@ -25713,26 +26090,161 @@ var androidExecutionTargetInputSchema = discriminatedUnion("schemaVersion", [and
|
|
|
25713
26090
|
var androidExecutionTargetOutputSchema = discriminatedUnion("schemaVersion", [androidTargetOutputSchema]);
|
|
25714
26091
|
var androidExecutionTargetSchema2 = discriminatedUnion("schemaVersion", [androidExecutionTargetSchema]);
|
|
25715
26092
|
|
|
26093
|
+
// node_modules/@qawolf/flow-targets/dist/schemas/cli/v1/input.js
|
|
26094
|
+
var cliTargetInputSchema = baseInputSchema.extend({
|
|
26095
|
+
platform: literal("cli"),
|
|
26096
|
+
schemaVersion: literal(1)
|
|
26097
|
+
});
|
|
26098
|
+
|
|
26099
|
+
// node_modules/@qawolf/flow-targets/dist/schemas/cli/v1/cliRunnerNames.js
|
|
26100
|
+
var cliRunnerNamesSchema = runnerNameSchemaForFamily("basic");
|
|
26101
|
+
|
|
26102
|
+
// node_modules/@qawolf/flow-targets/dist/schemas/cli/v1/output.js
|
|
26103
|
+
var cliTargetOutputSchema = baseOutputSchema.extend({
|
|
26104
|
+
platform: literal("cli"),
|
|
26105
|
+
runnerName: cliRunnerNamesSchema,
|
|
26106
|
+
schemaVersion: literal(1)
|
|
26107
|
+
});
|
|
26108
|
+
|
|
26109
|
+
// node_modules/@qawolf/flow-targets/dist/schemas/cli/v1/index.js
|
|
26110
|
+
var cliExecutionTargetSchema = codec(cliTargetInputSchema, cliTargetOutputSchema, {
|
|
26111
|
+
decode(value) {
|
|
26112
|
+
return {
|
|
26113
|
+
...value,
|
|
26114
|
+
runnerName: "basic"
|
|
26115
|
+
};
|
|
26116
|
+
},
|
|
26117
|
+
encode(value) {
|
|
26118
|
+
return cliTargetInputSchema.parse(value);
|
|
26119
|
+
}
|
|
26120
|
+
});
|
|
26121
|
+
|
|
26122
|
+
// node_modules/@qawolf/flow-targets/dist/schemas/cli/index.js
|
|
26123
|
+
var cliExecutionTargetInputSchema = discriminatedUnion("schemaVersion", [cliTargetInputSchema]);
|
|
26124
|
+
var cliExecutionTargetOutputSchema = discriminatedUnion("schemaVersion", [cliTargetOutputSchema]);
|
|
26125
|
+
var cliExecutionTargetSchema2 = discriminatedUnion("schemaVersion", [
|
|
26126
|
+
cliExecutionTargetSchema
|
|
26127
|
+
]);
|
|
26128
|
+
|
|
26129
|
+
// node_modules/@qawolf/flow-targets/dist/schemas/ios/v1/supportedTargetDevicesSchema.js
|
|
26130
|
+
var supportedTargetDevicesInputSchema2 = literal([
|
|
26131
|
+
"Any Device",
|
|
26132
|
+
"Allowlisted Device",
|
|
26133
|
+
"Team Dedicated Device"
|
|
26134
|
+
]);
|
|
26135
|
+
var supportedTargetDevicesOutputSchema2 = literal([
|
|
26136
|
+
"anyDevice",
|
|
26137
|
+
"allowlistedDevice",
|
|
26138
|
+
"teamDedicatedDevice"
|
|
26139
|
+
]);
|
|
26140
|
+
var supportedTargetDevicesSchema2 = codec(supportedTargetDevicesInputSchema2, supportedTargetDevicesOutputSchema2, {
|
|
26141
|
+
decode(targetDevices) {
|
|
26142
|
+
switch (targetDevices) {
|
|
26143
|
+
case "Allowlisted Device":
|
|
26144
|
+
return "allowlistedDevice";
|
|
26145
|
+
case "Any Device":
|
|
26146
|
+
return "anyDevice";
|
|
26147
|
+
case "Team Dedicated Device":
|
|
26148
|
+
return "teamDedicatedDevice";
|
|
26149
|
+
default:
|
|
26150
|
+
throw Error(`Unsupported target devices: ${targetDevices}`);
|
|
26151
|
+
}
|
|
26152
|
+
},
|
|
26153
|
+
encode(targetDevices) {
|
|
26154
|
+
switch (targetDevices) {
|
|
26155
|
+
case "allowlistedDevice":
|
|
26156
|
+
return "Allowlisted Device";
|
|
26157
|
+
case "anyDevice":
|
|
26158
|
+
return "Any Device";
|
|
26159
|
+
case "teamDedicatedDevice":
|
|
26160
|
+
return "Team Dedicated Device";
|
|
26161
|
+
default:
|
|
26162
|
+
throw Error(`Unsupported target devices: ${targetDevices}`);
|
|
26163
|
+
}
|
|
26164
|
+
}
|
|
26165
|
+
});
|
|
26166
|
+
|
|
26167
|
+
// node_modules/@qawolf/flow-targets/dist/schemas/ios/v1/input.js
|
|
26168
|
+
var supportedVersionsInputSchema = literal(["17", "18", "26", "27"]);
|
|
26169
|
+
var baseMetaInputSchema = object({
|
|
26170
|
+
appleId: union([email2(), boolean2()]).optional(),
|
|
26171
|
+
deviceUdid: string2().optional(),
|
|
26172
|
+
targetDevices: supportedTargetDevicesInputSchema2.default("Any Device")
|
|
26173
|
+
});
|
|
26174
|
+
var iosMetaInputSchema = discriminatedUnion("deviceModel", [
|
|
26175
|
+
baseMetaInputSchema.extend({
|
|
26176
|
+
deviceModel: literal("iPhone 15"),
|
|
26177
|
+
iosVersion: literal(["17", "18", "26", "27"])
|
|
26178
|
+
}),
|
|
26179
|
+
baseMetaInputSchema.extend({
|
|
26180
|
+
deviceModel: literal("iPhone 15 Plus"),
|
|
26181
|
+
iosVersion: literal(["17", "27"])
|
|
26182
|
+
}),
|
|
26183
|
+
baseMetaInputSchema.extend({
|
|
26184
|
+
deviceModel: literal("iPhone 15 Pro Max"),
|
|
26185
|
+
iosVersion: literal(["17", "27"])
|
|
26186
|
+
}),
|
|
26187
|
+
baseMetaInputSchema.extend({
|
|
26188
|
+
deviceModel: literal("iPhone 16"),
|
|
26189
|
+
iosVersion: literal(["26", "27"])
|
|
26190
|
+
}),
|
|
26191
|
+
baseMetaInputSchema.extend({
|
|
26192
|
+
deviceModel: literal("iPhone 16 Plus"),
|
|
26193
|
+
iosVersion: literal(["26", "27"])
|
|
26194
|
+
}),
|
|
26195
|
+
baseMetaInputSchema.extend({
|
|
26196
|
+
deviceModel: literal("iPhone 17"),
|
|
26197
|
+
iosVersion: literal(["26", "27"])
|
|
26198
|
+
}),
|
|
26199
|
+
baseMetaInputSchema.extend({
|
|
26200
|
+
deviceModel: literal("iPad 11"),
|
|
26201
|
+
iosVersion: literal(["18", "26", "27"])
|
|
26202
|
+
}),
|
|
26203
|
+
baseMetaInputSchema.extend({
|
|
26204
|
+
deviceModel: literal("Any iPhone"),
|
|
26205
|
+
iosVersion: literal(["17", "18", "26", "27"])
|
|
26206
|
+
}),
|
|
26207
|
+
baseMetaInputSchema.extend({
|
|
26208
|
+
deviceModel: literal("Any iPad"),
|
|
26209
|
+
iosVersion: literal(["17", "18", "26", "27"])
|
|
26210
|
+
})
|
|
26211
|
+
]);
|
|
26212
|
+
var iosTargetInputSchema = baseInputSchema.extend({
|
|
26213
|
+
meta: iosMetaInputSchema,
|
|
26214
|
+
platform: literal("ios"),
|
|
26215
|
+
schemaVersion: literal(1)
|
|
26216
|
+
});
|
|
26217
|
+
|
|
25716
26218
|
// node_modules/@qawolf/flow-targets/dist/schemas/ios/v1/supportedModelsSchema.js
|
|
25717
|
-
var supportedModelsInputSchema2 =
|
|
26219
|
+
var supportedModelsInputSchema2 = literal([
|
|
25718
26220
|
"iPhone 15",
|
|
25719
26221
|
"iPhone 15 Plus",
|
|
25720
26222
|
"iPhone 15 Pro Max",
|
|
26223
|
+
"iPhone 16",
|
|
25721
26224
|
"iPhone 16 Plus",
|
|
25722
26225
|
"iPhone 17",
|
|
25723
|
-
"iPad 11"
|
|
26226
|
+
"iPad 11",
|
|
26227
|
+
"Any iPhone",
|
|
26228
|
+
"Any iPad"
|
|
25724
26229
|
]);
|
|
25725
|
-
var supportedModelsOutputSchema2 =
|
|
26230
|
+
var supportedModelsOutputSchema2 = literal([
|
|
25726
26231
|
"iphone15_4",
|
|
25727
26232
|
"iphone15_5",
|
|
25728
26233
|
"iphone16_2",
|
|
26234
|
+
"iphone17_3",
|
|
25729
26235
|
"iphone17_4",
|
|
25730
26236
|
"iphone18_3",
|
|
25731
|
-
"ipad15_7"
|
|
26237
|
+
"ipad15_7",
|
|
26238
|
+
"any_iphone",
|
|
26239
|
+
"any_ipad"
|
|
25732
26240
|
]);
|
|
25733
26241
|
var supportedModelsSchema2 = codec(supportedModelsInputSchema2, supportedModelsOutputSchema2, {
|
|
25734
26242
|
decode(deviceModel) {
|
|
25735
26243
|
switch (deviceModel) {
|
|
26244
|
+
case "Any iPad":
|
|
26245
|
+
return "any_ipad";
|
|
26246
|
+
case "Any iPhone":
|
|
26247
|
+
return "any_iphone";
|
|
25736
26248
|
case "iPad 11":
|
|
25737
26249
|
return "ipad15_7";
|
|
25738
26250
|
case "iPhone 15":
|
|
@@ -25741,6 +26253,8 @@ var supportedModelsSchema2 = codec(supportedModelsInputSchema2, supportedModelsO
|
|
|
25741
26253
|
return "iphone15_5";
|
|
25742
26254
|
case "iPhone 15 Pro Max":
|
|
25743
26255
|
return "iphone16_2";
|
|
26256
|
+
case "iPhone 16":
|
|
26257
|
+
return "iphone17_3";
|
|
25744
26258
|
case "iPhone 16 Plus":
|
|
25745
26259
|
return "iphone17_4";
|
|
25746
26260
|
case "iPhone 17":
|
|
@@ -25751,6 +26265,10 @@ var supportedModelsSchema2 = codec(supportedModelsInputSchema2, supportedModelsO
|
|
|
25751
26265
|
},
|
|
25752
26266
|
encode(value) {
|
|
25753
26267
|
switch (value) {
|
|
26268
|
+
case "any_ipad":
|
|
26269
|
+
return "Any iPad";
|
|
26270
|
+
case "any_iphone":
|
|
26271
|
+
return "Any iPhone";
|
|
25754
26272
|
case "ipad15_7":
|
|
25755
26273
|
return "iPad 11";
|
|
25756
26274
|
case "iphone15_4":
|
|
@@ -25759,6 +26277,8 @@ var supportedModelsSchema2 = codec(supportedModelsInputSchema2, supportedModelsO
|
|
|
25759
26277
|
return "iPhone 15 Plus";
|
|
25760
26278
|
case "iphone16_2":
|
|
25761
26279
|
return "iPhone 15 Pro Max";
|
|
26280
|
+
case "iphone17_3":
|
|
26281
|
+
return "iPhone 16";
|
|
25762
26282
|
case "iphone17_4":
|
|
25763
26283
|
return "iPhone 16 Plus";
|
|
25764
26284
|
case "iphone18_3":
|
|
@@ -25769,22 +26289,67 @@ var supportedModelsSchema2 = codec(supportedModelsInputSchema2, supportedModelsO
|
|
|
25769
26289
|
}
|
|
25770
26290
|
});
|
|
25771
26291
|
|
|
25772
|
-
// node_modules/@qawolf/flow-targets/dist/schemas/ios/v1/
|
|
25773
|
-
var
|
|
26292
|
+
// node_modules/@qawolf/flow-targets/dist/schemas/ios/v1/output.js
|
|
26293
|
+
var iosTargetOutputSchema = baseOutputSchema.extend({
|
|
26294
|
+
...iosTargetInputSchema.shape,
|
|
26295
|
+
meta: object({
|
|
26296
|
+
appleId: union([email2(), boolean2()]).optional(),
|
|
26297
|
+
deviceModel: supportedModelsOutputSchema2,
|
|
26298
|
+
deviceUdid: string2().optional(),
|
|
26299
|
+
iosVersion: supportedVersionsInputSchema,
|
|
26300
|
+
screenHeight: number2().optional(),
|
|
26301
|
+
screenWidth: number2().optional(),
|
|
26302
|
+
targetDevices: supportedTargetDevicesOutputSchema2
|
|
26303
|
+
}),
|
|
26304
|
+
runnerName: runnerNameSchemaForFamily("ios")
|
|
26305
|
+
});
|
|
26306
|
+
|
|
26307
|
+
// node_modules/@qawolf/flow-targets/dist/schemas/ios/v1/index.js
|
|
26308
|
+
var iosExecutionTargetSchema = codec(iosTargetInputSchema, iosTargetOutputSchema, {
|
|
26309
|
+
decode(value) {
|
|
26310
|
+
return {
|
|
26311
|
+
...value,
|
|
26312
|
+
meta: {
|
|
26313
|
+
...value.meta,
|
|
26314
|
+
appleId: value.meta.appleId || undefined,
|
|
26315
|
+
deviceModel: supportedModelsSchema2.decode(value.meta.deviceModel),
|
|
26316
|
+
...screenDimensions[value.meta.deviceModel],
|
|
26317
|
+
targetDevices: supportedTargetDevicesSchema2.decode(value.meta.targetDevices)
|
|
26318
|
+
},
|
|
26319
|
+
runnerName: "ios"
|
|
26320
|
+
};
|
|
26321
|
+
},
|
|
26322
|
+
encode(value) {
|
|
26323
|
+
return iosTargetInputSchema.parse({
|
|
26324
|
+
...value,
|
|
26325
|
+
meta: {
|
|
26326
|
+
...value.meta,
|
|
26327
|
+
deviceModel: supportedModelsSchema2.encode(value.meta.deviceModel),
|
|
26328
|
+
targetDevices: supportedTargetDevicesSchema2.encode(value.meta.targetDevices)
|
|
26329
|
+
}
|
|
26330
|
+
});
|
|
26331
|
+
}
|
|
26332
|
+
});
|
|
26333
|
+
|
|
26334
|
+
// node_modules/@qawolf/flow-targets/dist/schemas/ios/index.js
|
|
26335
|
+
var iosExecutionTargetInputSchema = discriminatedUnion("schemaVersion", [iosTargetInputSchema]);
|
|
26336
|
+
var iosExecutionTargetOutputSchema = discriminatedUnion("schemaVersion", [iosTargetOutputSchema]);
|
|
26337
|
+
var iosExecutionTargetSchema2 = discriminatedUnion("schemaVersion", [
|
|
26338
|
+
iosExecutionTargetSchema
|
|
26339
|
+
]);
|
|
26340
|
+
|
|
26341
|
+
// node_modules/@qawolf/flow-targets/dist/schemas/shared/desktopTargetDevicesSchema.js
|
|
26342
|
+
var supportedTargetDevicesInputSchema3 = literal([
|
|
25774
26343
|
"Any Device",
|
|
25775
|
-
"Allowlisted Device",
|
|
25776
26344
|
"Team Dedicated Device"
|
|
25777
26345
|
]);
|
|
25778
|
-
var
|
|
26346
|
+
var supportedTargetDevicesOutputSchema3 = literal([
|
|
25779
26347
|
"anyDevice",
|
|
25780
|
-
"allowlistedDevice",
|
|
25781
26348
|
"teamDedicatedDevice"
|
|
25782
26349
|
]);
|
|
25783
|
-
var
|
|
26350
|
+
var supportedTargetDevicesSchema3 = codec(supportedTargetDevicesInputSchema3, supportedTargetDevicesOutputSchema3, {
|
|
25784
26351
|
decode(targetDevices) {
|
|
25785
26352
|
switch (targetDevices) {
|
|
25786
|
-
case "Allowlisted Device":
|
|
25787
|
-
return "allowlistedDevice";
|
|
25788
26353
|
case "Any Device":
|
|
25789
26354
|
return "anyDevice";
|
|
25790
26355
|
case "Team Dedicated Device":
|
|
@@ -25795,8 +26360,6 @@ var supportedTargetDevicesSchema = codec(supportedTargetDevicesInputSchema, supp
|
|
|
25795
26360
|
},
|
|
25796
26361
|
encode(targetDevices) {
|
|
25797
26362
|
switch (targetDevices) {
|
|
25798
|
-
case "allowlistedDevice":
|
|
25799
|
-
return "Allowlisted Device";
|
|
25800
26363
|
case "anyDevice":
|
|
25801
26364
|
return "Any Device";
|
|
25802
26365
|
case "teamDedicatedDevice":
|
|
@@ -25807,96 +26370,67 @@ var supportedTargetDevicesSchema = codec(supportedTargetDevicesInputSchema, supp
|
|
|
25807
26370
|
}
|
|
25808
26371
|
});
|
|
25809
26372
|
|
|
25810
|
-
// node_modules/@qawolf/flow-targets/dist/schemas/
|
|
25811
|
-
var
|
|
25812
|
-
var
|
|
25813
|
-
|
|
25814
|
-
|
|
25815
|
-
targetDevices: supportedTargetDevicesInputSchema.default("Any Device")
|
|
26373
|
+
// node_modules/@qawolf/flow-targets/dist/schemas/mac/v1/input.js
|
|
26374
|
+
var supportedVersionsSchema2 = literal(["26"]);
|
|
26375
|
+
var macMetaInputSchema = object({
|
|
26376
|
+
macVersion: supportedVersionsSchema2,
|
|
26377
|
+
targetDevices: supportedTargetDevicesInputSchema3.default("Any Device")
|
|
25816
26378
|
});
|
|
25817
|
-
var
|
|
25818
|
-
|
|
25819
|
-
|
|
25820
|
-
iosVersion: supportedVersionsInputSchema.extract(["17", "18", "26"])
|
|
25821
|
-
}),
|
|
25822
|
-
baseMetaInputSchema.extend({
|
|
25823
|
-
deviceModel: supportedModelsInputSchema2.extract(["iPhone 15 Plus"]),
|
|
25824
|
-
iosVersion: supportedVersionsInputSchema.extract(["17"])
|
|
25825
|
-
}),
|
|
25826
|
-
baseMetaInputSchema.extend({
|
|
25827
|
-
deviceModel: supportedModelsInputSchema2.extract(["iPhone 15 Pro Max"]),
|
|
25828
|
-
iosVersion: supportedVersionsInputSchema.extract(["17"])
|
|
25829
|
-
}),
|
|
25830
|
-
baseMetaInputSchema.extend({
|
|
25831
|
-
deviceModel: supportedModelsInputSchema2.extract(["iPhone 16 Plus"]),
|
|
25832
|
-
iosVersion: supportedVersionsInputSchema.extract(["26"])
|
|
25833
|
-
}),
|
|
25834
|
-
baseMetaInputSchema.extend({
|
|
25835
|
-
deviceModel: supportedModelsInputSchema2.extract(["iPhone 17"]),
|
|
25836
|
-
iosVersion: supportedVersionsInputSchema.extract(["26"])
|
|
25837
|
-
}),
|
|
25838
|
-
baseMetaInputSchema.extend({
|
|
25839
|
-
deviceModel: supportedModelsInputSchema2.extract(["iPad 11"]),
|
|
25840
|
-
iosVersion: supportedVersionsInputSchema.extract(["18", "26"])
|
|
25841
|
-
})
|
|
25842
|
-
]);
|
|
25843
|
-
var iosTargetInputSchema = baseInputSchema.extend({
|
|
25844
|
-
meta: iosMetaInputSchema,
|
|
25845
|
-
platform: platformsSchema.extract(["ios"]),
|
|
26379
|
+
var macTargetInputSchema = baseInputSchema.extend({
|
|
26380
|
+
meta: macMetaInputSchema,
|
|
26381
|
+
platform: literal("mac"),
|
|
25846
26382
|
schemaVersion: literal(1)
|
|
25847
26383
|
});
|
|
25848
26384
|
|
|
25849
|
-
// node_modules/@qawolf/flow-targets/dist/schemas/
|
|
25850
|
-
var
|
|
25851
|
-
...
|
|
26385
|
+
// node_modules/@qawolf/flow-targets/dist/schemas/mac/v1/output.js
|
|
26386
|
+
var macTargetOutputSchema = baseOutputSchema.extend({
|
|
26387
|
+
...macTargetInputSchema.shape,
|
|
25852
26388
|
meta: object({
|
|
25853
|
-
|
|
25854
|
-
deviceModel: supportedModelsOutputSchema2,
|
|
25855
|
-
deviceUdid: string2().optional(),
|
|
25856
|
-
iosVersion: supportedVersionsInputSchema,
|
|
26389
|
+
macVersion: supportedVersionsSchema2,
|
|
25857
26390
|
screenHeight: number2(),
|
|
25858
26391
|
screenWidth: number2(),
|
|
25859
|
-
targetDevices:
|
|
26392
|
+
targetDevices: supportedTargetDevicesOutputSchema3
|
|
25860
26393
|
}),
|
|
25861
|
-
runnerName:
|
|
26394
|
+
runnerName: runnerNameSchemaForFamily("mac")
|
|
25862
26395
|
});
|
|
25863
26396
|
|
|
25864
|
-
// node_modules/@qawolf/flow-targets/dist/schemas/
|
|
25865
|
-
var
|
|
26397
|
+
// node_modules/@qawolf/flow-targets/dist/schemas/mac/v1/index.js
|
|
26398
|
+
var macDesktopDimensions = {
|
|
26399
|
+
screenHeight: 1080,
|
|
26400
|
+
screenWidth: 1920
|
|
26401
|
+
};
|
|
26402
|
+
var macExecutionTargetSchema = codec(macTargetInputSchema, macTargetOutputSchema, {
|
|
25866
26403
|
decode(value) {
|
|
25867
26404
|
return {
|
|
25868
26405
|
...value,
|
|
25869
26406
|
meta: {
|
|
25870
26407
|
...value.meta,
|
|
25871
|
-
|
|
25872
|
-
|
|
25873
|
-
...screenDimensions[value.meta.deviceModel],
|
|
25874
|
-
targetDevices: supportedTargetDevicesSchema.decode(value.meta.targetDevices)
|
|
26408
|
+
...macDesktopDimensions,
|
|
26409
|
+
targetDevices: supportedTargetDevicesSchema3.decode(value.meta.targetDevices)
|
|
25875
26410
|
},
|
|
25876
|
-
runnerName: "
|
|
26411
|
+
runnerName: "mac"
|
|
25877
26412
|
};
|
|
25878
26413
|
},
|
|
25879
26414
|
encode(value) {
|
|
25880
|
-
return
|
|
26415
|
+
return macTargetInputSchema.parse({
|
|
25881
26416
|
...value,
|
|
25882
26417
|
meta: {
|
|
25883
26418
|
...value.meta,
|
|
25884
|
-
|
|
25885
|
-
targetDevices: supportedTargetDevicesSchema.encode(value.meta.targetDevices)
|
|
26419
|
+
targetDevices: supportedTargetDevicesSchema3.encode(value.meta.targetDevices)
|
|
25886
26420
|
}
|
|
25887
26421
|
});
|
|
25888
26422
|
}
|
|
25889
26423
|
});
|
|
25890
26424
|
|
|
25891
|
-
// node_modules/@qawolf/flow-targets/dist/schemas/
|
|
25892
|
-
var
|
|
25893
|
-
var
|
|
25894
|
-
var
|
|
25895
|
-
|
|
26425
|
+
// node_modules/@qawolf/flow-targets/dist/schemas/mac/index.js
|
|
26426
|
+
var macExecutionTargetInputSchema = discriminatedUnion("schemaVersion", [macTargetInputSchema]);
|
|
26427
|
+
var macExecutionTargetOutputSchema = discriminatedUnion("schemaVersion", [macTargetOutputSchema]);
|
|
26428
|
+
var macExecutionTargetSchema2 = discriminatedUnion("schemaVersion", [
|
|
26429
|
+
macExecutionTargetSchema
|
|
25896
26430
|
]);
|
|
25897
26431
|
|
|
25898
26432
|
// node_modules/@qawolf/flow-targets/dist/schemas/web/v1/input.js
|
|
25899
|
-
var supportedBrowserNamesSchema =
|
|
26433
|
+
var supportedBrowserNamesSchema = literal(["chrome", "firefox", "safari"]);
|
|
25900
26434
|
var defaultScreenDimensions = {
|
|
25901
26435
|
height: 804,
|
|
25902
26436
|
width: 1288
|
|
@@ -25930,8 +26464,8 @@ var browserInfoSchema = union([
|
|
|
25930
26464
|
]);
|
|
25931
26465
|
var webMetaSchema = union([browserInfoSchema, electronInfoSchema]);
|
|
25932
26466
|
var webTargetInputSchema = baseInputSchema.extend({
|
|
25933
|
-
meta:
|
|
25934
|
-
platform:
|
|
26467
|
+
meta: webMetaSchema,
|
|
26468
|
+
platform: literal("web"),
|
|
25935
26469
|
schemaVersion: literal(1)
|
|
25936
26470
|
});
|
|
25937
26471
|
function getWebBrowserInfo(meta) {
|
|
@@ -25943,10 +26477,9 @@ function getWebBrowserInfo(meta) {
|
|
|
25943
26477
|
}
|
|
25944
26478
|
|
|
25945
26479
|
// node_modules/@qawolf/flow-targets/dist/schemas/web/v1/webRunnerNames.js
|
|
25946
|
-
var webRunnerNamesSchema =
|
|
25947
|
-
"
|
|
25948
|
-
"
|
|
25949
|
-
"node20GpuWithPlaywright"
|
|
26480
|
+
var webRunnerNamesSchema = union([
|
|
26481
|
+
runnerNameSchemaForFamily("playwright"),
|
|
26482
|
+
runnerNameSchemaForFamily("playwrightGpu")
|
|
25950
26483
|
]);
|
|
25951
26484
|
|
|
25952
26485
|
// node_modules/@qawolf/flow-targets/dist/schemas/web/v1/output.js
|
|
@@ -25964,8 +26497,7 @@ var webOutputMetaSchema = union([
|
|
|
25964
26497
|
object({
|
|
25965
26498
|
gpuEnabled: literal(false),
|
|
25966
26499
|
kind: literal("electron")
|
|
25967
|
-
})
|
|
25968
|
-
literal("legacy")
|
|
26500
|
+
})
|
|
25969
26501
|
]);
|
|
25970
26502
|
var webTargetOutputSchema = baseOutputSchema.extend({
|
|
25971
26503
|
meta: webOutputMetaSchema,
|
|
@@ -25977,23 +26509,12 @@ var webTargetOutputSchema = baseOutputSchema.extend({
|
|
|
25977
26509
|
// node_modules/@qawolf/flow-targets/dist/schemas/web/v1/index.js
|
|
25978
26510
|
var webExecutionTargetSchema = codec(webTargetInputSchema, webTargetOutputSchema, {
|
|
25979
26511
|
decode(value) {
|
|
25980
|
-
const runnerName = value.meta
|
|
25981
|
-
|
|
25982
|
-
|
|
25983
|
-
|
|
25984
|
-
|
|
25985
|
-
|
|
25986
|
-
gpuEnabled: false,
|
|
25987
|
-
kind: "electron"
|
|
25988
|
-
};
|
|
25989
|
-
} else {
|
|
25990
|
-
const browserInfo = getWebBrowserInfo(value.meta);
|
|
25991
|
-
meta = {
|
|
25992
|
-
defaultBrowser: browserInfo,
|
|
25993
|
-
gpuEnabled: value.meta.gpuEnabled,
|
|
25994
|
-
kind: "browser"
|
|
25995
|
-
};
|
|
25996
|
-
}
|
|
26512
|
+
const runnerName = value.meta.gpuEnabled ? "playwrightGpu" : "playwright";
|
|
26513
|
+
const meta = value.meta.kind === "electron" ? { gpuEnabled: false, kind: "electron" } : {
|
|
26514
|
+
defaultBrowser: getWebBrowserInfo(value.meta),
|
|
26515
|
+
gpuEnabled: value.meta.gpuEnabled,
|
|
26516
|
+
kind: "browser"
|
|
26517
|
+
};
|
|
25997
26518
|
return {
|
|
25998
26519
|
...value,
|
|
25999
26520
|
meta,
|
|
@@ -26012,26 +26533,130 @@ var webExecutionTargetSchema2 = discriminatedUnion("schemaVersion", [
|
|
|
26012
26533
|
webExecutionTargetSchema
|
|
26013
26534
|
]);
|
|
26014
26535
|
|
|
26536
|
+
// node_modules/@qawolf/flow-targets/dist/schemas/windows/v1/input.js
|
|
26537
|
+
var supportedVersionsSchema3 = literal(["11"]);
|
|
26538
|
+
var windowsMetaInputSchema = object({
|
|
26539
|
+
targetDevices: supportedTargetDevicesInputSchema3.default("Any Device"),
|
|
26540
|
+
windowsVersion: supportedVersionsSchema3
|
|
26541
|
+
});
|
|
26542
|
+
var windowsTargetInputSchema = baseInputSchema.extend({
|
|
26543
|
+
meta: windowsMetaInputSchema,
|
|
26544
|
+
platform: literal("windows"),
|
|
26545
|
+
schemaVersion: literal(1)
|
|
26546
|
+
});
|
|
26547
|
+
|
|
26548
|
+
// node_modules/@qawolf/flow-targets/dist/schemas/windows/v1/output.js
|
|
26549
|
+
var windowsTargetOutputSchema = baseOutputSchema.extend({
|
|
26550
|
+
...windowsTargetInputSchema.shape,
|
|
26551
|
+
meta: object({
|
|
26552
|
+
screenHeight: number2(),
|
|
26553
|
+
screenWidth: number2(),
|
|
26554
|
+
targetDevices: supportedTargetDevicesOutputSchema3.optional(),
|
|
26555
|
+
windowsVersion: supportedVersionsSchema3
|
|
26556
|
+
}),
|
|
26557
|
+
runnerName: runnerNameSchemaForFamily("windows")
|
|
26558
|
+
});
|
|
26559
|
+
|
|
26560
|
+
// node_modules/@qawolf/flow-targets/dist/schemas/windows/v1/index.js
|
|
26561
|
+
var windowsDesktopDimensions = {
|
|
26562
|
+
screenHeight: 1080,
|
|
26563
|
+
screenWidth: 1920
|
|
26564
|
+
};
|
|
26565
|
+
var windowsExecutionTargetSchema = codec(windowsTargetInputSchema, windowsTargetOutputSchema, {
|
|
26566
|
+
decode(value) {
|
|
26567
|
+
return {
|
|
26568
|
+
...value,
|
|
26569
|
+
meta: {
|
|
26570
|
+
...value.meta,
|
|
26571
|
+
...windowsDesktopDimensions,
|
|
26572
|
+
targetDevices: supportedTargetDevicesSchema3.decode(value.meta.targetDevices)
|
|
26573
|
+
},
|
|
26574
|
+
runnerName: "windows"
|
|
26575
|
+
};
|
|
26576
|
+
},
|
|
26577
|
+
encode(value) {
|
|
26578
|
+
return windowsTargetInputSchema.parse({
|
|
26579
|
+
...value,
|
|
26580
|
+
meta: {
|
|
26581
|
+
...value.meta,
|
|
26582
|
+
targetDevices: supportedTargetDevicesSchema3.encode(value.meta.targetDevices ?? "anyDevice")
|
|
26583
|
+
}
|
|
26584
|
+
});
|
|
26585
|
+
}
|
|
26586
|
+
});
|
|
26587
|
+
|
|
26588
|
+
// node_modules/@qawolf/flow-targets/dist/schemas/windows/index.js
|
|
26589
|
+
var windowsExecutionTargetInputSchema = discriminatedUnion("schemaVersion", [windowsTargetInputSchema]);
|
|
26590
|
+
var windowsExecutionTargetOutputSchema = discriminatedUnion("schemaVersion", [windowsTargetOutputSchema]);
|
|
26591
|
+
var windowsExecutionTargetSchema2 = discriminatedUnion("schemaVersion", [windowsExecutionTargetSchema]);
|
|
26015
26592
|
// node_modules/@qawolf/flow-targets/dist/schemas/index.js
|
|
26016
26593
|
var executionTargetInputSchema = discriminatedUnion("platform", [
|
|
26017
26594
|
androidExecutionTargetInputSchema,
|
|
26595
|
+
cliExecutionTargetInputSchema,
|
|
26018
26596
|
iosExecutionTargetInputSchema,
|
|
26019
|
-
|
|
26597
|
+
macExecutionTargetInputSchema,
|
|
26598
|
+
webExecutionTargetInputSchema,
|
|
26599
|
+
windowsExecutionTargetInputSchema
|
|
26020
26600
|
]);
|
|
26021
26601
|
var executionTargetOutputSchema = discriminatedUnion("platform", [
|
|
26022
26602
|
androidExecutionTargetOutputSchema,
|
|
26603
|
+
cliExecutionTargetOutputSchema,
|
|
26023
26604
|
iosExecutionTargetOutputSchema,
|
|
26024
|
-
|
|
26605
|
+
macExecutionTargetOutputSchema,
|
|
26606
|
+
webExecutionTargetOutputSchema,
|
|
26607
|
+
windowsExecutionTargetOutputSchema
|
|
26025
26608
|
]);
|
|
26026
26609
|
var executionTargetSchema = discriminatedUnion("platform", [
|
|
26027
26610
|
androidExecutionTargetSchema2,
|
|
26611
|
+
cliExecutionTargetSchema2,
|
|
26028
26612
|
iosExecutionTargetSchema2,
|
|
26029
|
-
|
|
26613
|
+
macExecutionTargetSchema2,
|
|
26614
|
+
webExecutionTargetSchema2,
|
|
26615
|
+
windowsExecutionTargetSchema2
|
|
26030
26616
|
]);
|
|
26031
26617
|
|
|
26618
|
+
// node_modules/@qawolf/flow-targets/dist/defaults.js
|
|
26619
|
+
var defaultWebPreset = "Web - Chrome";
|
|
26620
|
+
// node_modules/@qawolf/flow-targets/dist/lifecycle/renamedPresets.js
|
|
26621
|
+
var renamedPresets = {
|
|
26622
|
+
"Android 36 - Any Phone": "Android - Any Phone (Android 16 | Emulator)",
|
|
26623
|
+
"Android 37 - Any Phone": "Android - Any Phone (Android 17 | Emulator)",
|
|
26624
|
+
"Android 37 - Any Tablet": "Android - Any Tablet (Android 17 | Emulator)",
|
|
26625
|
+
"Android - Pixel": "Android - Google Pixel 2 (Android 14 | Emulator)",
|
|
26626
|
+
"Android - Pixel 2 (Android 14)": "Android - Google Pixel 2 (Android 14 | Emulator)",
|
|
26627
|
+
"Android - Pixel 9": "Android - Google Pixel 9 (Android 14 | Emulator)",
|
|
26628
|
+
"Android - Pixel 9 (Android 14)": "Android - Google Pixel 9 (Android 14 | Emulator)",
|
|
26629
|
+
"Android - Pixel 9 (Android 15)": "Android - Google Pixel 9 (Android 15 | Emulator)",
|
|
26630
|
+
"Android - Pixel 9 (Android 16)": "Android - Google Pixel 9 (Android 16 | Emulator)",
|
|
26631
|
+
"Android - Pixel 9 (Android 17)": "Android - Google Pixel 9 (Android 17 | Emulator)",
|
|
26632
|
+
"Android - Pixel Tablet (Android 14)": "Android - Google Pixel Tablet (Android 14 | Emulator)",
|
|
26633
|
+
"Android - Pixel Tablet (Android 17)": "Android - Google Pixel Tablet (Android 17 | Emulator)",
|
|
26634
|
+
"Android - Tablet": "Android - Google Pixel Tablet (Android 14 | Emulator)",
|
|
26635
|
+
"iOS 18 - Any iPhone": "iOS - Any iPhone (iOS 18)",
|
|
26636
|
+
"iOS 26 - Any iPad": "iOS - Any iPad (iOS 26)",
|
|
26637
|
+
"iOS 26 - Any iPhone": "iOS - Any iPhone (iOS 26)",
|
|
26638
|
+
"iOS 27 - Any iPhone": "iOS - Any iPhone (iOS 27)",
|
|
26639
|
+
"iOS - Allowlisted iPhone": "iOS - iPhone 15 (iOS 26 | Allowlisted)",
|
|
26640
|
+
"iOS - Apple ID Enabled iPad": "iOS - iPad 11 (iOS 18 | Apple ID)",
|
|
26641
|
+
"iOS - Apple ID Enabled iPhone": "iOS - iPhone 15 (iOS 26 | Apple ID)",
|
|
26642
|
+
"iOS - iPad": "iOS - iPad 11 (iOS 26)",
|
|
26643
|
+
"iOS - iPad 11 (iOS 18) (Apple ID)": "iOS - iPad 11 (iOS 18 | Apple ID)",
|
|
26644
|
+
"iOS - iPhone 15 (iOS 26) (allowlisted)": "iOS - iPhone 15 (iOS 26 | Allowlisted)",
|
|
26645
|
+
"iOS - iPhone 15 (iOS 26) (Apple ID)": "iOS - iPhone 15 (iOS 26 | Apple ID)",
|
|
26646
|
+
"iOS - iPhone 15 (iOS 26) (private)": "iOS - iPhone 15 (iOS 26 | Private)",
|
|
26647
|
+
"Latest Android (Phone)": "Android - Any Phone (Latest | Emulator)",
|
|
26648
|
+
"Latest Android (Tablet)": "Android - Any Tablet (Latest | Emulator)",
|
|
26649
|
+
"Latest iOS (iPad)": "iOS - Any iPad (Latest)",
|
|
26650
|
+
"Latest iOS (iPhone)": "iOS - Any iPhone (Latest)"
|
|
26651
|
+
};
|
|
26652
|
+
var resolvePresetLiteral = (name) => Object.hasOwn(renamedPresets, name) ? renamedPresets[name] : name;
|
|
26653
|
+
|
|
26032
26654
|
// node_modules/@qawolf/flow-targets/dist/parseExecutionTarget.js
|
|
26033
26655
|
var isPresetLiteral = (input) => presetLiteralsSchema.safeParse(input).success;
|
|
26034
|
-
var parseExecutionTarget = (input) => executionTargetSchema.decode(isPresetLiteral(input) ? presetTargetMap[input] : input);
|
|
26656
|
+
var parseExecutionTarget = (input) => executionTargetSchema.decode(isPresetLiteral(input) ? presetTargetMap[resolvePresetLiteral(input)] : input);
|
|
26657
|
+
// node_modules/@qawolf/flow-targets/dist/schemas/android/v1/deviceMode.js
|
|
26658
|
+
var realDeviceModels = new Set(["sm_a176u1", "sm_a376u1"]);
|
|
26659
|
+
var getAndroidDeviceMode = (deviceModel) => realDeviceModels.has(deviceModel) ? "real" : "emulator";
|
|
26035
26660
|
// node_modules/@qawolf/flow-targets/dist/index.js
|
|
26036
26661
|
var presetLiteralOrAdHocTargetSchema = union([
|
|
26037
26662
|
presetLiteralsSchema,
|
|
@@ -26039,8 +26664,16 @@ var presetLiteralOrAdHocTargetSchema = union([
|
|
|
26039
26664
|
]);
|
|
26040
26665
|
|
|
26041
26666
|
// src/core/androidTargets.ts
|
|
26667
|
+
var avdDeviceIdByModel = {
|
|
26668
|
+
any_phone: "pixel_9",
|
|
26669
|
+
any_tablet: "pixel_tablet"
|
|
26670
|
+
};
|
|
26671
|
+
function avdDeviceId(deviceModel) {
|
|
26672
|
+
return avdDeviceIdByModel[deviceModel] ?? deviceModel;
|
|
26673
|
+
}
|
|
26042
26674
|
function makeAvdName(deviceModel, androidVersion) {
|
|
26043
|
-
|
|
26675
|
+
const device = avdDeviceId(deviceModel).toLowerCase().replace(/ /g, "_");
|
|
26676
|
+
return `qawolf_${device}_api${androidVersion}`;
|
|
26044
26677
|
}
|
|
26045
26678
|
function avdNameForTarget(target) {
|
|
26046
26679
|
let parsed;
|
|
@@ -26052,6 +26685,8 @@ function avdNameForTarget(target) {
|
|
|
26052
26685
|
if (parsed.platform !== "android")
|
|
26053
26686
|
return;
|
|
26054
26687
|
const { deviceModel, androidVersion } = parsed.meta;
|
|
26688
|
+
if (getAndroidDeviceMode(deviceModel) === "real")
|
|
26689
|
+
return;
|
|
26055
26690
|
return makeAvdName(deviceModel, androidVersion);
|
|
26056
26691
|
}
|
|
26057
26692
|
var avdArchByNodeArch = {
|
|
@@ -26064,7 +26699,8 @@ function buildSystemImage(androidVersion, arch) {
|
|
|
26064
26699
|
throw new Error(`Unsupported host architecture for Android AVD: ${arch}`);
|
|
26065
26700
|
}
|
|
26066
26701
|
const imageType = Number(androidVersion) >= 36 ? "google_apis" : "google_apis_playstore";
|
|
26067
|
-
|
|
26702
|
+
const platformId = Number(androidVersion) >= 37 ? `${androidVersion}.0` : androidVersion;
|
|
26703
|
+
return `system-images;android-${platformId};${imageType};${archStr}`;
|
|
26068
26704
|
}
|
|
26069
26705
|
|
|
26070
26706
|
// src/core/batchMap.ts
|
|
@@ -26468,7 +27104,7 @@ function playwrightCliInvocation(args) {
|
|
|
26468
27104
|
}
|
|
26469
27105
|
|
|
26470
27106
|
// src/generated/dependencyVersions.ts
|
|
26471
|
-
var flowsVersion = "0.
|
|
27107
|
+
var flowsVersion = "0.3.0";
|
|
26472
27108
|
var playwrightVersion = "1.62.0";
|
|
26473
27109
|
var emailsVersion = "1.1.1";
|
|
26474
27110
|
var testkitVersion = "1.2.1";
|
|
@@ -27585,8 +28221,9 @@ function classifyTarget(target) {
|
|
|
27585
28221
|
} catch {
|
|
27586
28222
|
return { kind: "unrecognized" };
|
|
27587
28223
|
}
|
|
27588
|
-
if (parsed.platform === "android")
|
|
27589
|
-
return { kind: "android" };
|
|
28224
|
+
if (parsed.platform === "android") {
|
|
28225
|
+
return getAndroidDeviceMode(parsed.meta.deviceModel) === "real" ? { kind: "unsupported" } : { kind: "android" };
|
|
28226
|
+
}
|
|
27590
28227
|
if (parsed.platform === "ios")
|
|
27591
28228
|
return { kind: "ios" };
|
|
27592
28229
|
if (parsed.platform !== "web")
|
|
@@ -35078,12 +35715,7 @@ async function doInit(flowPath, timeout, fs, depsRoot) {
|
|
|
35078
35715
|
if (typeof mod.configureFlowRuntime !== "function")
|
|
35079
35716
|
throw new Error(`@qawolf/flows _runner at ${runnerPath} does not export configureFlowRuntime`);
|
|
35080
35717
|
await mod.configureFlowRuntime({
|
|
35081
|
-
target:
|
|
35082
|
-
platform: "web",
|
|
35083
|
-
schemaVersion: 1,
|
|
35084
|
-
runnerName: "node20WithPlaywright",
|
|
35085
|
-
meta: "legacy"
|
|
35086
|
-
},
|
|
35718
|
+
target: parseExecutionTarget(defaultWebPreset),
|
|
35087
35719
|
webExpectAttributes: { defaultExpectTimeoutMs: timeout }
|
|
35088
35720
|
});
|
|
35089
35721
|
}
|
|
@@ -36609,7 +37241,7 @@ function buildAvdSpecs(targets, arch) {
|
|
|
36609
37241
|
seen.set(avdName, {
|
|
36610
37242
|
avdName,
|
|
36611
37243
|
systemImage: buildSystemImage(androidVersion, arch),
|
|
36612
|
-
deviceId: deviceModel
|
|
37244
|
+
deviceId: avdDeviceId(deviceModel)
|
|
36613
37245
|
});
|
|
36614
37246
|
}
|
|
36615
37247
|
return [...seen.values()];
|
|
@@ -40769,4 +41401,4 @@ createProgram({ signals }).parseAsync().catch(() => {
|
|
|
40769
41401
|
process.exitCode = 1;
|
|
40770
41402
|
}).finally(() => exitWhenIdle(typeof process.exitCode === "number" ? process.exitCode : 0));
|
|
40771
41403
|
|
|
40772
|
-
//# debugId=
|
|
41404
|
+
//# debugId=C7183605013CDE4364756E2164756E21
|