froth-webdriverio-framework 6.0.23 → 6.0.25

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.
@@ -24,7 +24,7 @@ let capabilities;
24
24
  try {
25
25
  capabilities = yaml.load(fs.readFileSync(path.join(path.resolve(process.cwd(), configFile)), 'utf8'));
26
26
  // Merge chrome-specific options if applicable
27
-
27
+
28
28
  } catch (e) {
29
29
  const errorMsg = `The capability file does not exist in the currently configured repository at path: ${path.resolve(process.cwd(), configFile)}: ${e.message},Please update the Capability by editing the file`;
30
30
  console.error(errorMsg);
@@ -101,8 +101,8 @@ const specificConfig = setupPrerequisites();
101
101
  exports.config = deepmerge(commonconfig,
102
102
 
103
103
  {
104
- user: process.env.BROWSERSTACK_USERNAME,
105
- key: process.env.BROWSERSTACK_ACCESS_KEY,
104
+ user: 'naveen_OSt3Pw',//process.env.BROWSERSTACK_USERNAME,
105
+ key: 'B9Rx28MTKFzRJ2QEVK1c',//process.env.BROWSERSTACK_ACCESS_KEY,
106
106
  // debug: true,
107
107
  // execArgv: ['--inspect-brk'],
108
108
  services: PLATFORM === 'browserstack'
@@ -115,8 +115,41 @@ exports.config = deepmerge(commonconfig,
115
115
  specs: require(SUITE_FILE).tests,
116
116
 
117
117
  maxInstances: 1,
118
- capabilities: [capabilities],
118
+ // capabilities: [capabilities],
119
+ capabilities: [{
120
+ platformName: "android",
121
+
122
+ // ❗ automationName MUST be present for Appium/W3C
123
+ "appium:automationName": "UIAutomator2",
124
+
125
+ // ❗ App path stays under Appium namespace
126
+ "appium:app": "bs://30fdf3a163d0bad126f64a3d5713e9ab0086a41e",
127
+
128
+ // Vendor capabilities must go inside bstack:options
129
+ "bstack:options": {
130
+ userName: "naveen_OSt3Pw",
131
+ accessKey: "B9Rx28MTKFzRJ2QEVK1c",
132
+
133
+ deviceName: "Samsung Galaxy S22 Ultra",
134
+ platformVersion: "12.0",
135
+
136
+ buildName: "yesshop_319_20251208",
137
+ buildIdentifier: "${BUILD_NUMBER}",
138
+
139
+ projectName: "Yesshop Automation",
140
+ sessionName: "Prepaid Reload",
141
+
142
+ debug: true,
143
+ networkLogs: true,
144
+
145
+ // ❗ This must be inside bstack:options
146
+ browserstackLocal: false,
119
147
 
148
+ // Extra flags (optional)
149
+ interactiveDebugging: true,
150
+ deviceOrientation: "portrait"
151
+ }
152
+ }],
120
153
  logLevel: 'info',
121
154
  coloredLogs: true,
122
155
  screenshotPath: './errorShots/',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "froth-webdriverio-framework",
3
- "version": "6.0.23",
3
+ "version": "6.0.25",
4
4
  "readme": "WebdriverIO Integration",
5
5
  "description": "WebdriverIO and BrowserStack App Automate",
6
6
  "license": "MIT",