froth-webdriverio-framework 0.1.9 → 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
- console.log("common confg details--->" + commonconfig);
5
-
6
4
  const commonmobconfig = deepmerge.all([commonconfig,{
7
- user: process.env.BROWSERSTACK_USERNAME || 'naveen_OSt3Pw',
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,{
37
35
  ],
38
36
  commonCapabilities: {
39
37
  'bstack:options': {
40
- projectName: "YTL",
38
+ projectName: process.env.PROJECTNAME || "roboticodigital",
41
39
  buildName: 'Build',
42
40
  sessionName: 'Automation test session',
43
41
  debug: true,
@@ -18,7 +18,7 @@ const commonmobileconfig = require('./common.mobile.conf');
18
18
 
19
19
  capabilities: [{
20
20
  'bstack:options': {
21
- deviceName: process.env.DEVICENAME || "iPhone 15 Pro Max",
21
+ deviceName: process.env.DEVICENAME || "iPhone 15 Pro Max1",
22
22
  osVersion: process.env.OSVERSION || "17",
23
23
  interactiveDebugging: true
24
24
  }
@@ -26,6 +26,10 @@ const commonmobileconfig = require('./common.mobile.conf');
26
26
 
27
27
  }]);
28
28
 
29
- console.log("iosconfig-->", iosconfig);
30
29
  module.exports = iosconfig;
31
30
 
31
+ exports.capabilities.forEach(function (caps) {
32
+ for(let key in exports.commonCapabilities)
33
+ caps[key] = { ...caps[key], ...exports.commonCapabilities[key] };
34
+
35
+ });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "froth-webdriverio-framework",
3
- "version": "0.1.9",
3
+ "version": "0.1.10",
4
4
  "readme": "WendriverIO Integration with [BrowserStack]",
5
5
  "description": "WebdriverIO and BrowserStack App Automate",
6
6
  "license": "MIT",