froth-webdriverio-framework 3.0.31 → 3.0.32
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.
- package/config/commonconfig.js +8 -11
- package/package.json +1 -1
package/config/commonconfig.js
CHANGED
|
@@ -26,18 +26,15 @@ const commonconfig = {
|
|
|
26
26
|
},
|
|
27
27
|
|
|
28
28
|
|
|
29
|
-
beforeSession: async function (config, capabilities,
|
|
30
|
-
|
|
31
|
-
) {
|
|
29
|
+
beforeSession: async function (config, capabilities,specs ) {
|
|
32
30
|
console.log('========= This is the beforesession hook');
|
|
33
31
|
// Perform any setup or pre-test actions here
|
|
34
|
-
|
|
35
|
-
console.log("Specs:", specs);
|
|
36
|
-
const specsdata = specs
|
|
37
|
-
console.log("====== specdata is ", specsdata)
|
|
38
|
-
console.log("====== length of specs", specsdata.length)
|
|
32
|
+
// console.log("Capabilities:", capabilities);
|
|
39
33
|
console.log("Specs:", specs.length);
|
|
40
|
-
|
|
34
|
+
const specdat=specs
|
|
35
|
+
console.log("specdat:", specdat);
|
|
36
|
+
console.log("length:", specdat.length);
|
|
37
|
+
// console.log("Config:", config);
|
|
41
38
|
},
|
|
42
39
|
/**
|
|
43
40
|
* Gets executed before the suite starts (in Mocha/Jasmine only).
|
|
@@ -147,7 +144,7 @@ const commonconfig = {
|
|
|
147
144
|
// Perform any cleanup or post-test actions here
|
|
148
145
|
console.log("Capabilities:", capabilities);
|
|
149
146
|
console.log("Specs:", specs);
|
|
150
|
-
const
|
|
147
|
+
const specs=specs
|
|
151
148
|
console.log("Config:", config);
|
|
152
149
|
|
|
153
150
|
endtime = new Date().getTime();
|
|
@@ -170,7 +167,7 @@ const commonconfig = {
|
|
|
170
167
|
},
|
|
171
168
|
|
|
172
169
|
onComplete: async function (exitCode, config, capabilities, results) {
|
|
173
|
-
|
|
170
|
+
|
|
174
171
|
console.log('========= This is the onComplete hook', results);
|
|
175
172
|
|
|
176
173
|
console.log('--- Test Results Summary ---');
|