froth-webdriverio-framework 3.0.144 → 3.0.145
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.
|
@@ -28,8 +28,8 @@ const commonconfig = {
|
|
|
28
28
|
await setAllDetails.setExecutionDetails();
|
|
29
29
|
|
|
30
30
|
// await setAllDetails.setIntegrationsDetails();
|
|
31
|
-
|
|
32
|
-
console.log("First Log - suite_info:", JSON.stringify(
|
|
31
|
+
await setAllDetails.setSuiteDetails();
|
|
32
|
+
console.log("First Log - suite_info:", JSON.stringify(process.env.FROTHSSCRIPT_DETAILS));
|
|
33
33
|
console.log("Type:", typeof suite_info); // Check if it's object, undefined, or something else
|
|
34
34
|
await setAllDetails.setTestDataDetails();
|
|
35
35
|
console.log("on prepare:", JSON.stringify(capabilities))
|
|
@@ -46,7 +46,7 @@ const commonconfig = {
|
|
|
46
46
|
try {
|
|
47
47
|
console.log('==== BEFORE SESSION HOOK ====');
|
|
48
48
|
// Perform any setup or pre-test actions here
|
|
49
|
-
console.log("DEBUG: Checking global.suite_info in beforeSession", JSON.stringify(
|
|
49
|
+
console.log("DEBUG: Checking global.suite_info in beforeSession", JSON.stringify(process.env.FROTHSSCRIPT_DETAILS));
|
|
50
50
|
|
|
51
51
|
console.log("specdat:", specs);
|
|
52
52
|
console.log("length:", specs.length);
|
|
@@ -77,7 +77,9 @@ async function setSuiteDetails() {
|
|
|
77
77
|
try {
|
|
78
78
|
const getSuiteDetail = await getSuiteDetails(BUFFER.getItem("ORGANISATION_DOMAIN_URL"), BUFFER.getItem("FROTH_LOGIN_TOKEN"), process.env.AUTOMATION_SUITE_ID);
|
|
79
79
|
// process.env.BROWSERSTACK_APP_PATH = getSuiteDetail.browser_stack_urls;
|
|
80
|
-
|
|
80
|
+
process.env.FROTHSSCRIPT_DETAILS=getSuiteDetail.script_details;
|
|
81
|
+
console.log("Suite Details:", JSON.stringify(FROTHSSCRIPT_DETAILS));
|
|
82
|
+
|
|
81
83
|
process.env.TESTDATA_ID = getSuiteDetail.test_data_id;
|
|
82
84
|
return getSuiteDetail;
|
|
83
85
|
|