froth-webdriverio-framework 0.1.7 → 0.1.9

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.
@@ -3,10 +3,7 @@ const commonconfig = require('./commonconfig');
3
3
 
4
4
  console.log("common confg details--->" + commonconfig);
5
5
 
6
- const commonmobconfig = deepmerge.all([commonconfig, {
7
- // user: process.env.BROWSERSTACK_USERNAME || 'subhrasubudhi_uf8nhj',
8
- // key: process.env.BROWSERSTACK_ACCESS_KEY || 'DUGGqze7p9QMZb84y66s',
9
-
6
+ const commonmobconfig = deepmerge.all([commonconfig,{
10
7
  user: process.env.BROWSERSTACK_USERNAME || 'naveen_OSt3Pw',
11
8
  key: process.env.BROWSERSTACK_ACCESS_KEY || 'AuzPy8cHZ7sCBmMXakKe',
12
9
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "froth-webdriverio-framework",
3
- "version": "0.1.7",
3
+ "version": "0.1.9",
4
4
  "readme": "WendriverIO Integration with [BrowserStack]",
5
5
  "description": "WebdriverIO and BrowserStack App Automate",
6
6
  "license": "MIT",
package/android.conf.js DELETED
@@ -1,95 +0,0 @@
1
- exports.config = {
2
-
3
- user: process.env.BROWSERSTACK_USERNAME || 'subhrasubudhi_uf8nhj',
4
- key: process.env.BROWSERSTACK_ACCESS_KEY || 'DUGGqze7p9QMZb84y66s',
5
-
6
- hostname: 'hub.browserstack.com',
7
-
8
- services: [
9
- [
10
- 'browserstack',
11
- {
12
- buildIdentifier: '${BUILD_NUMBER}',
13
- browserstackLocal: true,
14
- opts: { forcelocal: false, localIdentifier: "webdriverio-appium-app-browserstack-repo" },
15
- // app: process.env.BROWSERSTACK_APP_PATH || '/Users/subhrasubudhi/WORKSPACES/WEBDRIVERIO/codeceptjs/android/test/Geneco.apk',
16
- app: 'bs://55f48309e6776984188c25d044bde2b3d90ea057'
17
- }
18
- ]
19
- ],
20
-
21
- capabilities: [{
22
- 'bstack:options': {
23
- deviceName: 'Samsung Galaxy S21',
24
- osVersion: "11.0"
25
- }
26
- }
27
- //, {
28
- // 'bstack:options': {
29
- // deviceName: 'Samsung Galaxy S10e',
30
- // osVersion: "9.0"
31
- // }
32
- // }
33
- ],
34
-
35
- commonCapabilities: {
36
- 'bstack:options': {
37
- projectName: "YTL APP",
38
- buildName: 'Android Yes App Build',
39
- sessionName: 'Yes App Session',
40
- debug: true,
41
- networkLogs: true
42
- // source: 'webdriverio:appium-sample-sdk:v1.0'
43
- }
44
- },
45
- maxInstances: 10,
46
-
47
- updateJob: false,
48
- specs: [
49
- [
50
- //'./android/specs/yesapp/login.js'
51
-
52
- ]],
53
- exclude: [],
54
- logLevel: 'info',
55
- coloredLogs: true,
56
- screenshotPath: './androidReports/',
57
- baseUrl: '',
58
- waitforTimeout: 10000,
59
- connectionRetryTimeout: 90000,
60
- connectionRetryCount: 3,
61
-
62
- framework: 'mocha',
63
- mochaOpts: {
64
- ui: 'bdd',
65
- timeout: 60000
66
- },
67
- before: function () {
68
- const chai = require('chai');
69
- global.expect = chai.expect;
70
- },
71
-
72
- reporters: [
73
- 'spec',
74
- ['allure', {
75
- outputDir: './androidReports/allure-results', // Specify the output directory
76
- disableWebdriverStepsReporting: true,
77
- disableWebdriverScreenshotsReporting: true,
78
- }],
79
- ],
80
- afterStep: function (test, context, { error, result, duration, passed, retries }) {
81
- // if (passed) {
82
- browser.takeScreenshot();
83
- // }
84
- },
85
- afterTest: async function (test, context, { error, result, duration, passed, retries }) {
86
- if (passed) { await browser.takeScreenshot() }
87
- }
88
-
89
- };
90
-
91
- // Code to support common capabilities
92
- exports.config.capabilities.forEach(function (caps) {
93
- for (let key in exports.config.commonCapabilities)
94
- caps[key] = { ...caps[key], ...exports.config.commonCapabilities[key] };
95
- });
package/ios.conf.js DELETED
@@ -1,75 +0,0 @@
1
-
2
- exports.config = {
3
- user: process.env.BROWSERSTACK_USERNAME || 'subhrasubudhi_uf8nhj',
4
- key: process.env.BROWSERSTACK_ACCESS_KEY || 'DUGGqze7p9QMZb84y66s',
5
-
6
- services: [
7
- [
8
- 'browserstack',
9
- {
10
- buildIdentifier: '${BUILD_NUMBER}',
11
- browserstackLocal: true,
12
- opts: { forcelocal: false, localIdentifier: "webdriverio-appium-app-browserstack-repo" },
13
- //app: process.env.BROWSERSTACK_APP_PATH || '/Users/subhrasubudhi/WORKSPACES/WEBDRIVERIO/codeceptjs/ios/test/BStackSampleApp.ipa'
14
- app: 'bs://512eefa5c0b9f103907f0c69f6ef811defc4a9cb'
15
- }
16
- ]
17
- ],
18
-
19
- capabilities: [{
20
- 'bstack:options': {
21
- deviceName: "iPhone 15 Pro Max",
22
- osVersion: "17"
23
- }
24
- }
25
-
26
- ],
27
-
28
- commonCapabilities: {
29
- 'bstack:options': {
30
- projectName: "Yes App",
31
- buildName: 'IOS Yes App build',
32
- sessionName: 'Yes App Session',
33
- debug: true,
34
- networkLogs: true,
35
- // source: 'webdriverio:appium-sample-sdk:v1.0'
36
- }
37
- },
38
-
39
- maxInstances: 10,
40
-
41
- updateJob: false,
42
- specs: [
43
- // './specs/single_test.js'
44
- ],
45
- exclude: [],
46
-
47
-
48
- logLevel: 'info',
49
- coloredLogs: true,
50
- screenshotPath: './errorShots/',
51
- baseUrl: '',
52
- waitforTimeout: 10000,
53
- connectionRetryTimeout: 90000,
54
- connectionRetryCount: 3,
55
-
56
- framework: 'mocha',
57
-
58
- mochaOpts: {
59
- ui: 'bdd',
60
- timeout: 60000
61
- },
62
-
63
- before: function () {
64
- const chai = require('chai');
65
- global.expect = chai.expect;
66
- },
67
-
68
-
69
- };
70
-
71
- // Code to support common capabilities
72
- exports.config.capabilities.forEach(function (caps) {
73
- for (let key in exports.config.commonCapabilities)
74
- caps[key] = { ...caps[key], ...exports.config.commonCapabilities[key] };
75
- });