froth-webdriverio-framework 0.1.8 → 0.1.10
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.
|
@@ -1,10 +1,8 @@
|
|
|
1
1
|
const deepmerge = require('deepmerge')
|
|
2
2
|
const commonconfig = require('./commonconfig');
|
|
3
3
|
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
const commonmobconfig = deepmerge.all([commonconfig, deepmerge,{
|
|
7
|
-
user: process.env.BROWSERSTACK_USERNAME || 'naveen_OSt3Pw',
|
|
4
|
+
const commonmobconfig = deepmerge.all([commonconfig,{
|
|
5
|
+
user: process.env.BROWSERSTACK_USERNAME || 'naveen_OSt3Pw1',
|
|
8
6
|
key: process.env.BROWSERSTACK_ACCESS_KEY || 'AuzPy8cHZ7sCBmMXakKe',
|
|
9
7
|
|
|
10
8
|
exclude: [],
|
|
@@ -37,7 +35,7 @@ const commonmobconfig = deepmerge.all([commonconfig, deepmerge,{
|
|
|
37
35
|
],
|
|
38
36
|
commonCapabilities: {
|
|
39
37
|
'bstack:options': {
|
|
40
|
-
projectName: "
|
|
38
|
+
projectName: process.env.PROJECTNAME || "roboticodigital",
|
|
41
39
|
buildName: 'Build',
|
|
42
40
|
sessionName: 'Automation test session',
|
|
43
41
|
debug: true,
|
package/config/ios.conf.js
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
// This is the configuration file for iOS devices
|
|
2
|
+
const deepmerge = require('deepmerge')
|
|
2
3
|
const commonmobileconfig = require('./common.mobile.conf');
|
|
3
4
|
|
|
4
5
|
const iosconfig = deepmerge.all([commonmobileconfig, {
|
|
@@ -17,7 +18,7 @@ const commonmobileconfig = require('./common.mobile.conf');
|
|
|
17
18
|
|
|
18
19
|
capabilities: [{
|
|
19
20
|
'bstack:options': {
|
|
20
|
-
deviceName: process.env.DEVICENAME || "iPhone 15 Pro
|
|
21
|
+
deviceName: process.env.DEVICENAME || "iPhone 15 Pro Max1",
|
|
21
22
|
osVersion: process.env.OSVERSION || "17",
|
|
22
23
|
interactiveDebugging: true
|
|
23
24
|
}
|
|
@@ -25,6 +26,10 @@ const commonmobileconfig = require('./common.mobile.conf');
|
|
|
25
26
|
|
|
26
27
|
}]);
|
|
27
28
|
|
|
28
|
-
console.log("iosconfig-->", iosconfig);
|
|
29
29
|
module.exports = iosconfig;
|
|
30
30
|
|
|
31
|
+
exports.capabilities.forEach(function (caps) {
|
|
32
|
+
for(let key in exports.commonCapabilities)
|
|
33
|
+
caps[key] = { ...caps[key], ...exports.commonCapabilities[key] };
|
|
34
|
+
|
|
35
|
+
});
|