froth-webdriverio-framework 3.0.27 → 3.0.29
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 -6
- package/package.json +1 -1
package/config/commonconfig.js
CHANGED
|
@@ -26,13 +26,12 @@ const commonconfig = {
|
|
|
26
26
|
},
|
|
27
27
|
|
|
28
28
|
|
|
29
|
-
|
|
30
|
-
console.log('========= This is the
|
|
31
|
-
console.log('========= Test suite is about to start');
|
|
29
|
+
beforeSession: async function (config, capabilities, specs) {
|
|
30
|
+
console.log('========= This is the beforesession hook');
|
|
32
31
|
// Perform any setup or pre-test actions here
|
|
33
|
-
|
|
34
|
-
console.log("
|
|
35
|
-
|
|
32
|
+
// console.log("Capabilities:", capabilities);
|
|
33
|
+
console.log("Specs:", specs.total);
|
|
34
|
+
// console.log("Config:", config);
|
|
36
35
|
},
|
|
37
36
|
/**
|
|
38
37
|
* Gets executed before the suite starts (in Mocha/Jasmine only).
|
|
@@ -140,6 +139,9 @@ const commonconfig = {
|
|
|
140
139
|
afterSession: async function (config, capabilities, specs) {
|
|
141
140
|
console.log('========= This is the aftersession hook');
|
|
142
141
|
// Perform any cleanup or post-test actions here
|
|
142
|
+
console.log("Capabilities:", capabilities);
|
|
143
|
+
console.log("Specs:", specs);
|
|
144
|
+
console.log("Config:", config);
|
|
143
145
|
|
|
144
146
|
endtime = new Date().getTime();
|
|
145
147
|
let totalDuration = endtime - starttime;
|