froth-webdriverio-framework 4.0.23 → 4.0.25
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.
|
@@ -1,4 +1,6 @@
|
|
|
1
1
|
const path = require('path');
|
|
2
|
+
const url = require('url');
|
|
3
|
+
const fs = require('fs');
|
|
2
4
|
const { LocalStorage } = require('node-localstorage');
|
|
3
5
|
global.BUFFER = new LocalStorage('./storage');
|
|
4
6
|
global.suite_info = null;
|
|
@@ -202,8 +204,10 @@ const commonconfig = {
|
|
|
202
204
|
jwtScript.platform.toLowerCase(),
|
|
203
205
|
scriptresult)
|
|
204
206
|
|
|
205
|
-
if (localError)
|
|
207
|
+
if (localError) {
|
|
208
|
+
console.error("Test Error after all steps done :", localError);
|
|
206
209
|
throw new Error(`Test failed: ${localError}`);
|
|
210
|
+
}
|
|
207
211
|
|
|
208
212
|
},
|
|
209
213
|
/**
|