froth-webdriverio-framework 7.0.98 → 7.0.99

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.
@@ -173,7 +173,7 @@ const commonHooks = {
173
173
  script = suiteDetails.find(s => s.scriptName === filePath.replace('.js', ''));
174
174
  console.log("Script Details:", script);
175
175
 
176
-
176
+
177
177
  } catch (err) {
178
178
  const { line, column } = await extractLineColumn(err);
179
179
 
@@ -186,15 +186,17 @@ const commonHooks = {
186
186
  }
187
187
 
188
188
  if (syntaxFailed) {
189
- await failExecution('Syntax validation failed');
189
+
190
190
  await exeDetails.updateScriptExecutionStatus(
191
- BUFFER.getItem('ORGANISATION_DOMAIN_URL'),
192
- BUFFER.getItem('FROTH_LOGIN_TOKEN'),
193
- script.scriptId,
194
- script.platform.toLowerCase(),
195
- "FAILED"
196
- );
191
+ BUFFER.getItem('ORGANISATION_DOMAIN_URL'),
192
+ BUFFER.getItem('FROTH_LOGIN_TOKEN'),
193
+ script.scriptId,
194
+ script.platform.toLowerCase(),
195
+ "FAILED"
196
+ );
197
+ await failExecution('Syntax validation failed');
197
198
  }
199
+
198
200
  /** 2️⃣ BrowserStack capability normalization */
199
201
 
200
202
  if (process.env.PLATFORM === 'browserstack' || process.env.PLATFORM === 'browserstacklocal') {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "froth-webdriverio-framework",
3
- "version": "7.0.98",
3
+ "version": "7.0.99",
4
4
  "readme": "WebdriverIO Integration",
5
5
  "description": "WebdriverIO and BrowserStack App Automate",
6
6
  "license": "MIT",