froth-webdriverio-framework 2.0.41 → 2.0.42

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.
@@ -19,6 +19,8 @@ const androidConfig = deepmerge.all([commonmobileconfig, {
19
19
 
20
20
  capabilities: [{
21
21
  'bstack:options': {
22
+ projectName: process.env.PROJECTNAME || "roboticodigital",
23
+
22
24
  deviceName: process.env.DEVICENAME || 'Samsung Galaxy S23 Ultra',
23
25
  platformVersion: process.env.OSVERSION || '13.0',
24
26
  platformName: 'android',
@@ -20,6 +20,7 @@ const apiconfig = deepmerge.all([commonmobileconfig, {
20
20
  capabilities: [
21
21
  {
22
22
  'bstack:options': {
23
+ projectName: process.env.PROJECTNAME || "roboticodigital",
23
24
 
24
25
  browserName: process.env.BROWSERSTACK_BROWSER || 'chrome', // Choose the browser you want to test
25
26
  browserVersion: process.env.BROWSERSTACK_BROWSER_VERSION || '129', // Specify the browser version
@@ -3,8 +3,13 @@ const commonconfig = require('./commonconfig');
3
3
 
4
4
  const commonmobconfig = deepmerge.all([commonconfig, {
5
5
 
6
- user: process.env.BROWSERSTACK_USERNAME,
7
- key: Buffer.from(process.env.BROWSERSTACK_ACCESS_KEY, 'base64').toString('utf-8'),
6
+ ...(process.env.BROWSERSTACK_USERNAME && { user: process.env.BROWSERSTACK_USERNAME }),
7
+ ...(process.env.BROWSERSTACK_ACCESS_KEY && {
8
+ key: Buffer.from(process.env.BROWSERSTACK_ACCESS_KEY, 'base64').toString('utf-8')
9
+ }),
10
+
11
+ // user: process.env.BROWSERSTACK_USERNAME,
12
+ // key: Buffer.from(process.env.BROWSERSTACK_ACCESS_KEY, 'base64').toString('utf-8'),
8
13
 
9
14
  logLevel: 'info',
10
15
  coloredLogs: true,
@@ -26,15 +31,15 @@ const commonmobconfig = deepmerge.all([commonconfig, {
26
31
  reporters: [
27
32
  'spec'
28
33
  ],
29
- commonCapabilities: {
30
- 'bstack:options': {
31
- projectName: process.env.PROJECTNAME || "roboticodigital",
32
- // buildName: "Automation Build",
33
- sessionName: 'Automation test session',
34
- debug: true,
35
- networkLogs: true
36
- }
37
- },
34
+ // commonCapabilities: {
35
+ // 'bstack:options': {
36
+ // projectName: process.env.PROJECTNAME || "roboticodigital",
37
+ // // buildName: "Automation Build",
38
+ // sessionName: 'Automation test session',
39
+ // debug: true,
40
+ // networkLogs: true
41
+ // }
42
+ // },
38
43
 
39
44
 
40
45
  }]);
@@ -20,6 +20,7 @@ const iosconfig = deepmerge.all([commonmobileconfig, {
20
20
 
21
21
  capabilities: [{
22
22
  'bstack:options': {
23
+ projectName: process.env.PROJECTNAME || "roboticodigital",
23
24
  deviceName: process.env.DEVICENAME || "iPhone 15 Pro Max",
24
25
  osVersion: process.env.OSVERSION || "17",
25
26
  platformName: 'iOS',
@@ -20,6 +20,7 @@ const webbsconfig = deepmerge.all([commonmobileconfig, {
20
20
  capabilities: [
21
21
  {
22
22
  'bstack:options': {
23
+ projectName: process.env.PROJECTNAME || "roboticodigital",
23
24
 
24
25
  browserName: process.env.BROWSERSTACK_BROWSER || 'chrome', // Choose the browser you want to test
25
26
  browserVersion: process.env.BROWSERSTACK_BROWSER_VERSION || '129', // Specify the browser version
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "froth-webdriverio-framework",
3
- "version": "2.0.41",
3
+ "version": "2.0.42",
4
4
  "readme": "WebdriverIO Integration",
5
5
  "description": "WebdriverIO and BrowserStack App Automate",
6
6
  "license": "MIT",