froth-webdriverio-framework 7.0.55 → 7.0.56

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.
@@ -182,13 +182,13 @@ const commonHooks = {
182
182
  console.log('Total items:', media.length);
183
183
  if (media.length > 0) {
184
184
 
185
- capabilities['bstack:options'].uploadMedia = media;
185
+ //capabilities['bstack:options'].uploadMedia = media;
186
186
  capabilities['bstack:options'].networkLogs = false;
187
187
  // capabilities['networkLogs'] = false
188
188
  // // capabilities['uploadMedia'] = media;
189
189
  // console.log('uploadMedia attached:', media)
190
190
  // bsOpts.uploadMedia = JSON.parse(process.env.MEDIA_FILES)
191
- // capabilities['uploadMedia'] = JSON.parse(process.env.MEDIA_FILES)
191
+ capabilities['browserstack.uploadMedia'] = media
192
192
  console.log('Final capabilities:', JSON.stringify(capabilities, null, 2));
193
193
 
194
194
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "froth-webdriverio-framework",
3
- "version": "7.0.55",
3
+ "version": "7.0.56",
4
4
  "readme": "WebdriverIO Integration",
5
5
  "description": "WebdriverIO and BrowserStack App Automate",
6
6
  "license": "MIT",