froth-webdriverio-framework 1.0.44 → 1.0.45

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.
@@ -33,10 +33,6 @@ const commonconfig = {
33
33
  console.log("Running suite:", suite.title);
34
34
  console.log("Reading test data from the API");
35
35
 
36
- getBSSessionDetails( process.env.BS_SESSION_TYPE, process.env.BROWSERSTACK_USERNAME, Buffer.from(process.env.BROWSERSTACK_ACCESS_KEY, 'base64').toString('utf-8'));
37
- const resultdetails = {};
38
- exeDetails.updateExecuitonDetails(BUFFER.getItem("ORGANISATION_DOMAIN_URL"), BUFFER.getItem("LOGIN_TOKEN"), BUFFER.getItem("EXECUTION_ID"), resultdetails)
39
-
40
36
  } catch (e) {
41
37
  console.log("Error in beforeSuite:", e);
42
38
  }
@@ -50,6 +46,11 @@ const commonconfig = {
50
46
  beforeTest: function (test, context) {
51
47
  console.log("Test Name:", test.title);
52
48
  console.log("File Name:", test.file);
49
+
50
+ getBSSessionDetails( process.env.BS_SESSION_TYPE, process.env.BROWSERSTACK_USERNAME, Buffer.from(process.env.BROWSERSTACK_ACCESS_KEY, 'base64').toString('utf-8'));
51
+ const resultdetails = {};
52
+ exeDetails.updateExecuitonDetails(BUFFER.getItem("ORGANISATION_DOMAIN_URL"), BUFFER.getItem("LOGIN_TOKEN"), BUFFER.getItem("EXECUTION_ID"), resultdetails)
53
+
53
54
 
54
55
  },
55
56
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "froth-webdriverio-framework",
3
- "version": "1.0.44",
3
+ "version": "1.0.45",
4
4
  "readme": "WebdriverIO Integration",
5
5
  "description": "WebdriverIO and BrowserStack App Automate",
6
6
  "license": "MIT",