artes 1.7.4 → 1.7.6
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/README.md +781 -779
- package/assets/styles.css +4 -4
- package/cucumber.config.js +253 -253
- package/docs/ciExecutors.md +198 -198
- package/docs/emulationDevicesList.md +152 -152
- package/docs/functionDefinitions.md +2401 -2401
- package/docs/stepDefinitions.md +435 -433
- package/executer.js +266 -264
- package/index.js +50 -50
- package/package.json +56 -56
- package/src/helper/contextManager/browserManager.js +74 -74
- package/src/helper/contextManager/requestManager.js +23 -23
- package/src/helper/controller/elementController.js +210 -210
- package/src/helper/controller/findDuplicateTestNames.js +69 -69
- package/src/helper/controller/getEnvInfo.js +94 -94
- package/src/helper/controller/getExecutor.js +109 -109
- package/src/helper/controller/pomCollector.js +83 -83
- package/src/helper/controller/reportCustomizer.js +485 -485
- package/src/helper/controller/screenComparer.js +97 -108
- package/src/helper/controller/status-formatter.js +137 -137
- package/src/helper/controller/testCoverageCalculator.js +111 -111
- package/src/helper/executers/cleaner.js +23 -23
- package/src/helper/executers/exporter.js +19 -19
- package/src/helper/executers/helper.js +193 -191
- package/src/helper/executers/projectCreator.js +226 -222
- package/src/helper/executers/reportGenerator.js +91 -91
- package/src/helper/executers/testRunner.js +28 -28
- package/src/helper/executers/versionChecker.js +31 -31
- package/src/helper/imports/commons.js +65 -65
- package/src/helper/stepFunctions/APIActions.js +495 -495
- package/src/helper/stepFunctions/assertions.js +986 -986
- package/src/helper/stepFunctions/browserActions.js +87 -87
- package/src/helper/stepFunctions/elementInteractions.js +60 -60
- package/src/helper/stepFunctions/exporter.js +19 -19
- package/src/helper/stepFunctions/frameActions.js +72 -72
- package/src/helper/stepFunctions/keyboardActions.js +66 -66
- package/src/helper/stepFunctions/mouseActions.js +84 -84
- package/src/helper/stepFunctions/pageActions.js +43 -43
- package/src/hooks/context.js +15 -15
- package/src/hooks/hooks.js +287 -279
- package/src/stepDefinitions/API.steps.js +310 -310
- package/src/stepDefinitions/assertions.steps.js +1303 -1280
- package/src/stepDefinitions/browser.steps.js +74 -74
- package/src/stepDefinitions/frameActions.steps.js +76 -76
- package/src/stepDefinitions/keyboardActions.steps.js +264 -264
- package/src/stepDefinitions/mouseActions.steps.js +378 -378
- package/src/stepDefinitions/page.steps.js +71 -71
- package/src/stepDefinitions/random.steps.js +191 -191
|
@@ -1,153 +1,153 @@
|
|
|
1
|
-
# Emulation Supported Devices
|
|
2
|
-
|
|
3
|
-
> **Important:** Device names must be written **exactly as listed** and enclosed in double quotes (`""`) when used.
|
|
4
|
-
> Example:
|
|
5
|
-
>
|
|
6
|
-
> ```bash
|
|
7
|
-
> npx artes --device "iPhone 13"
|
|
8
|
-
> ```
|
|
9
|
-
|
|
10
|
-
> ⚠️ Make sure to **copy the names exactly** including spaces, capital letters, and parentheses when using them.
|
|
11
|
-
|
|
12
|
-
---
|
|
13
|
-
|
|
14
|
-
## Mobile Devices
|
|
15
|
-
|
|
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
|
-
|
|
143
|
-
---
|
|
144
|
-
|
|
145
|
-
## Desktop Devices
|
|
146
|
-
|
|
147
|
-
- Desktop Chrome HiDPI
|
|
148
|
-
- Desktop Edge HiDPI
|
|
149
|
-
- Desktop Firefox HiDPI
|
|
150
|
-
- Desktop Safari
|
|
151
|
-
- Desktop Chrome
|
|
152
|
-
- Desktop Edge
|
|
1
|
+
# Emulation Supported Devices
|
|
2
|
+
|
|
3
|
+
> **Important:** Device names must be written **exactly as listed** and enclosed in double quotes (`""`) when used.
|
|
4
|
+
> Example:
|
|
5
|
+
>
|
|
6
|
+
> ```bash
|
|
7
|
+
> npx artes --device "iPhone 13"
|
|
8
|
+
> ```
|
|
9
|
+
|
|
10
|
+
> ⚠️ Make sure to **copy the names exactly** including spaces, capital letters, and parentheses when using them.
|
|
11
|
+
|
|
12
|
+
---
|
|
13
|
+
|
|
14
|
+
## Mobile Devices
|
|
15
|
+
|
|
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
|
+
|
|
143
|
+
---
|
|
144
|
+
|
|
145
|
+
## Desktop Devices
|
|
146
|
+
|
|
147
|
+
- Desktop Chrome HiDPI
|
|
148
|
+
- Desktop Edge HiDPI
|
|
149
|
+
- Desktop Firefox HiDPI
|
|
150
|
+
- Desktop Safari
|
|
151
|
+
- Desktop Chrome
|
|
152
|
+
- Desktop Edge
|
|
153
153
|
- Desktop Firefox
|