froth-webdriverio-framework 3.0.31 → 3.0.33
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 +7 -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,6 @@ 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 specsdata = specs
|
|
151
147
|
console.log("Config:", config);
|
|
152
148
|
|
|
153
149
|
endtime = new Date().getTime();
|
|
@@ -170,7 +166,7 @@ const commonconfig = {
|
|
|
170
166
|
},
|
|
171
167
|
|
|
172
168
|
onComplete: async function (exitCode, config, capabilities, results) {
|
|
173
|
-
|
|
169
|
+
|
|
174
170
|
console.log('========= This is the onComplete hook', results);
|
|
175
171
|
|
|
176
172
|
console.log('--- Test Results Summary ---');
|