froth-webdriverio-framework 3.0.136 → 3.0.137

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.
@@ -9,7 +9,7 @@ const { fail } = require("assert");
9
9
  let starttime;
10
10
  let endtime;
11
11
  console.log('===== common config===== ');
12
- let suite_info;
12
+ global.suite_info={};
13
13
  const resultdetails = {
14
14
  comments: [],
15
15
  excution_status: 'SKIPPED', // Pass/Fail
@@ -30,7 +30,8 @@ const commonconfig = {
30
30
 
31
31
  // await setAllDetails.setIntegrationsDetails();
32
32
  suite_info= await setAllDetails.setSuiteDetails();
33
- console.log("Suite Info:", JSON.stringify(suite_info));
33
+ console.log("First Log - suite_info:", JSON.stringify(suite_info));
34
+ console.log("Type:", typeof suite_info); // Check if it's object, undefined, or something else
34
35
  await setAllDetails.setTestDataDetails();
35
36
  console.log("on prepare:", JSON.stringify(capabilities))
36
37
 
@@ -157,8 +158,8 @@ const commonconfig = {
157
158
  // scriptresult = "FAILED"
158
159
  }
159
160
  let suite_info1= JSON.stringify(suite_info);
160
- console.log("suite info:", suite_info1)
161
- const jwtScript = suite_info1.script_details.find(script => script.scriptName === fileName.replace(".js", ""));
161
+ console.log("Second Log - suite_info:", suite_info1)
162
+ const jwtScript = suite_info.script_details.find(script => script.scriptName === fileName.replace(".js", ""));
162
163
  console.log("jwtScript:", jwtScript);
163
164
  if (jwtScript) {
164
165
  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.136",
3
+ "version": "3.0.137",
4
4
 
5
5
  "readme": "WebdriverIO Integration",
6
6
  "description": "WebdriverIO and BrowserStack App Automate",