froth-webdriverio-framework 3.0.27 → 3.0.28

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.
@@ -26,13 +26,12 @@ const commonconfig = {
26
26
  },
27
27
 
28
28
 
29
- before: async function (capabilities, specs) {
30
- console.log('========= This is the before hook');
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
- console.log("========= spec file name:" + specs);
34
- console.log("========= spec file name:" + specs[0]);
35
- console.log("========= spec count:" + specs.length);
32
+ console.log("Capabilities:", capabilities);
33
+ console.log("Specs:", specs);
34
+ console.log("Config:", config);
36
35
  },
37
36
  /**
38
37
  * Gets executed before the suite starts (in Mocha/Jasmine only).
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "froth-webdriverio-framework",
3
- "version": "3.0.27",
3
+ "version": "3.0.28",
4
4
  "readme": "WebdriverIO Integration",
5
5
  "description": "WebdriverIO and BrowserStack App Automate",
6
6
  "license": "MIT",