froth-webdriverio-framework 3.0.145 → 3.0.146

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.
@@ -29,6 +29,8 @@ const commonconfig = {
29
29
 
30
30
  // await setAllDetails.setIntegrationsDetails();
31
31
  await setAllDetails.setSuiteDetails();
32
+ console.log("First Log - suite_info:", process.env.FROTHSSCRIPT_DETAILS);
33
+
32
34
  console.log("First Log - suite_info:", JSON.stringify(process.env.FROTHSSCRIPT_DETAILS));
33
35
  console.log("Type:", typeof suite_info); // Check if it's object, undefined, or something else
34
36
  await setAllDetails.setTestDataDetails();
@@ -162,9 +164,8 @@ const commonconfig = {
162
164
 
163
165
  // scriptresult = "FAILED"
164
166
  }
165
- let suite_info1= JSON.stringify(global.suite_info);
166
- console.log("Second Log - suite_info:", suite_info1)
167
- const jwtScript = global.suite_info.script_details.find(script => script.scriptName === fileName.replace(".js", ""));
167
+ console.log("Second Log - suite_info:", process.env.FROTHSSCRIPT_DETAILS)
168
+ const jwtScript = process.env.FROTHSSCRIPT_DETAILS.script_details.find(script => script.scriptName === fileName.replace(".js", ""));
168
169
  console.log("jwtScript:", jwtScript);
169
170
  if (jwtScript) {
170
171
  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.145",
3
+ "version": "3.0.146",
4
4
 
5
5
  "readme": "WebdriverIO Integration",
6
6
  "description": "WebdriverIO and BrowserStack App Automate",