froth-webdriverio-framework 3.0.149 → 3.0.150

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.
@@ -165,8 +165,9 @@ const commonconfig = {
165
165
  // scriptresult = "FAILED"
166
166
  }
167
167
  console.log("Second Log - suite_info:", process.env.FROTHSSCRIPT_DETAILS)
168
-
169
- const jwtScript = process.env.FROTHSSCRIPT_DETAILS.find(s => s.scriptName === fileName.replace(".js", ""));
168
+ const scriptArray = Object.values(process.env.FROTHSSCRIPT_DETAILS);
169
+ console.log("Converted array:", scriptArray);
170
+ const jwtScript = scriptArray.find(s => s.scriptName === fileName.replace(".js", ""));
170
171
  console.log("jwtScript:", jwtScript);
171
172
  if (jwtScript) {
172
173
  console.log("Script ID:", jwtScript.scriptId);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "froth-webdriverio-framework",
3
- "version": "3.0.149",
3
+ "version": "3.0.150",
4
4
 
5
5
  "readme": "WebdriverIO Integration",
6
6
  "description": "WebdriverIO and BrowserStack App Automate",