artes 1.3.0 → 1.3.1
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.
|
@@ -13,144 +13,141 @@
|
|
|
13
13
|
|
|
14
14
|
## Mobile Devices
|
|
15
15
|
|
|
16
|
-
-
|
|
17
|
-
-
|
|
18
|
-
-
|
|
19
|
-
-
|
|
20
|
-
-
|
|
21
|
-
-
|
|
22
|
-
-
|
|
23
|
-
-
|
|
24
|
-
-
|
|
25
|
-
-
|
|
26
|
-
-
|
|
27
|
-
-
|
|
28
|
-
-
|
|
29
|
-
-
|
|
30
|
-
-
|
|
31
|
-
-
|
|
32
|
-
-
|
|
33
|
-
-
|
|
34
|
-
-
|
|
35
|
-
-
|
|
36
|
-
-
|
|
37
|
-
-
|
|
38
|
-
-
|
|
39
|
-
-
|
|
40
|
-
-
|
|
41
|
-
-
|
|
42
|
-
-
|
|
43
|
-
-
|
|
44
|
-
-
|
|
45
|
-
-
|
|
46
|
-
-
|
|
47
|
-
-
|
|
48
|
-
-
|
|
49
|
-
-
|
|
50
|
-
-
|
|
51
|
-
-
|
|
52
|
-
-
|
|
53
|
-
-
|
|
54
|
-
-
|
|
55
|
-
-
|
|
56
|
-
-
|
|
57
|
-
-
|
|
58
|
-
-
|
|
59
|
-
-
|
|
60
|
-
-
|
|
61
|
-
-
|
|
62
|
-
-
|
|
63
|
-
-
|
|
64
|
-
-
|
|
65
|
-
-
|
|
66
|
-
-
|
|
67
|
-
-
|
|
68
|
-
-
|
|
69
|
-
-
|
|
70
|
-
-
|
|
71
|
-
-
|
|
72
|
-
-
|
|
73
|
-
-
|
|
74
|
-
-
|
|
75
|
-
-
|
|
76
|
-
-
|
|
77
|
-
-
|
|
78
|
-
-
|
|
79
|
-
-
|
|
80
|
-
-
|
|
81
|
-
-
|
|
82
|
-
-
|
|
83
|
-
-
|
|
84
|
-
-
|
|
85
|
-
-
|
|
86
|
-
-
|
|
87
|
-
-
|
|
88
|
-
-
|
|
89
|
-
-
|
|
90
|
-
-
|
|
91
|
-
-
|
|
92
|
-
-
|
|
93
|
-
-
|
|
94
|
-
-
|
|
95
|
-
-
|
|
96
|
-
-
|
|
97
|
-
-
|
|
98
|
-
-
|
|
99
|
-
-
|
|
100
|
-
-
|
|
101
|
-
-
|
|
102
|
-
-
|
|
103
|
-
-
|
|
104
|
-
-
|
|
105
|
-
-
|
|
106
|
-
-
|
|
107
|
-
-
|
|
108
|
-
-
|
|
109
|
-
-
|
|
110
|
-
-
|
|
111
|
-
-
|
|
112
|
-
-
|
|
113
|
-
-
|
|
114
|
-
-
|
|
115
|
-
-
|
|
116
|
-
-
|
|
117
|
-
-
|
|
118
|
-
-
|
|
119
|
-
-
|
|
120
|
-
-
|
|
121
|
-
-
|
|
122
|
-
-
|
|
123
|
-
-
|
|
124
|
-
-
|
|
125
|
-
-
|
|
126
|
-
-
|
|
127
|
-
-
|
|
128
|
-
-
|
|
129
|
-
-
|
|
130
|
-
-
|
|
131
|
-
-
|
|
132
|
-
-
|
|
133
|
-
-
|
|
134
|
-
-
|
|
135
|
-
-
|
|
136
|
-
-
|
|
137
|
-
-
|
|
138
|
-
-
|
|
139
|
-
-
|
|
140
|
-
-
|
|
141
|
-
-
|
|
16
|
+
- Blackberry PlayBook
|
|
17
|
+
- Blackberry PlayBook landscape
|
|
18
|
+
- BlackBerry Z30
|
|
19
|
+
- BlackBerry Z30 landscape
|
|
20
|
+
- Galaxy Note 3
|
|
21
|
+
- Galaxy Note 3 landscape
|
|
22
|
+
- Galaxy Note II
|
|
23
|
+
- Galaxy Note II landscape
|
|
24
|
+
- Galaxy S III
|
|
25
|
+
- Galaxy S III landscape
|
|
26
|
+
- Galaxy S5
|
|
27
|
+
- Galaxy S5 landscape
|
|
28
|
+
- Galaxy S8
|
|
29
|
+
- Galaxy S8 landscape
|
|
30
|
+
- Galaxy S9+
|
|
31
|
+
- Galaxy S9+ landscape
|
|
32
|
+
- Galaxy Tab S4
|
|
33
|
+
- Galaxy Tab S4 landscape
|
|
34
|
+
- iPad (gen 5)
|
|
35
|
+
- iPad (gen 5) landscape
|
|
36
|
+
- iPad (gen 6)
|
|
37
|
+
- iPad (gen 6) landscape
|
|
38
|
+
- iPad (gen 7)
|
|
39
|
+
- iPad (gen 7) landscape
|
|
40
|
+
- iPad Mini
|
|
41
|
+
- iPad Mini landscape
|
|
42
|
+
- iPad Pro 11
|
|
43
|
+
- iPad Pro 11 landscape
|
|
44
|
+
- iPhone 6
|
|
45
|
+
- iPhone 6 landscape
|
|
46
|
+
- iPhone 6 Plus
|
|
47
|
+
- iPhone 6 Plus landscape
|
|
48
|
+
- iPhone 7
|
|
49
|
+
- iPhone 7 landscape
|
|
50
|
+
- iPhone 7 Plus
|
|
51
|
+
- iPhone 7 Plus landscape
|
|
52
|
+
- iPhone 8
|
|
53
|
+
- iPhone 8 landscape
|
|
54
|
+
- iPhone 8 Plus
|
|
55
|
+
- iPhone 8 Plus landscape
|
|
56
|
+
- iPhone SE
|
|
57
|
+
- iPhone SE landscape
|
|
58
|
+
- iPhone X
|
|
59
|
+
- iPhone X landscape
|
|
60
|
+
- iPhone XR
|
|
61
|
+
- iPhone XR landscape
|
|
62
|
+
- iPhone 11
|
|
63
|
+
- iPhone 11 landscape
|
|
64
|
+
- iPhone 11 Pro
|
|
65
|
+
- iPhone 11 Pro landscape
|
|
66
|
+
- iPhone 11 Pro Max
|
|
67
|
+
- iPhone 11 Pro Max landscape
|
|
68
|
+
- iPhone 12
|
|
69
|
+
- iPhone 12 landscape
|
|
70
|
+
- iPhone 12 Pro
|
|
71
|
+
- iPhone 12 Pro landscape
|
|
72
|
+
- iPhone 12 Pro Max
|
|
73
|
+
- iPhone 12 Pro Max landscape
|
|
74
|
+
- iPhone 12 Mini
|
|
75
|
+
- iPhone 12 Mini landscape
|
|
76
|
+
- iPhone 13
|
|
77
|
+
- iPhone 13 landscape
|
|
78
|
+
- iPhone 13 Pro
|
|
79
|
+
- iPhone 13 Pro landscape
|
|
80
|
+
- iPhone 13 Pro Max
|
|
81
|
+
- iPhone 13 Pro Max landscape
|
|
82
|
+
- iPhone 13 Mini
|
|
83
|
+
- iPhone 13 Mini landscape
|
|
84
|
+
- iPhone 14
|
|
85
|
+
- iPhone 14 landscape
|
|
86
|
+
- iPhone 14 Plus
|
|
87
|
+
- iPhone 14 Plus landscape
|
|
88
|
+
- iPhone 14 Pro
|
|
89
|
+
- iPhone 14 Pro landscape
|
|
90
|
+
- iPhone 14 Pro Max
|
|
91
|
+
- iPhone 14 Pro Max landscape
|
|
92
|
+
- iPhone 15
|
|
93
|
+
- iPhone 15 landscape
|
|
94
|
+
- iPhone 15 Plus
|
|
95
|
+
- iPhone 15 Plus landscape
|
|
96
|
+
- iPhone 15 Pro
|
|
97
|
+
- iPhone 15 Pro landscape
|
|
98
|
+
- iPhone 15 Pro Max
|
|
99
|
+
- iPhone 15 Pro Max landscape
|
|
100
|
+
- Kindle Fire HDX
|
|
101
|
+
- Kindle Fire HDX landscape
|
|
102
|
+
- LG Optimus L70
|
|
103
|
+
- LG Optimus L70 landscape
|
|
104
|
+
- Microsoft Lumia 550
|
|
105
|
+
- Microsoft Lumia 550 landscape
|
|
106
|
+
- Microsoft Lumia 950
|
|
107
|
+
- Microsoft Lumia 950 landscape
|
|
108
|
+
- Nexus 10
|
|
109
|
+
- Nexus 10 landscape
|
|
110
|
+
- Nexus 4
|
|
111
|
+
- Nexus 4 landscape
|
|
112
|
+
- Nexus 5
|
|
113
|
+
- Nexus 5 landscape
|
|
114
|
+
- Nexus 5X
|
|
115
|
+
- Nexus 5X landscape
|
|
116
|
+
- Nexus 6
|
|
117
|
+
- Nexus 6 landscape
|
|
118
|
+
- Nexus 6P
|
|
119
|
+
- Nexus 6P landscape
|
|
120
|
+
- Nexus 7
|
|
121
|
+
- Nexus 7 landscape
|
|
122
|
+
- Nokia Lumia 520
|
|
123
|
+
- Nokia Lumia 520 landscape
|
|
124
|
+
- Nokia N9
|
|
125
|
+
- Nokia N9 landscape
|
|
126
|
+
- Pixel 2
|
|
127
|
+
- Pixel 2 landscape
|
|
128
|
+
- Pixel 2 XL
|
|
129
|
+
- Pixel 2 XL landscape
|
|
130
|
+
- Pixel 3
|
|
131
|
+
- Pixel 3 landscape
|
|
132
|
+
- Pixel 4
|
|
133
|
+
- Pixel 4 landscape
|
|
134
|
+
- Pixel 4a (5G)
|
|
135
|
+
- Pixel 4a (5G) landscape
|
|
136
|
+
- Pixel 5
|
|
137
|
+
- Pixel 5 landscape
|
|
138
|
+
- Pixel 7
|
|
139
|
+
- Pixel 7 landscape
|
|
140
|
+
- Moto G4
|
|
141
|
+
- Moto G4 landscape
|
|
142
142
|
|
|
143
143
|
---
|
|
144
144
|
|
|
145
145
|
## Desktop Devices
|
|
146
146
|
|
|
147
|
-
-
|
|
148
|
-
-
|
|
149
|
-
-
|
|
150
|
-
-
|
|
151
|
-
-
|
|
152
|
-
-
|
|
153
|
-
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
147
|
+
- Desktop Chrome HiDPI
|
|
148
|
+
- Desktop Edge HiDPI
|
|
149
|
+
- Desktop Firefox HiDPI
|
|
150
|
+
- Desktop Safari
|
|
151
|
+
- Desktop Chrome
|
|
152
|
+
- Desktop Edge
|
|
153
|
+
- Desktop Firefox
|
package/executer.js
CHANGED
|
@@ -7,6 +7,7 @@ const {
|
|
|
7
7
|
generateReport,
|
|
8
8
|
cleanUp,
|
|
9
9
|
} = require("./src/helper/executers/exporter");
|
|
10
|
+
const { logPomWarnings } = require("./src/helper/controller/pomCollector");
|
|
10
11
|
const fs = require("fs");
|
|
11
12
|
const path = require("path");
|
|
12
13
|
|
|
@@ -147,6 +148,9 @@ function main() {
|
|
|
147
148
|
if (flags.create) return createProject(flags.createYes, flags.noDeps);
|
|
148
149
|
|
|
149
150
|
runTests();
|
|
151
|
+
|
|
152
|
+
logPomWarnings();
|
|
153
|
+
|
|
150
154
|
if (
|
|
151
155
|
flags.reportWithTrace ||
|
|
152
156
|
artesConfig.reportWithTrace ||
|
package/package.json
CHANGED
|
@@ -2,6 +2,8 @@ const { addElements } = require("./elementController");
|
|
|
2
2
|
const cucumberConfig = require("../../../cucumber.config");
|
|
3
3
|
const fs = require("fs");
|
|
4
4
|
const path = require("path");
|
|
5
|
+
const { moduleConfig } = require("../../helper/imports/commons");
|
|
6
|
+
|
|
5
7
|
|
|
6
8
|
const duplicateWarnings = [];
|
|
7
9
|
const keyRegistry = {};
|
|
@@ -34,10 +36,26 @@ function pomCollector() {
|
|
|
34
36
|
|
|
35
37
|
addElements(parsed);
|
|
36
38
|
});
|
|
39
|
+
|
|
40
|
+
const duplicationFilePath = path.join(moduleConfig.projectPath,"node_modules","artes","pomDuplicateWarnings.json")
|
|
41
|
+
|
|
42
|
+
if (duplicateWarnings.length > 0) {
|
|
43
|
+
fs.mkdirSync(path.dirname(duplicationFilePath), { recursive: true });
|
|
44
|
+
fs.writeFileSync(
|
|
45
|
+
duplicationFilePath,
|
|
46
|
+
JSON.stringify(duplicateWarnings, null, 2),
|
|
47
|
+
"utf8"
|
|
48
|
+
);
|
|
49
|
+
}
|
|
37
50
|
}
|
|
38
51
|
|
|
39
52
|
function logPomWarnings() {
|
|
40
|
-
|
|
53
|
+
|
|
54
|
+
if (!fs.existsSync(path.join(moduleConfig.modulePath,"pomDuplicateWarnings.json"))) return;
|
|
55
|
+
|
|
56
|
+
const duplicateWarnings = JSON.parse(
|
|
57
|
+
fs.readFileSync(path.join(moduleConfig.modulePath,"pomDuplicateWarnings.json"), "utf8")
|
|
58
|
+
);
|
|
41
59
|
|
|
42
60
|
console.warn(
|
|
43
61
|
"\n\x1b[33m[WARNING] POM DUPLICATE KEY WARNINGS: This may break your tests or cause flaky behavior."
|
|
@@ -35,7 +35,7 @@ const moduleConfig = {
|
|
|
35
35
|
stepsPath: path.join(projectPath, "/tests/steps/*.js"),
|
|
36
36
|
pomPath: path.join(projectPath, "/tests/POMs"),
|
|
37
37
|
cleanUpPaths:
|
|
38
|
-
"allure-result allure-results test-results @rerun.txt testsStatus EXIT_CODE.txt",
|
|
38
|
+
"allure-result allure-results test-results @rerun.txt testsStatus EXIT_CODE.txt pomDuplicateWarnings.json",
|
|
39
39
|
};
|
|
40
40
|
|
|
41
41
|
module.exports = {
|