froth-webdriverio-framework 1.0.53 → 1.0.55

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.
@@ -85,7 +85,7 @@ async function updateExecuitonDetails(frothUrl, token, id, resultdetails) {
85
85
 
86
86
  if (response.ok) {
87
87
  const data = await response.json();
88
- console.log(data)
88
+ console.log("data is :"+data)
89
89
 
90
90
  } else if (response.status === 401) { // Unauthorized, token expired
91
91
  // Call login function to obtain a new token
@@ -115,7 +115,7 @@ const commonconfig = {
115
115
  resultdetails.excution_status = BUFFER.getItem("RESULT_DATA") === 0 ? 'PASSED' : 'FAILED'
116
116
  console.log("Total Duration:" + BUFFER.getItem("TOTAL_DURATION"));
117
117
  resultdetails.excution_time = await secondsToTime(BUFFER.getItem("TOTAL_DURATION"))
118
- exeDetails.updateExecuitonDetails(BUFFER.getItem("ORGANISATION_DOMAIN_URL"), BUFFER.getItem("LOGIN_TOKEN"), BUFFER.getItem("EXECUTION_ID"), resultdetails)
118
+ await exeDetails.updateExecuitonDetails(BUFFER.getItem("ORGANISATION_DOMAIN_URL"), BUFFER.getItem("LOGIN_TOKEN"), BUFFER.getItem("EXECUTION_ID"), resultdetails)
119
119
  BUFFER.clear();
120
120
  // Perform any cleanup or post-test actions here
121
121
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "froth-webdriverio-framework",
3
- "version": "1.0.53",
3
+ "version": "1.0.55",
4
4
  "readme": "WebdriverIO Integration",
5
5
  "description": "WebdriverIO and BrowserStack App Automate",
6
6
  "license": "MIT",