froth-webdriverio-framework 0.1.24 → 0.1.26

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.
@@ -9,9 +9,7 @@ exports.config = {
9
9
  // ====================
10
10
  // Specify Test Files
11
11
  // ====================
12
- specs: [
13
- './web/specs/yes.js', // Path to your test scripts
14
- ],
12
+
15
13
  services: [
16
14
  ['browserstack', {
17
15
  testObservability: true,
@@ -55,14 +53,14 @@ exports.config = {
55
53
  // ====================
56
54
  framework: 'mocha', // Use the Mocha framework
57
55
  reporters: ['spec',
58
- [
59
- 'allure',
60
- {
61
- outputDir: './web-report/allure-result/',
62
- disableWebdriverStepsReporting: true,
63
- disableWebdriverScreenshotsReporting: false,
64
- },
65
- ],
56
+ // [
57
+ // 'allure',
58
+ // {
59
+ // outputDir: './web-report/allure-result/',
60
+ // disableWebdriverStepsReporting: true,
61
+ // disableWebdriverScreenshotsReporting: false,
62
+ // },
63
+ // ],
66
64
  ], // Use the spec reporter
67
65
 
68
66
  // ====================
@@ -1,17 +1,7 @@
1
1
 
2
2
 
3
- exports.config = {
4
- // ====================
5
- // BrowserStack Configuration
6
- // ====================
7
-
8
- // ====================
9
- // Specify Test Files
10
- // ====================
11
- specs: [
12
- 'TEST/web/specs/gmail.js', // Path to your test scripts
13
- ],
14
-
3
+ const config = {
4
+
15
5
  // ====================
16
6
  // Capabilities
17
7
  // ====================
@@ -35,14 +25,14 @@ exports.config = {
35
25
  // Framework
36
26
  // ====================
37
27
  framework: 'mocha', // Use the Mocha framework
38
- reporters: ['spec', 'allure'], // Use the spec reporter
39
- reporterOptions: {
40
- allure: {
41
- outputDir: 'allure-results',
42
- disableWebdriverStepsReporting: true,
43
- disableWebdriverScreenshotsReporting: false,
44
- }
45
- },
28
+ reporters: ['spec'], // Use the spec reporter
29
+ // reporterOptions: {
30
+ // allure: {
31
+ // outputDir: 'allure-results',
32
+ // disableWebdriverStepsReporting: true,
33
+ // disableWebdriverScreenshotsReporting: false,
34
+ // }
35
+ //},
46
36
  // ====================
47
37
  // Hooks
48
38
  // ====================
@@ -77,3 +67,4 @@ exports.config = {
77
67
  timeout: 60000, // Set the timeout for test cases in milliseconds
78
68
  },
79
69
  };
70
+ module.exports = config;
@@ -1,5 +1,4 @@
1
- global.rootFolderPath = process.cwd();
2
- console.log("Root folder path 4:", rootFolderPath);
1
+ // This file contains the common methods that are used in the test scripts
3
2
  let ScrollToEnd = null;
4
3
  let ClickIfVisible=null;
5
4
  let VerifyTextInFieldAttribute= null;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "froth-webdriverio-framework",
3
- "version": "0.1.24",
3
+ "version": "0.1.26",
4
4
 
5
5
  "readme": "WendriverIO Integration with [BrowserStack]",
6
6
  "description": "WebdriverIO and BrowserStack App Automate",