froth-webdriverio-framework 6.0.65 → 6.0.67

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.
@@ -146,10 +146,10 @@ async function update_CICDRUNID_ReportUrl(frothUrl, token, id) {
146
146
  async function updateExecuitonDetails(frothUrl, token, id, resultdetails) {
147
147
  try {
148
148
  console.log("in update execution details UPDATE_EXECUTION: " + BUFFER.getItem("UPDATE_EXECUTION"))
149
- if (BUFFER.getItem("FROTH_UPDATE_EXECUTION") === 'TRUE') {
150
- console.log("Execution already updated.")
151
- }
152
- else {
149
+ // if (BUFFER.getItem("FROTH_UPDATE_EXECUTION") === 'TRUE') {
150
+ // console.log("Execution already updated.")
151
+ // }
152
+ // else {
153
153
  const url = `${frothUrl}/api/test-execution-update/${id}/`;
154
154
  const formData = new FormData();
155
155
 
@@ -198,7 +198,7 @@ async function updateExecuitonDetails(frothUrl, token, id, resultdetails) {
198
198
  }
199
199
 
200
200
 
201
- }
201
+ // }
202
202
  } catch (error) {
203
203
  console.error('Error in updateExecuitonDetails :', error);
204
204
 
@@ -223,14 +223,6 @@ const commonHooks = {
223
223
 
224
224
  console.log('⏱ Final execution time:', resultdetails.excution_time);
225
225
 
226
- resultdetails.excution_status = exitCode === 0 ? 'PASSED' : 'FAILED';
227
-
228
- if (exitCode !== 0) {
229
- resultdetails.comments.push(
230
- `❌ Execution failed with exit code ${exitCode}`
231
- );
232
- }
233
-
234
226
  console.log('📤 Updating DB with final execution details');
235
227
  console.log('Status:', resultdetails.excution_status);
236
228
  console.log('Duration:', resultdetails.excution_time);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "froth-webdriverio-framework",
3
- "version": "6.0.65",
3
+ "version": "6.0.67",
4
4
  "readme": "WendriverIO Integration with [BrowserStack](https://www.browserstack.com)",
5
5
  "description": "Selenium examples for WebdriverIO and BrowserStack App Automate",
6
6
  "scripts": {