froth-webdriverio-framework 3.0.135 → 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,6 +30,8 @@ const commonconfig = {
30
30
 
31
31
  // await setAllDetails.setIntegrationsDetails();
32
32
  suite_info= await setAllDetails.setSuiteDetails();
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
33
35
  await setAllDetails.setTestDataDetails();
34
36
  console.log("on prepare:", JSON.stringify(capabilities))
35
37
 
@@ -155,7 +157,8 @@ const commonconfig = {
155
157
 
156
158
  // scriptresult = "FAILED"
157
159
  }
158
- console.log("suite info:", JSON.stringify(suite_info))
160
+ let suite_info1= JSON.stringify(suite_info);
161
+ console.log("Second Log - suite_info:", suite_info1)
159
162
  const jwtScript = suite_info.script_details.find(script => script.scriptName === fileName.replace(".js", ""));
160
163
  console.log("jwtScript:", jwtScript);
161
164
  if (jwtScript) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "froth-webdriverio-framework",
3
- "version": "3.0.135",
3
+ "version": "3.0.137",
4
4
 
5
5
  "readme": "WebdriverIO Integration",
6
6
  "description": "WebdriverIO and BrowserStack App Automate",