froth-webdriverio-framework 3.0.156 → 3.0.157

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,9 +146,10 @@ const commonconfig = {
146
146
  }
147
147
  if (error) {
148
148
  console.error(`========= Error occured while executing the test: ${error.message}`);
149
- resultdetails.comments.push(`${test.title} - error occured: ${error.message}`);
149
+ if (!resultdetails.comments.some(comment => typeof comment === 'string' && comment.includes(test.title)))
150
+ resultdetails.comments.push(`${test.title} - error occured: ${error.message}`);
150
151
 
151
- // scriptresult = "FAILED"
152
+ scriptresult = "FAILED"
152
153
  }
153
154
  let scriptDetails = BUFFER.getItem("FROTHE_SUITE_DETAILS");
154
155
  if (typeof scriptDetails === "string") {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "froth-webdriverio-framework",
3
- "version": "3.0.156",
3
+ "version": "3.0.157",
4
4
 
5
5
  "readme": "WebdriverIO Integration",
6
6
  "description": "WebdriverIO and BrowserStack App Automate",