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.
@@ -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
- console.log("Capabilities:", capabilities);
33
- console.log("Specs:", specs);
34
- console.log("Config:", config);
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;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "froth-webdriverio-framework",
3
- "version": "3.0.28",
3
+ "version": "3.0.29",
4
4
  "readme": "WebdriverIO Integration",
5
5
  "description": "WebdriverIO and BrowserStack App Automate",
6
6
  "license": "MIT",