froth-webdriverio-framework 7.0.64 → 7.0.65

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.
@@ -159,7 +159,7 @@ const commonHooks = {
159
159
  /** 2️⃣ BrowserStack capability normalization */
160
160
 
161
161
  if (process.env.PLATFORM === 'browserstack' || process.env.PLATFORM === 'browserstacklocal') {
162
- console.log("capbiliteis to undrstand how to set bscap:"+capabilities)
162
+ console.log("capbiliteis to undrstand how to set bscap:"+await JSON.parse(capabilities))
163
163
  const bsOpts = capabilities['bstack:options'] || {};
164
164
 
165
165
  console.log('✅ BS_USERNAME set from capabilities:', process.env.BROWSERSTACK_USERNAME);
@@ -182,7 +182,7 @@ const commonHooks = {
182
182
  console.log('Total items:', media.length);
183
183
  if (media.length > 0) {
184
184
  // bsOpts.uploadMedia = JSON.parse(process.env.MEDIA_FILES)
185
- capabilities['browserstack.uploadMedia'] = JSON.parse(process.env.MEDIA_FILES);
185
+ capabilities['uploadMedia'] = JSON.parse(process.env.MEDIA_FILES);
186
186
  }
187
187
  } catch {
188
188
  console.warn('⚠️ MEDIA_FILES is not valid JSON');
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "froth-webdriverio-framework",
3
- "version": "7.0.64",
3
+ "version": "7.0.65",
4
4
  "readme": "WebdriverIO Integration",
5
5
  "description": "WebdriverIO and BrowserStack App Automate",
6
6
  "license": "MIT",