froth-webdriverio-framework 2.0.48 → 2.0.49
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 +2 -2
- package/package.json +1 -1
package/config/commonconfig.js
CHANGED
|
@@ -4,7 +4,6 @@ global.BUFFER = new LocalStorage('./storage');
|
|
|
4
4
|
const path = require('path');
|
|
5
5
|
const exeDetails = require("../api/getexecutionDetails")
|
|
6
6
|
const getBSSessionDetails = require("../api/browsersatckSessionInfo");
|
|
7
|
-
const { time } = require("console");
|
|
8
7
|
const isBrowserStackEnabled = process.env.BROWSERSTACK;
|
|
9
8
|
let starttime;
|
|
10
9
|
let endtime;
|
|
@@ -15,7 +14,6 @@ const commonconfig = {
|
|
|
15
14
|
|
|
16
15
|
onPrepare: async function (capabilities, specs) {
|
|
17
16
|
// This code runs before the test suite starts
|
|
18
|
-
starttime = new Date().getTime();
|
|
19
17
|
await setAllDetails.setEnvVariables();
|
|
20
18
|
await setAllDetails.setLoginToken();
|
|
21
19
|
await setAllDetails.setExecutionDetails();
|
|
@@ -34,6 +32,8 @@ const commonconfig = {
|
|
|
34
32
|
beforeSuite: async function (suite) {
|
|
35
33
|
try {
|
|
36
34
|
console.log("Running suite:", suite.title);
|
|
35
|
+
starttime = new Date().getTime();
|
|
36
|
+
|
|
37
37
|
// const sessionId = browser.sessionId;
|
|
38
38
|
// BUFFER.setItem("SESSION_ID", sessionId)
|
|
39
39
|
if (isBrowserStackEnabled) {
|