froth-webdriverio-framework 3.0.97 → 3.0.99
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.
|
@@ -43,6 +43,7 @@ const commonconfig = {
|
|
|
43
43
|
|
|
44
44
|
if (process.env.PLATFORM === 'browserstack') {
|
|
45
45
|
/// console.log("capabilities:", capabilities);
|
|
46
|
+
capabilities.accessKey = Buffer.from(capabilities.accessKey, 'base64').toString('utf-8');
|
|
46
47
|
capabilities.app = process.env.BROWSERSTACK_APP_PATH;
|
|
47
48
|
capabilities.browserstackLocal = process.env.BROWSERSTACK_LOCAL;
|
|
48
49
|
if (process.env.MEDIA_FILES)
|
|
@@ -67,6 +67,8 @@ async function setExecutionDetails() {
|
|
|
67
67
|
BUFFER.setItem("BROWSERSTACK_LOCAL", getExeDetails.browser_stack_local);
|
|
68
68
|
BUFFER.setItem("BROWSERSTACK_APP_PATH", getExeDetails.app_url);
|
|
69
69
|
BUFFER.setItem("MEDIA_FILES", getExeDetails.mediaurls);
|
|
70
|
+
console.log("Execution Details:", JSON.stringify(getExeDetails));
|
|
71
|
+
console.log("Execution Details:", JSON.stringify(BUFFER));
|
|
70
72
|
|
|
71
73
|
} catch (error) {
|
|
72
74
|
// console.error('Error in main function:', error);
|
|
@@ -11,6 +11,7 @@ console.log('PLATFORM:', PLATFORM);
|
|
|
11
11
|
// Load YAML file
|
|
12
12
|
const capabilities = yaml.load(fs.readFileSync(path.join(path.resolve(process.cwd(),configFile)), 'utf8'));
|
|
13
13
|
console.log('capabilities:', capabilities);
|
|
14
|
+
|
|
14
15
|
const SUITE_FILE = path.resolve(process.cwd(), process.env.SUITE);
|
|
15
16
|
|
|
16
17
|
console.log('SUITE_FILE:', SUITE_FILE);
|
|
@@ -31,7 +32,7 @@ exports.config = deepmerge(commonconfig,
|
|
|
31
32
|
|
|
32
33
|
{
|
|
33
34
|
user: capabilities.userName,
|
|
34
|
-
key:
|
|
35
|
+
key: capabilities.accessKey,
|
|
35
36
|
// debug: true,
|
|
36
37
|
// execArgv: ['--inspect-brk'],
|
|
37
38
|
services: PLATFORM === 'browserstack'
|