froth-webdriverio-framework 0.1.25 → 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.
- package/config/web.conf.bs.js +9 -11
- package/config/web.conf.js +11 -20
- package/package.json +1 -1
package/config/web.conf.bs.js
CHANGED
|
@@ -9,9 +9,7 @@ exports.config = {
|
|
|
9
9
|
// ====================
|
|
10
10
|
// Specify Test Files
|
|
11
11
|
// ====================
|
|
12
|
-
|
|
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
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
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
|
// ====================
|
package/config/web.conf.js
CHANGED
|
@@ -1,17 +1,7 @@
|
|
|
1
1
|
|
|
2
2
|
|
|
3
|
-
|
|
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'
|
|
39
|
-
reporterOptions: {
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
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;
|