froth-webdriverio-framework 7.0.49 → 7.0.50
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.
|
@@ -175,12 +175,14 @@ const commonHooks = {
|
|
|
175
175
|
|
|
176
176
|
}
|
|
177
177
|
/** Media upload */
|
|
178
|
+
|
|
178
179
|
if (process.env.MEDIA_FILES) {
|
|
179
180
|
try {
|
|
180
181
|
const media = JSON.parse(process.env.MEDIA_FILES);
|
|
181
182
|
console.log('Total items:', media.length);
|
|
182
183
|
if (media.length > 0) {
|
|
183
|
-
bsOpts.
|
|
184
|
+
bsOpts.networkLogs= false
|
|
185
|
+
// bsOpts.uploadMedia = JSON.parse(process.env.MEDIA_FILES)
|
|
184
186
|
// capabilities['uploadMedia'] = JSON.parse(process.env.MEDIA_FILES);
|
|
185
187
|
}
|
|
186
188
|
} catch {
|