froth-webdriverio-framework 3.0.108 → 3.0.110

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.
@@ -54,7 +54,7 @@ function main() {
54
54
  iat: currentTimestamp, // Issued at
55
55
  exp: currentTimestamp + 200, // Expiry time: 30 seconds from issuance
56
56
  user_agent: {
57
- id: "janga.reddy@ytl.com"
57
+ id: "kartikaypriya.p@ytlcomms.my"
58
58
  }
59
59
  };
60
60
 
@@ -44,9 +44,12 @@ const commonconfig = {
44
44
 
45
45
  if (process.env.PLATFORM === 'browserstack') {
46
46
  /// console.log("capabilities:", capabilities);
47
- // capabilities.accessKey = Buffer.from(capabilities.accessKey, 'base64').toString('utf-8');
48
- capabilities.app = process.env.BROWSERSTACK_APP_PATH;
49
47
  capabilities.browserstackLocal = process.env.BROWSERSTACK_LOCAL;
48
+ // capabilities.accessKey = Buffer.from(capabilities.accessKey, 'base64').toString('utf-8');
49
+ if (capabilities.platformName === 'android' || capabilities.platformName === 'ios')
50
+ capabilities.app = process.env.BROWSERSTACK_APP_PATH;
51
+
52
+
50
53
  if (process.env.MEDIA_FILES) {
51
54
  console.log("Media Files:", JSON.parse(process.env.MEDIA_FILES));
52
55
  console.log("Size of Media Files:", process.env.MEDIA_FILES.length);
@@ -4,7 +4,6 @@ const exeDetails = require("../froth_api_calls/getexecutionDetails")
4
4
  const getSuiteDetails = require("../froth_api_calls/getsuiteDetails");
5
5
  const getDataById = require("../froth_api_calls/readTestdata");
6
6
 
7
-
8
7
  async function generateBuildNumber() {
9
8
  try {
10
9
  const now = new Date();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "froth-webdriverio-framework",
3
- "version": "3.0.108",
3
+ "version": "3.0.110",
4
4
  "readme": "WebdriverIO Integration",
5
5
  "description": "WebdriverIO and BrowserStack App Automate",
6
6
  "license": "MIT",