froth-webdriverio-framework 4.0.14 → 4.0.15

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.
@@ -49,7 +49,7 @@ async function assertAttributeValue(elementSelector, attributeName, expectedText
49
49
  await amendToBrowserstack(annotationMessage, "info");
50
50
  } catch (error) {
51
51
  console.warn("Assertion failed:", error.message);
52
- let annotationMessage = `Assertion failed. Expected text: ,${expectedText}. ,${error.message}`;
52
+ let annotationMessage = `Assertion failed. Expected text: ${expectedText}. ,${error.message}`;
53
53
  browser.testError = annotationMessage
54
54
  await amendToBrowserstack(annotationMessage, "error");
55
55
  }
@@ -141,6 +141,7 @@ const commonconfig = {
141
141
  let scriptresult = "NOT RUN";
142
142
 
143
143
  if (browser.testError) {
144
+ console.error("Test Error:", browser.testError);
144
145
  const err = browser.testError;
145
146
  resultdetails.comments.push(`${test.title} - failed: ${err}`);
146
147
  browser.testError = null; // clear it
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "froth-webdriverio-framework",
3
- "version": "4.0.14",
3
+ "version": "4.0.15",
4
4
 
5
5
  "readme": "WebdriverIO Integration",
6
6
  "description": "WebdriverIO and BrowserStack App Automate",