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