froth-webdriverio-framework 6.0.69 → 6.0.70
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.
|
@@ -216,13 +216,13 @@ const commonHooks = {
|
|
|
216
216
|
},
|
|
217
217
|
|
|
218
218
|
/* ==== AFTER SESSION ==== */
|
|
219
|
-
afterSession: async (config, capabilities, specs) => {
|
|
219
|
+
afterSession: async (config, capabilities, specs,exitCode) => {
|
|
220
220
|
console.log('==== AFTER SESSION ====');
|
|
221
221
|
const endTime = Date.now();
|
|
222
222
|
if (!suiteStartTime) suiteStartTime = endTime;
|
|
223
223
|
|
|
224
224
|
const totalTime = Math.max(endTime - suiteStartTime, totalTestDuration);
|
|
225
|
-
|
|
225
|
+
// resultdetails.excution_status = exitCode === 0 ? 'PASSED' : 'FAILED';
|
|
226
226
|
resultdetails.excution_time = msToTime(totalTime);
|
|
227
227
|
|
|
228
228
|
console.log('⏱ Final execution time:', resultdetails.excution_time);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "froth-webdriverio-framework",
|
|
3
|
-
"version": "6.0.
|
|
3
|
+
"version": "6.0.70",
|
|
4
4
|
"readme": "WendriverIO Integration with [BrowserStack](https://www.browserstack.com)",
|
|
5
5
|
"description": "Selenium examples for WebdriverIO and BrowserStack App Automate",
|
|
6
6
|
"scripts": {
|