froth-webdriverio-framework 3.0.121 → 3.0.123

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.
@@ -31,7 +31,7 @@ async function callapi(methodtype, api_url, queryParams, payloaddetails, body_ty
31
31
 
32
32
  // console.log("options:", JSON.stringify(options, null, 2));
33
33
  // Send the request
34
- const response = await fetch(api_url, {method,headers, body});
34
+ response = await fetch(api_url, {method,headers, body});
35
35
 
36
36
  console.log("Response Data:", response);
37
37
 
@@ -141,8 +141,8 @@ async function validateAttributeData(attribute_name, attribute, buffer, bufferna
141
141
 
142
142
  } catch (e) {
143
143
  console.error('Error in validateAttributeData:', e);
144
- console.log(`Attribute name : ${attribute_name} verification failed. Expected text: ${valueToVerify}. error: ${e.message}`);
145
- let annotationMessage = `Attribute name : ${attribute_name} - verification failed. Expected text: ${valueToVerify}. error: ${e.message}`;
144
+ console.log(`Attribute name : ${attribute_name} verification failed. Expected text: ${valueToVerify}. error: ${e.toString()}`);
145
+ let annotationMessage = `Attribute name : ${attribute_name} - verification failed. Expected text: ${valueToVerify}. error: ${e.toString()}`;
146
146
  await amendToBrowserstack(annotationMessage, "error");
147
147
 
148
148
  throw e;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "froth-webdriverio-framework",
3
- "version": "3.0.121",
3
+ "version": "3.0.123",
4
4
 
5
5
  "readme": "WebdriverIO Integration",
6
6
  "description": "WebdriverIO and BrowserStack App Automate",