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
|
-
|
|
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.
|
|
145
|
-
let annotationMessage = `Attribute name : ${attribute_name} - verification failed. Expected text: ${valueToVerify}. error: ${e.
|
|
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;
|