froth-webdriverio-framework 7.0.44 → 7.0.46
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.
|
@@ -41,12 +41,12 @@ async function getSuiteDetails(frothUrl, token, suiteId) {
|
|
|
41
41
|
|
|
42
42
|
// // Parse JSON
|
|
43
43
|
// let data;
|
|
44
|
-
try {
|
|
45
|
-
|
|
46
|
-
} catch (parseError) {
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
}
|
|
44
|
+
// try {
|
|
45
|
+
// data = JSON.parse(decryptedData);
|
|
46
|
+
// } catch (parseError) {
|
|
47
|
+
// console.error('Failed to parse decrypted data:', parseError);
|
|
48
|
+
// return jsonData;
|
|
49
|
+
// }
|
|
50
50
|
|
|
51
51
|
// Map data to default structure
|
|
52
52
|
jsonData = {
|
|
@@ -181,7 +181,7 @@ const commonHooks = {
|
|
|
181
181
|
console.log('Total items:', media.length);
|
|
182
182
|
if (media.length > 0) {
|
|
183
183
|
bsOpts.uploadMedia = JSON.parse(process.env.MEDIA_FILES)
|
|
184
|
-
|
|
184
|
+
// bsOpts['browserstack.uploadMedia'] = JSON.parse(process.env.MEDIA_FILES);
|
|
185
185
|
}
|
|
186
186
|
} catch {
|
|
187
187
|
console.warn('⚠️ MEDIA_FILES is not valid JSON');
|