froth-webdriverio-framework 7.0.78 → 7.0.79
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.
|
@@ -443,12 +443,13 @@ async function getBrowserStackCapabilities(baseCaps) {
|
|
|
443
443
|
|
|
444
444
|
// ⚠️ NEVER assign env vars like this inside code
|
|
445
445
|
// process.env.BS_UPLOAD_MEDIA = "..."
|
|
446
|
-
process.env.BS_UPLOAD_MEDIA = "media://8440f686585de9b46e1c966ce764703836f918bc,media://2952ee7b9b7f0751624b0d4208d7c00b56d4e49b"
|
|
447
|
-
if (process.env.BS_UPLOAD_MEDIA) {
|
|
448
|
-
|
|
449
|
-
|
|
450
|
-
|
|
451
|
-
}
|
|
446
|
+
// process.env.BS_UPLOAD_MEDIA = "media://8440f686585de9b46e1c966ce764703836f918bc,media://2952ee7b9b7f0751624b0d4208d7c00b56d4e49b"
|
|
447
|
+
// if (process.env.BS_UPLOAD_MEDIA) {
|
|
448
|
+
// bsOpts.uploadMedia = process.env.BS_UPLOAD_MEDIA
|
|
449
|
+
// .split(',')
|
|
450
|
+
// .map(x => x.trim());
|
|
451
|
+
// }
|
|
452
|
+
capabilities['browserstack.uploadMedia'] = '{"media://8440f686585de9b46e1c966ce764703836f918bc","media://2952ee7b9b7f0751624b0d4208d7c00b56d4e49b"}'
|
|
452
453
|
|
|
453
454
|
capabilities['bstack:options'] = bsOpts;
|
|
454
455
|
|