froth-webdriverio-framework 6.0.46 → 6.0.48
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/froth_configs/commonhook.js +32 -29
- package/log/key-metrics.json +220 -0
- package/log/sdk-cli-debug.log +129 -1182
- package/log/sdk-cli.log +1251 -0
- package/package.json +1 -1
|
@@ -5,39 +5,42 @@ module.exports = {
|
|
|
5
5
|
onPrepare: async () => {
|
|
6
6
|
console.log('==== ON PREPARE HOOK ====');
|
|
7
7
|
await setAllDetails.setEnvVariables();
|
|
8
|
-
getExeDetails=await setAllDetails.setExecutionDetails();
|
|
9
|
-
|
|
8
|
+
getExeDetails = await setAllDetails.setExecutionDetails();
|
|
9
|
+
|
|
10
10
|
await setAllDetails.setSuiteDetails();
|
|
11
11
|
await setAllDetails.setTestDataDetails();
|
|
12
12
|
|
|
13
13
|
console.log('✅ App & media updated before execution');
|
|
14
14
|
},
|
|
15
15
|
|
|
16
|
-
beforeSession: async function (config, capabilities, specs) {
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
// console.log(`✅ BrowserStack Local: ${bsService[1].browserstackLocal}`);
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
16
|
+
// beforeSession: async function (config, capabilities, specs) {
|
|
17
|
+
// try {
|
|
18
|
+
// if (config.services) {
|
|
19
|
+
// const bsService = config.services.find(
|
|
20
|
+
// s => Array.isArray(s) && s[0] === 'browserstack'
|
|
21
|
+
// );
|
|
22
|
+
|
|
23
|
+
// if (bsService) {
|
|
24
|
+
// bsService[1].app = process.env.BROWSERSTACK_APP_PATH
|
|
25
|
+
// // bsService[1].browserstackLocal = isLocal;
|
|
26
|
+
|
|
27
|
+
// // if (isLocal) {
|
|
28
|
+
// // bsService[1].opts = bsService[1].opts || {};
|
|
29
|
+
// // bsService[1].opts.forcelocal = true;
|
|
30
|
+
// // bsService[1].opts.localIdentifier = `wdio-${process.pid}`;
|
|
31
|
+
// // }
|
|
32
|
+
|
|
33
|
+
// // console.log(`✅ BrowserStack Local: ${bsService[1].browserstackLocal}`);
|
|
34
|
+
// console.log(`✅ App Path: ${bsService[1].app}`);
|
|
35
|
+
// console.log("config details " + JSON.stringify(config))
|
|
36
|
+
// console.log("Capability details " + JSON.stringify(capabilities))
|
|
37
|
+
|
|
38
|
+
// }
|
|
39
|
+
// }
|
|
40
|
+
|
|
41
|
+
// } catch (error) {
|
|
42
|
+
// console.error('🚨 Error in beforeSession:', error);
|
|
43
|
+
// console.error('🚨 Error in beforeSession:', error.message);
|
|
44
|
+
// }
|
|
45
|
+
// }
|
|
43
46
|
};
|
package/log/key-metrics.json
CHANGED
|
@@ -3249,5 +3249,225 @@
|
|
|
3249
3249
|
"success": true,
|
|
3250
3250
|
"failure": null,
|
|
3251
3251
|
"worker": 72622
|
|
3252
|
+
},
|
|
3253
|
+
{
|
|
3254
|
+
"name": "sdk:testhub",
|
|
3255
|
+
"entryType": "measure",
|
|
3256
|
+
"startTime": 657.8755980003625,
|
|
3257
|
+
"duration": 1483.1462859995663,
|
|
3258
|
+
"detail": null,
|
|
3259
|
+
"success": true,
|
|
3260
|
+
"failure": null,
|
|
3261
|
+
"worker": 77820
|
|
3262
|
+
},
|
|
3263
|
+
{
|
|
3264
|
+
"name": "sdk:percy",
|
|
3265
|
+
"entryType": "measure",
|
|
3266
|
+
"startTime": 2146.784065000713,
|
|
3267
|
+
"duration": 1427.1911440007389,
|
|
3268
|
+
"detail": null,
|
|
3269
|
+
"success": false,
|
|
3270
|
+
"failure": {},
|
|
3271
|
+
"worker": 77820
|
|
3272
|
+
},
|
|
3273
|
+
{
|
|
3274
|
+
"name": "sdk:automate:local",
|
|
3275
|
+
"entryType": "measure",
|
|
3276
|
+
"startTime": 3574.5212190002203,
|
|
3277
|
+
"duration": 0.3413600008934736,
|
|
3278
|
+
"detail": null,
|
|
3279
|
+
"success": true,
|
|
3280
|
+
"failure": null,
|
|
3281
|
+
"worker": 77820
|
|
3282
|
+
},
|
|
3283
|
+
{
|
|
3284
|
+
"name": "sdk:automate:hub-management",
|
|
3285
|
+
"entryType": "measure",
|
|
3286
|
+
"startTime": 7601.969197001308,
|
|
3287
|
+
"duration": 2054.2657289989293,
|
|
3288
|
+
"detail": null,
|
|
3289
|
+
"success": true,
|
|
3290
|
+
"failure": null,
|
|
3291
|
+
"worker": 77820
|
|
3292
|
+
},
|
|
3293
|
+
{
|
|
3294
|
+
"name": "sdk:automate:print-buildlink",
|
|
3295
|
+
"entryType": "measure",
|
|
3296
|
+
"startTime": 64062.93989700079,
|
|
3297
|
+
"duration": 633.995597999543,
|
|
3298
|
+
"detail": null,
|
|
3299
|
+
"success": true,
|
|
3300
|
+
"failure": null,
|
|
3301
|
+
"worker": 77820
|
|
3302
|
+
},
|
|
3303
|
+
{
|
|
3304
|
+
"name": "sdk:testhub",
|
|
3305
|
+
"entryType": "measure",
|
|
3306
|
+
"startTime": 667.3487400002778,
|
|
3307
|
+
"duration": 1120.4018529988825,
|
|
3308
|
+
"detail": null,
|
|
3309
|
+
"success": true,
|
|
3310
|
+
"failure": null,
|
|
3311
|
+
"worker": 78849
|
|
3312
|
+
},
|
|
3313
|
+
{
|
|
3314
|
+
"name": "sdk:percy",
|
|
3315
|
+
"entryType": "measure",
|
|
3316
|
+
"startTime": 1797.8279260005802,
|
|
3317
|
+
"duration": 703.5532689988613,
|
|
3318
|
+
"detail": null,
|
|
3319
|
+
"success": false,
|
|
3320
|
+
"failure": {},
|
|
3321
|
+
"worker": 78849
|
|
3322
|
+
},
|
|
3323
|
+
{
|
|
3324
|
+
"name": "sdk:automate:local",
|
|
3325
|
+
"entryType": "measure",
|
|
3326
|
+
"startTime": 2501.9633729998022,
|
|
3327
|
+
"duration": 0.4237399995326996,
|
|
3328
|
+
"detail": null,
|
|
3329
|
+
"success": true,
|
|
3330
|
+
"failure": null,
|
|
3331
|
+
"worker": 78849
|
|
3332
|
+
},
|
|
3333
|
+
{
|
|
3334
|
+
"name": "sdk:automate:hub-management",
|
|
3335
|
+
"entryType": "measure",
|
|
3336
|
+
"startTime": 5666.8404820002615,
|
|
3337
|
+
"duration": 2117.2180320005864,
|
|
3338
|
+
"detail": null,
|
|
3339
|
+
"success": true,
|
|
3340
|
+
"failure": null,
|
|
3341
|
+
"worker": 78849
|
|
3342
|
+
},
|
|
3343
|
+
{
|
|
3344
|
+
"name": "sdk:automate:print-buildlink",
|
|
3345
|
+
"entryType": "measure",
|
|
3346
|
+
"startTime": 64254.35733100027,
|
|
3347
|
+
"duration": 702.2390400003642,
|
|
3348
|
+
"detail": null,
|
|
3349
|
+
"success": true,
|
|
3350
|
+
"failure": null,
|
|
3351
|
+
"worker": 78849
|
|
3352
|
+
},
|
|
3353
|
+
{
|
|
3354
|
+
"name": "sdk:testhub",
|
|
3355
|
+
"entryType": "measure",
|
|
3356
|
+
"startTime": 609.5077929999679,
|
|
3357
|
+
"duration": 1350.3779930006713,
|
|
3358
|
+
"detail": null,
|
|
3359
|
+
"success": true,
|
|
3360
|
+
"failure": null,
|
|
3361
|
+
"worker": 88079
|
|
3362
|
+
},
|
|
3363
|
+
{
|
|
3364
|
+
"name": "sdk:percy",
|
|
3365
|
+
"entryType": "measure",
|
|
3366
|
+
"startTime": 1966.1725639998913,
|
|
3367
|
+
"duration": 0.36466499976813793,
|
|
3368
|
+
"detail": null,
|
|
3369
|
+
"success": true,
|
|
3370
|
+
"failure": null,
|
|
3371
|
+
"worker": 88079
|
|
3372
|
+
},
|
|
3373
|
+
{
|
|
3374
|
+
"name": "sdk:automate:local",
|
|
3375
|
+
"entryType": "measure",
|
|
3376
|
+
"startTime": 1966.766243999824,
|
|
3377
|
+
"duration": 0.36563399992883205,
|
|
3378
|
+
"detail": null,
|
|
3379
|
+
"success": true,
|
|
3380
|
+
"failure": null,
|
|
3381
|
+
"worker": 88079
|
|
3382
|
+
},
|
|
3383
|
+
{
|
|
3384
|
+
"name": "sdk:testhub",
|
|
3385
|
+
"entryType": "measure",
|
|
3386
|
+
"startTime": 916.8486839998513,
|
|
3387
|
+
"duration": 819.7156819999218,
|
|
3388
|
+
"detail": null,
|
|
3389
|
+
"success": true,
|
|
3390
|
+
"failure": null,
|
|
3391
|
+
"worker": 89544
|
|
3392
|
+
},
|
|
3393
|
+
{
|
|
3394
|
+
"name": "sdk:percy",
|
|
3395
|
+
"entryType": "measure",
|
|
3396
|
+
"startTime": 1741.544232999906,
|
|
3397
|
+
"duration": 0.44236399978399277,
|
|
3398
|
+
"detail": null,
|
|
3399
|
+
"success": true,
|
|
3400
|
+
"failure": null,
|
|
3401
|
+
"worker": 89544
|
|
3402
|
+
},
|
|
3403
|
+
{
|
|
3404
|
+
"name": "sdk:automate:local",
|
|
3405
|
+
"entryType": "measure",
|
|
3406
|
+
"startTime": 1742.281534999609,
|
|
3407
|
+
"duration": 0.5153390001505613,
|
|
3408
|
+
"detail": null,
|
|
3409
|
+
"success": true,
|
|
3410
|
+
"failure": null,
|
|
3411
|
+
"worker": 89544
|
|
3412
|
+
},
|
|
3413
|
+
{
|
|
3414
|
+
"name": "sdk:automate:hub-management",
|
|
3415
|
+
"entryType": "measure",
|
|
3416
|
+
"startTime": 3502.5124459993094,
|
|
3417
|
+
"duration": 2056.2332950010896,
|
|
3418
|
+
"detail": null,
|
|
3419
|
+
"success": true,
|
|
3420
|
+
"failure": null,
|
|
3421
|
+
"worker": 89544
|
|
3422
|
+
},
|
|
3423
|
+
{
|
|
3424
|
+
"name": "sdk:automate:print-buildlink",
|
|
3425
|
+
"entryType": "measure",
|
|
3426
|
+
"startTime": 9347.006515000015,
|
|
3427
|
+
"duration": 639.3422029986978,
|
|
3428
|
+
"detail": null,
|
|
3429
|
+
"success": true,
|
|
3430
|
+
"failure": null,
|
|
3431
|
+
"worker": 89544
|
|
3432
|
+
},
|
|
3433
|
+
{
|
|
3434
|
+
"name": "sdk:testhub",
|
|
3435
|
+
"entryType": "measure",
|
|
3436
|
+
"startTime": 546.6185430008918,
|
|
3437
|
+
"duration": 1095.4759890008718,
|
|
3438
|
+
"detail": null,
|
|
3439
|
+
"success": true,
|
|
3440
|
+
"failure": null,
|
|
3441
|
+
"worker": 91074
|
|
3442
|
+
},
|
|
3443
|
+
{
|
|
3444
|
+
"name": "sdk:percy",
|
|
3445
|
+
"entryType": "measure",
|
|
3446
|
+
"startTime": 1647.0715640001,
|
|
3447
|
+
"duration": 1381.3618850000203,
|
|
3448
|
+
"detail": null,
|
|
3449
|
+
"success": false,
|
|
3450
|
+
"failure": {},
|
|
3451
|
+
"worker": 91074
|
|
3452
|
+
},
|
|
3453
|
+
{
|
|
3454
|
+
"name": "sdk:automate:local",
|
|
3455
|
+
"entryType": "measure",
|
|
3456
|
+
"startTime": 3028.824178000912,
|
|
3457
|
+
"duration": 0.27573399990797043,
|
|
3458
|
+
"detail": null,
|
|
3459
|
+
"success": true,
|
|
3460
|
+
"failure": null,
|
|
3461
|
+
"worker": 91074
|
|
3462
|
+
},
|
|
3463
|
+
{
|
|
3464
|
+
"name": "sdk:automate:hub-management",
|
|
3465
|
+
"entryType": "measure",
|
|
3466
|
+
"startTime": 6101.8140230011195,
|
|
3467
|
+
"duration": 2049.8839779999107,
|
|
3468
|
+
"detail": null,
|
|
3469
|
+
"success": true,
|
|
3470
|
+
"failure": null,
|
|
3471
|
+
"worker": 91074
|
|
3252
3472
|
}
|
|
3253
3473
|
]
|