froth-webdriverio-framework 3.0.46 → 3.0.48

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.
@@ -95,7 +95,6 @@ async function validate(attribute, actionname, buffer, value, datatype) {
95
95
  expect(attribute).toBe(valueToVerify, `Expected value: ${valueToVerify}, but got: ${attribute}`);
96
96
  assertionStatus = true; // If assertion passes, set status to true
97
97
  console.log("Verification succeeded.");
98
- actualText = await element.getText();
99
98
  let annotationMessage = `Verification passed. Actual text: ${attribute}, Expected text: ${valueToVerify}.`;
100
99
  await amendToBrowserstack(annotationMessage, "info");
101
100
 
@@ -106,8 +105,8 @@ async function validate(attribute, actionname, buffer, value, datatype) {
106
105
  }
107
106
  } catch (e) {
108
107
  console.error('Error in validate:', e);
109
- console.log(`Validation failed. Expected text: ,${valueToVerify}.`);
110
- let annotationMessage = `Verification failed. Expected text: ,${valueToVerify}.`;
108
+ console.log(`Validation failed. Expected text: ${valueToVerify}.`);
109
+ let annotationMessage = `Verification failed. Expected text: ${valueToVerify}.`;
111
110
  await amendToBrowserstack(annotationMessage, "error");
112
111
  }
113
112
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "froth-webdriverio-framework",
3
- "version": "3.0.46",
3
+ "version": "3.0.48",
4
4
  "readme": "WebdriverIO Integration",
5
5
  "description": "WebdriverIO and BrowserStack App Automate",
6
6
  "license": "MIT",