froth-webdriverio-framework 4.0.3 → 4.0.5
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.
|
@@ -59,7 +59,7 @@ async function getExecuitonDetails(frothUrl, token, id) {
|
|
|
59
59
|
|
|
60
60
|
async function getExecuitonScriptDetails(frothUrl, token, execution_id, script_id, script_platform) {
|
|
61
61
|
let id;
|
|
62
|
-
console.log("script id is :" + script_id+" script platform is :"+script_platform+" execution id is :"+execution_id+" token is :"+token)
|
|
62
|
+
console.log("script id is :" + script_id + " script platform is :" + script_platform + " execution id is :" + execution_id + " token is :" + token)
|
|
63
63
|
const url = `${frothUrl}/api/execution-script-mapping/?execution_id=${execution_id}&automation_script_id=${script_id}&platform=${script_platform}`;
|
|
64
64
|
|
|
65
65
|
try {
|
|
@@ -119,7 +119,9 @@ async function updateExecuitonDetails(frothUrl, token, id, resultdetails) {
|
|
|
119
119
|
formData.append('excution_time', resultdetails.excution_time);
|
|
120
120
|
}
|
|
121
121
|
formData.append('id', BUFFER.getItem("FROTH_EXECUTION_ID"))
|
|
122
|
-
|
|
122
|
+
if (BUFFER.getItem("REPORT_URL") != null)
|
|
123
|
+
formData.append('report_url', BUFFER.getItem("REPORT_URL"))
|
|
124
|
+
|
|
123
125
|
formData.append('updated_through_bot', true)
|
|
124
126
|
formData.append('run_id', process.env.CICD_RUN_ID)
|
|
125
127
|
if (resultdetails.comments != null)
|