froth-webdriverio-framework 4.0.40 → 4.0.41
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.
|
@@ -86,10 +86,6 @@ async function getExecuitonScriptDetails(frothUrl, token, execution_id, script_i
|
|
|
86
86
|
} else if (response.status === 401) { // Unauthorized, token expired
|
|
87
87
|
console.log("Unauthorized, token expired" + response.status)
|
|
88
88
|
|
|
89
|
-
// Call login function to obtain a new token
|
|
90
|
-
// const newToken = await getLoginToken(BUFFER.getItem("SERVICE_USER"), BUFFER.getItem("SERVICE_PASSWORD")); // You need to implement the login function
|
|
91
|
-
// Retry the request with the new token
|
|
92
|
-
// return getExecuitonScriptDetails(frothUrl, newToken, execution_id, script_id);
|
|
93
89
|
} else {
|
|
94
90
|
const errorText = await response.text();
|
|
95
91
|
console.error(`Data fetch failed response in getExecuitonScriptDetails: ${response.status}`);
|