@applitools/eyes-cypress 3.44.2 → 3.44.5
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/CHANGELOG.md +395 -0
- package/dist/browser/transformCypressConfig.js +0 -1
- package/package.json +7 -7
- package/src/browser/commands.js +4 -2
- package/src/browser/transformCypressConfig.ts +0 -1
- package/src/expose.ts +1 -0
- package/types/expose.d.ts +111 -0
- package/types/index.d.ts +14 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,400 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [3.44.5](https://github.com/Applitools-Dev/sdk/compare/js/eyes-cypress@3.44.4...js/eyes-cypress@3.44.5) (2024-06-26)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Bug Fixes
|
|
7
|
+
|
|
8
|
+
* eyesGetResults returns a single result ([#2378](https://github.com/Applitools-Dev/sdk/issues/2378)) ([0ed182a](https://github.com/Applitools-Dev/sdk/commit/0ed182ace6fe0d1e1c63d84b4e4512feb53ba795))
|
|
9
|
+
* remove environments from close settings ([#2384](https://github.com/Applitools-Dev/sdk/issues/2384)) ([16fdcb5](https://github.com/Applitools-Dev/sdk/commit/16fdcb565249e775701c0a969cdce85245f41b9e))
|
|
10
|
+
* tunnel client ([670b184](https://github.com/Applitools-Dev/sdk/commit/670b1843ce43347d97e19fa02f8bc630332ff414))
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
### Dependencies
|
|
14
|
+
|
|
15
|
+
* @applitools/utils bumped to 1.7.4
|
|
16
|
+
#### Bug Fixes
|
|
17
|
+
|
|
18
|
+
* tunnel client ([670b184](https://github.com/Applitools-Dev/sdk/commit/670b1843ce43347d97e19fa02f8bc630332ff414))
|
|
19
|
+
* @applitools/logger bumped to 2.0.18
|
|
20
|
+
#### Bug Fixes
|
|
21
|
+
|
|
22
|
+
* tunnel client ([670b184](https://github.com/Applitools-Dev/sdk/commit/670b1843ce43347d97e19fa02f8bc630332ff414))
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
* @applitools/socket bumped to 1.1.18
|
|
27
|
+
#### Bug Fixes
|
|
28
|
+
|
|
29
|
+
* tunnel client ([670b184](https://github.com/Applitools-Dev/sdk/commit/670b1843ce43347d97e19fa02f8bc630332ff414))
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
|
|
33
|
+
* @applitools/req bumped to 1.7.2
|
|
34
|
+
#### Bug Fixes
|
|
35
|
+
|
|
36
|
+
* tunnel client ([670b184](https://github.com/Applitools-Dev/sdk/commit/670b1843ce43347d97e19fa02f8bc630332ff414))
|
|
37
|
+
|
|
38
|
+
|
|
39
|
+
|
|
40
|
+
* @applitools/image bumped to 1.1.13
|
|
41
|
+
#### Bug Fixes
|
|
42
|
+
|
|
43
|
+
* tunnel client ([670b184](https://github.com/Applitools-Dev/sdk/commit/670b1843ce43347d97e19fa02f8bc630332ff414))
|
|
44
|
+
|
|
45
|
+
|
|
46
|
+
|
|
47
|
+
* @applitools/snippets bumped to 2.4.27
|
|
48
|
+
#### Bug Fixes
|
|
49
|
+
|
|
50
|
+
* tunnel client ([670b184](https://github.com/Applitools-Dev/sdk/commit/670b1843ce43347d97e19fa02f8bc630332ff414))
|
|
51
|
+
* @applitools/css-tree bumped to 1.1.4
|
|
52
|
+
#### Bug Fixes
|
|
53
|
+
|
|
54
|
+
* tunnel client ([670b184](https://github.com/Applitools-Dev/sdk/commit/670b1843ce43347d97e19fa02f8bc630332ff414))
|
|
55
|
+
* @applitools/dom-shared bumped to 1.0.15
|
|
56
|
+
#### Bug Fixes
|
|
57
|
+
|
|
58
|
+
* tunnel client ([670b184](https://github.com/Applitools-Dev/sdk/commit/670b1843ce43347d97e19fa02f8bc630332ff414))
|
|
59
|
+
* @applitools/dom-capture bumped to 11.3.0
|
|
60
|
+
#### Features
|
|
61
|
+
|
|
62
|
+
* add cliet rects to text nodes ([#2188](https://github.com/Applitools-Dev/sdk/issues/2188)) ([0d4180e](https://github.com/Applitools-Dev/sdk/commit/0d4180e8e362669b36a27955121caae5575918f7))
|
|
63
|
+
* add cursor and pointer-events to dom-capture ([#2369](https://github.com/Applitools-Dev/sdk/issues/2369)) ([efdce02](https://github.com/Applitools-Dev/sdk/commit/efdce028a2a6fb18ad3c6237f2020c1ff00e90de))
|
|
64
|
+
|
|
65
|
+
|
|
66
|
+
#### Bug Fixes
|
|
67
|
+
|
|
68
|
+
* tunnel client ([670b184](https://github.com/Applitools-Dev/sdk/commit/670b1843ce43347d97e19fa02f8bc630332ff414))
|
|
69
|
+
|
|
70
|
+
|
|
71
|
+
|
|
72
|
+
* @applitools/dom-snapshot bumped to 4.11.3
|
|
73
|
+
#### Bug Fixes
|
|
74
|
+
|
|
75
|
+
* tunnel client ([670b184](https://github.com/Applitools-Dev/sdk/commit/670b1843ce43347d97e19fa02f8bc630332ff414))
|
|
76
|
+
|
|
77
|
+
|
|
78
|
+
|
|
79
|
+
* @applitools/spec-driver-webdriver bumped to 1.1.10
|
|
80
|
+
#### Bug Fixes
|
|
81
|
+
|
|
82
|
+
* tunnel client ([670b184](https://github.com/Applitools-Dev/sdk/commit/670b1843ce43347d97e19fa02f8bc630332ff414))
|
|
83
|
+
|
|
84
|
+
|
|
85
|
+
|
|
86
|
+
* @applitools/spec-driver-selenium bumped to 1.5.81
|
|
87
|
+
#### Bug Fixes
|
|
88
|
+
|
|
89
|
+
* tunnel client ([670b184](https://github.com/Applitools-Dev/sdk/commit/670b1843ce43347d97e19fa02f8bc630332ff414))
|
|
90
|
+
|
|
91
|
+
|
|
92
|
+
|
|
93
|
+
* @applitools/spec-driver-puppeteer bumped to 1.4.10
|
|
94
|
+
#### Bug Fixes
|
|
95
|
+
|
|
96
|
+
* tunnel client ([670b184](https://github.com/Applitools-Dev/sdk/commit/670b1843ce43347d97e19fa02f8bc630332ff414))
|
|
97
|
+
|
|
98
|
+
|
|
99
|
+
|
|
100
|
+
* @applitools/driver bumped to 1.17.5
|
|
101
|
+
#### Bug Fixes
|
|
102
|
+
|
|
103
|
+
* tunnel client ([670b184](https://github.com/Applitools-Dev/sdk/commit/670b1843ce43347d97e19fa02f8bc630332ff414))
|
|
104
|
+
|
|
105
|
+
|
|
106
|
+
|
|
107
|
+
* @applitools/screenshoter bumped to 3.8.34
|
|
108
|
+
#### Bug Fixes
|
|
109
|
+
|
|
110
|
+
* tunnel client ([670b184](https://github.com/Applitools-Dev/sdk/commit/670b1843ce43347d97e19fa02f8bc630332ff414))
|
|
111
|
+
|
|
112
|
+
|
|
113
|
+
|
|
114
|
+
* @applitools/nml-client bumped to 1.8.8
|
|
115
|
+
#### Bug Fixes
|
|
116
|
+
|
|
117
|
+
* tunnel client ([670b184](https://github.com/Applitools-Dev/sdk/commit/670b1843ce43347d97e19fa02f8bc630332ff414))
|
|
118
|
+
|
|
119
|
+
|
|
120
|
+
|
|
121
|
+
* @applitools/tunnel-client bumped to 1.5.7
|
|
122
|
+
#### Bug Fixes
|
|
123
|
+
|
|
124
|
+
* tunnel client ([670b184](https://github.com/Applitools-Dev/sdk/commit/670b1843ce43347d97e19fa02f8bc630332ff414))
|
|
125
|
+
|
|
126
|
+
|
|
127
|
+
|
|
128
|
+
* @applitools/ufg-client bumped to 1.12.2
|
|
129
|
+
#### Bug Fixes
|
|
130
|
+
|
|
131
|
+
* tunnel client ([670b184](https://github.com/Applitools-Dev/sdk/commit/670b1843ce43347d97e19fa02f8bc630332ff414))
|
|
132
|
+
|
|
133
|
+
|
|
134
|
+
|
|
135
|
+
* @applitools/ec-client bumped to 1.9.2
|
|
136
|
+
#### Bug Fixes
|
|
137
|
+
|
|
138
|
+
* tunnel client ([670b184](https://github.com/Applitools-Dev/sdk/commit/670b1843ce43347d97e19fa02f8bc630332ff414))
|
|
139
|
+
|
|
140
|
+
|
|
141
|
+
|
|
142
|
+
* @applitools/core-base bumped to 1.16.0
|
|
143
|
+
#### Features
|
|
144
|
+
|
|
145
|
+
* tell the backend if `remove duplicate tests` is used ([#2373](https://github.com/Applitools-Dev/sdk/issues/2373)) ([fe59b40](https://github.com/Applitools-Dev/sdk/commit/fe59b404ad163c595bb329d9a24ef2191d3bf170))
|
|
146
|
+
|
|
147
|
+
|
|
148
|
+
#### Bug Fixes
|
|
149
|
+
|
|
150
|
+
* tunnel client ([670b184](https://github.com/Applitools-Dev/sdk/commit/670b1843ce43347d97e19fa02f8bc630332ff414))
|
|
151
|
+
|
|
152
|
+
|
|
153
|
+
|
|
154
|
+
* @applitools/core bumped to 4.17.0
|
|
155
|
+
#### Features
|
|
156
|
+
|
|
157
|
+
* tell the backend if `remove duplicate tests` is used ([#2373](https://github.com/Applitools-Dev/sdk/issues/2373)) ([fe59b40](https://github.com/Applitools-Dev/sdk/commit/fe59b404ad163c595bb329d9a24ef2191d3bf170))
|
|
158
|
+
|
|
159
|
+
|
|
160
|
+
#### Bug Fixes
|
|
161
|
+
|
|
162
|
+
* change core ([d12a246](https://github.com/Applitools-Dev/sdk/commit/d12a246723cf72def6335e8698e711a43bda9e6a))
|
|
163
|
+
* tunnel client ([670b184](https://github.com/Applitools-Dev/sdk/commit/670b1843ce43347d97e19fa02f8bc630332ff414))
|
|
164
|
+
|
|
165
|
+
|
|
166
|
+
|
|
167
|
+
* @applitools/eyes bumped to 1.21.0
|
|
168
|
+
#### Features
|
|
169
|
+
|
|
170
|
+
* tell the backend if `remove duplicate tests` is used ([#2373](https://github.com/Applitools-Dev/sdk/issues/2373)) ([fe59b40](https://github.com/Applitools-Dev/sdk/commit/fe59b404ad163c595bb329d9a24ef2191d3bf170))
|
|
171
|
+
|
|
172
|
+
|
|
173
|
+
#### Bug Fixes
|
|
174
|
+
|
|
175
|
+
* tunnel client ([670b184](https://github.com/Applitools-Dev/sdk/commit/670b1843ce43347d97e19fa02f8bc630332ff414))
|
|
176
|
+
|
|
177
|
+
|
|
178
|
+
|
|
179
|
+
|
|
180
|
+
## [3.44.4](https://github.com/Applitools-Dev/sdk/compare/js/eyes-cypress@3.44.3...js/eyes-cypress@3.44.4) (2024-05-28)
|
|
181
|
+
|
|
182
|
+
|
|
183
|
+
### Bug Fixes
|
|
184
|
+
|
|
185
|
+
* trigger release ([88c4f81](https://github.com/Applitools-Dev/sdk/commit/88c4f812bd92eae61ee8ebbee5da0d64ad8c8859))
|
|
186
|
+
|
|
187
|
+
|
|
188
|
+
### Dependencies
|
|
189
|
+
|
|
190
|
+
* @applitools/utils bumped to 1.7.3
|
|
191
|
+
#### Bug Fixes
|
|
192
|
+
|
|
193
|
+
* trigger release ([88c4f81](https://github.com/Applitools-Dev/sdk/commit/88c4f812bd92eae61ee8ebbee5da0d64ad8c8859))
|
|
194
|
+
* @applitools/logger bumped to 2.0.17
|
|
195
|
+
#### Bug Fixes
|
|
196
|
+
|
|
197
|
+
* trigger release ([88c4f81](https://github.com/Applitools-Dev/sdk/commit/88c4f812bd92eae61ee8ebbee5da0d64ad8c8859))
|
|
198
|
+
|
|
199
|
+
|
|
200
|
+
|
|
201
|
+
* @applitools/socket bumped to 1.1.17
|
|
202
|
+
#### Bug Fixes
|
|
203
|
+
|
|
204
|
+
* trigger release ([88c4f81](https://github.com/Applitools-Dev/sdk/commit/88c4f812bd92eae61ee8ebbee5da0d64ad8c8859))
|
|
205
|
+
|
|
206
|
+
|
|
207
|
+
|
|
208
|
+
* @applitools/req bumped to 1.7.1
|
|
209
|
+
#### Bug Fixes
|
|
210
|
+
|
|
211
|
+
* trigger release ([88c4f81](https://github.com/Applitools-Dev/sdk/commit/88c4f812bd92eae61ee8ebbee5da0d64ad8c8859))
|
|
212
|
+
|
|
213
|
+
|
|
214
|
+
|
|
215
|
+
* @applitools/image bumped to 1.1.12
|
|
216
|
+
#### Bug Fixes
|
|
217
|
+
|
|
218
|
+
* trigger release ([88c4f81](https://github.com/Applitools-Dev/sdk/commit/88c4f812bd92eae61ee8ebbee5da0d64ad8c8859))
|
|
219
|
+
|
|
220
|
+
|
|
221
|
+
|
|
222
|
+
* @applitools/snippets bumped to 2.4.26
|
|
223
|
+
#### Bug Fixes
|
|
224
|
+
|
|
225
|
+
* trigger release ([88c4f81](https://github.com/Applitools-Dev/sdk/commit/88c4f812bd92eae61ee8ebbee5da0d64ad8c8859))
|
|
226
|
+
* @applitools/css-tree bumped to 1.1.3
|
|
227
|
+
#### Bug Fixes
|
|
228
|
+
|
|
229
|
+
* trigger release ([88c4f81](https://github.com/Applitools-Dev/sdk/commit/88c4f812bd92eae61ee8ebbee5da0d64ad8c8859))
|
|
230
|
+
* @applitools/dom-shared bumped to 1.0.14
|
|
231
|
+
#### Bug Fixes
|
|
232
|
+
|
|
233
|
+
* trigger release ([88c4f81](https://github.com/Applitools-Dev/sdk/commit/88c4f812bd92eae61ee8ebbee5da0d64ad8c8859))
|
|
234
|
+
* @applitools/dom-capture bumped to 11.2.8
|
|
235
|
+
#### Bug Fixes
|
|
236
|
+
|
|
237
|
+
* trigger release ([88c4f81](https://github.com/Applitools-Dev/sdk/commit/88c4f812bd92eae61ee8ebbee5da0d64ad8c8859))
|
|
238
|
+
|
|
239
|
+
|
|
240
|
+
|
|
241
|
+
* @applitools/dom-snapshot bumped to 4.11.2
|
|
242
|
+
#### Bug Fixes
|
|
243
|
+
|
|
244
|
+
* trigger release ([88c4f81](https://github.com/Applitools-Dev/sdk/commit/88c4f812bd92eae61ee8ebbee5da0d64ad8c8859))
|
|
245
|
+
|
|
246
|
+
|
|
247
|
+
|
|
248
|
+
* @applitools/spec-driver-webdriver bumped to 1.1.8
|
|
249
|
+
#### Bug Fixes
|
|
250
|
+
|
|
251
|
+
* trigger release ([88c4f81](https://github.com/Applitools-Dev/sdk/commit/88c4f812bd92eae61ee8ebbee5da0d64ad8c8859))
|
|
252
|
+
|
|
253
|
+
|
|
254
|
+
|
|
255
|
+
* @applitools/spec-driver-selenium bumped to 1.5.79
|
|
256
|
+
#### Bug Fixes
|
|
257
|
+
|
|
258
|
+
* trigger release ([88c4f81](https://github.com/Applitools-Dev/sdk/commit/88c4f812bd92eae61ee8ebbee5da0d64ad8c8859))
|
|
259
|
+
|
|
260
|
+
|
|
261
|
+
|
|
262
|
+
* @applitools/spec-driver-puppeteer bumped to 1.4.8
|
|
263
|
+
#### Bug Fixes
|
|
264
|
+
|
|
265
|
+
* trigger release ([88c4f81](https://github.com/Applitools-Dev/sdk/commit/88c4f812bd92eae61ee8ebbee5da0d64ad8c8859))
|
|
266
|
+
|
|
267
|
+
|
|
268
|
+
|
|
269
|
+
* @applitools/driver bumped to 1.17.3
|
|
270
|
+
#### Bug Fixes
|
|
271
|
+
|
|
272
|
+
* trigger release ([88c4f81](https://github.com/Applitools-Dev/sdk/commit/88c4f812bd92eae61ee8ebbee5da0d64ad8c8859))
|
|
273
|
+
|
|
274
|
+
|
|
275
|
+
|
|
276
|
+
* @applitools/screenshoter bumped to 3.8.32
|
|
277
|
+
#### Bug Fixes
|
|
278
|
+
|
|
279
|
+
* trigger release ([88c4f81](https://github.com/Applitools-Dev/sdk/commit/88c4f812bd92eae61ee8ebbee5da0d64ad8c8859))
|
|
280
|
+
|
|
281
|
+
|
|
282
|
+
|
|
283
|
+
* @applitools/nml-client bumped to 1.8.6
|
|
284
|
+
#### Bug Fixes
|
|
285
|
+
|
|
286
|
+
* trigger release ([88c4f81](https://github.com/Applitools-Dev/sdk/commit/88c4f812bd92eae61ee8ebbee5da0d64ad8c8859))
|
|
287
|
+
|
|
288
|
+
|
|
289
|
+
|
|
290
|
+
* @applitools/tunnel-client bumped to 1.5.4
|
|
291
|
+
#### Bug Fixes
|
|
292
|
+
|
|
293
|
+
* trigger release ([88c4f81](https://github.com/Applitools-Dev/sdk/commit/88c4f812bd92eae61ee8ebbee5da0d64ad8c8859))
|
|
294
|
+
|
|
295
|
+
|
|
296
|
+
|
|
297
|
+
* @applitools/ufg-client bumped to 1.12.1
|
|
298
|
+
#### Bug Fixes
|
|
299
|
+
|
|
300
|
+
* trigger release ([88c4f81](https://github.com/Applitools-Dev/sdk/commit/88c4f812bd92eae61ee8ebbee5da0d64ad8c8859))
|
|
301
|
+
|
|
302
|
+
|
|
303
|
+
|
|
304
|
+
* @applitools/ec-client bumped to 1.8.7
|
|
305
|
+
#### Bug Fixes
|
|
306
|
+
|
|
307
|
+
* trigger release ([88c4f81](https://github.com/Applitools-Dev/sdk/commit/88c4f812bd92eae61ee8ebbee5da0d64ad8c8859))
|
|
308
|
+
|
|
309
|
+
|
|
310
|
+
|
|
311
|
+
* @applitools/core-base bumped to 1.15.1
|
|
312
|
+
#### Bug Fixes
|
|
313
|
+
|
|
314
|
+
* trigger release ([88c4f81](https://github.com/Applitools-Dev/sdk/commit/88c4f812bd92eae61ee8ebbee5da0d64ad8c8859))
|
|
315
|
+
|
|
316
|
+
|
|
317
|
+
|
|
318
|
+
* @applitools/core bumped to 4.16.1
|
|
319
|
+
#### Bug Fixes
|
|
320
|
+
|
|
321
|
+
* trigger release ([88c4f81](https://github.com/Applitools-Dev/sdk/commit/88c4f812bd92eae61ee8ebbee5da0d64ad8c8859))
|
|
322
|
+
|
|
323
|
+
|
|
324
|
+
|
|
325
|
+
* @applitools/eyes bumped to 1.20.1
|
|
326
|
+
#### Bug Fixes
|
|
327
|
+
|
|
328
|
+
* trigger release ([88c4f81](https://github.com/Applitools-Dev/sdk/commit/88c4f812bd92eae61ee8ebbee5da0d64ad8c8859))
|
|
329
|
+
|
|
330
|
+
|
|
331
|
+
|
|
332
|
+
|
|
333
|
+
## [3.44.3](https://github.com/Applitools-Dev/sdk/compare/js/eyes-cypress@3.44.2...js/eyes-cypress@3.44.3) (2024-05-28)
|
|
334
|
+
|
|
335
|
+
|
|
336
|
+
### Dependencies
|
|
337
|
+
|
|
338
|
+
* @applitools/req bumped to 1.7.0
|
|
339
|
+
#### Features
|
|
340
|
+
|
|
341
|
+
* dynamic timeout based on uploaded file size ([#2364](https://github.com/Applitools-Dev/sdk/issues/2364)) ([8a82d68](https://github.com/Applitools-Dev/sdk/commit/8a82d6839ace60fda27e153ba233019f137017fe))
|
|
342
|
+
* @applitools/nml-client bumped to 1.8.5
|
|
343
|
+
|
|
344
|
+
* @applitools/tunnel-client bumped to 1.5.3
|
|
345
|
+
|
|
346
|
+
* @applitools/ufg-client bumped to 1.12.0
|
|
347
|
+
#### Features
|
|
348
|
+
|
|
349
|
+
* dynamic timeout based on uploaded file size ([#2364](https://github.com/Applitools-Dev/sdk/issues/2364)) ([8a82d68](https://github.com/Applitools-Dev/sdk/commit/8a82d6839ace60fda27e153ba233019f137017fe))
|
|
350
|
+
|
|
351
|
+
|
|
352
|
+
|
|
353
|
+
* @applitools/core-base bumped to 1.15.0
|
|
354
|
+
#### Features
|
|
355
|
+
|
|
356
|
+
* tell Splunk when clients assume `Target`'s mutability ([#2266](https://github.com/Applitools-Dev/sdk/issues/2266)) ([d18a524](https://github.com/Applitools-Dev/sdk/commit/d18a52491fb6a64e780f84ccff1dcf945351bf95))
|
|
357
|
+
|
|
358
|
+
|
|
359
|
+
#### Bug Fixes
|
|
360
|
+
|
|
361
|
+
* multiple heartbeats for multiple runners in the same process ([#2372](https://github.com/Applitools-Dev/sdk/issues/2372)) ([6ec0f0d](https://github.com/Applitools-Dev/sdk/commit/6ec0f0de7d69a69cdab8437df910a82df15479ea))
|
|
362
|
+
|
|
363
|
+
|
|
364
|
+
|
|
365
|
+
* @applitools/eyes bumped to 1.20.0
|
|
366
|
+
#### Features
|
|
367
|
+
|
|
368
|
+
* tell Splunk when clients assume `Target`'s mutability ([#2266](https://github.com/Applitools-Dev/sdk/issues/2266)) ([d18a524](https://github.com/Applitools-Dev/sdk/commit/d18a52491fb6a64e780f84ccff1dcf945351bf95))
|
|
369
|
+
|
|
370
|
+
|
|
371
|
+
|
|
372
|
+
* @applitools/ec-client bumped to 1.8.6
|
|
373
|
+
|
|
374
|
+
* @applitools/core bumped to 4.16.0
|
|
375
|
+
#### Features
|
|
376
|
+
|
|
377
|
+
* tell Splunk when clients assume `Target`'s mutability ([#2266](https://github.com/Applitools-Dev/sdk/issues/2266)) ([d18a524](https://github.com/Applitools-Dev/sdk/commit/d18a52491fb6a64e780f84ccff1dcf945351bf95))
|
|
378
|
+
|
|
379
|
+
|
|
380
|
+
#### Bug Fixes
|
|
381
|
+
|
|
382
|
+
* multiple heartbeats for multiple runners in the same process ([#2372](https://github.com/Applitools-Dev/sdk/issues/2372)) ([6ec0f0d](https://github.com/Applitools-Dev/sdk/commit/6ec0f0de7d69a69cdab8437df910a82df15479ea))
|
|
383
|
+
* throw from createRenderResults if rendering failed ([#2352](https://github.com/Applitools-Dev/sdk/issues/2352)) ([50b0394](https://github.com/Applitools-Dev/sdk/commit/50b0394f35464f4d61dd578bf7e84947af00b99b))
|
|
384
|
+
|
|
385
|
+
|
|
386
|
+
#### Performance Improvements
|
|
387
|
+
|
|
388
|
+
* don't wait for ufg client when take-snapshots performed on non-… ([#2366](https://github.com/Applitools-Dev/sdk/issues/2366)) ([4d8ab41](https://github.com/Applitools-Dev/sdk/commit/4d8ab41a421ff9b7f6f7d107bc8c5e9647404430))
|
|
389
|
+
|
|
390
|
+
|
|
391
|
+
#### Code Refactoring
|
|
392
|
+
|
|
393
|
+
* remove eyesServerUrl and apiKey when not necessary ([#2345](https://github.com/Applitools-Dev/sdk/issues/2345)) ([121ae5d](https://github.com/Applitools-Dev/sdk/commit/121ae5d00417d70d9857b8199b4bcfd92de353c6))
|
|
394
|
+
|
|
395
|
+
|
|
396
|
+
|
|
397
|
+
|
|
3
398
|
## [3.44.2](https://github.com/Applitools-Dev/sdk/compare/js/eyes-cypress@3.44.1...js/eyes-cypress@3.44.2) (2024-05-07)
|
|
4
399
|
|
|
5
400
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@applitools/eyes-cypress",
|
|
3
|
-
"version": "3.44.
|
|
3
|
+
"version": "3.44.5",
|
|
4
4
|
"homepage": "https://applitools.com/docs/api-ref/sdk-api/cypress/",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE",
|
|
6
6
|
"main": "./index.js",
|
|
@@ -54,14 +54,14 @@
|
|
|
54
54
|
"setup": "run --top-level xvfb:setup"
|
|
55
55
|
},
|
|
56
56
|
"dependencies": {
|
|
57
|
-
"@applitools/core": "4.
|
|
58
|
-
"@applitools/eyes": "1.
|
|
57
|
+
"@applitools/core": "4.17.0",
|
|
58
|
+
"@applitools/eyes": "1.21.0",
|
|
59
59
|
"@applitools/functional-commons": "1.6.0",
|
|
60
|
-
"@applitools/logger": "2.0.
|
|
61
|
-
"@applitools/utils": "1.7.
|
|
60
|
+
"@applitools/logger": "2.0.18",
|
|
61
|
+
"@applitools/utils": "1.7.4",
|
|
62
62
|
"boxen": "5.1.2",
|
|
63
63
|
"chalk": "3.0.0",
|
|
64
|
-
"semver": "7.
|
|
64
|
+
"semver": "7.6.2",
|
|
65
65
|
"uuid": "8.3.2",
|
|
66
66
|
"ws": "8.5.0"
|
|
67
67
|
},
|
|
@@ -73,7 +73,7 @@
|
|
|
73
73
|
"@applitools/test-server": "^1.2.2",
|
|
74
74
|
"@applitools/test-utils": "^1.5.17",
|
|
75
75
|
"@types/node": "^12.20.55",
|
|
76
|
-
"@types/semver": "^7.
|
|
76
|
+
"@types/semver": "^7.5.8",
|
|
77
77
|
"@types/uuid": "^9.0.0",
|
|
78
78
|
"@types/ws": "^8.2.2",
|
|
79
79
|
"chai": "4.2.0",
|
package/src/browser/commands.js
CHANGED
|
@@ -69,8 +69,10 @@ Cypress.Commands.add('eyesGetAllTestResults', () => {
|
|
|
69
69
|
Cypress.Commands.add('eyesGetResults', (args = {}) => {
|
|
70
70
|
Cypress.log({name: 'Eyes: getResults'})
|
|
71
71
|
return cy.then({timeout: 86400000}, async () => {
|
|
72
|
-
const
|
|
73
|
-
return
|
|
72
|
+
const results = await socket.request('Eyes.getResults', {eyes, settings: {throwErr: args.throwErr !== false}})
|
|
73
|
+
return results.map(result => {
|
|
74
|
+
return new TestResultsData({result, core: {deleteTest}})
|
|
75
|
+
})
|
|
74
76
|
})
|
|
75
77
|
})
|
|
76
78
|
|
package/src/expose.ts
CHANGED
package/types/expose.d.ts
CHANGED
|
@@ -730,6 +730,117 @@ export type CypressTestResultsSummary = { getAllResults(): Array<{ getTestResult
|
|
|
730
730
|
delete(): Promise<void>;
|
|
731
731
|
deleteSession(): Promise<void>;
|
|
732
732
|
}; getException(): Error; getBrowserInfo(): { name?: "chrome" | "chrome-one-version-back" | "chrome-two-versions-back" | "firefox" | "firefox-one-version-back" | "firefox-two-versions-back" | "ie" | "ie10" | "edge" | "edgechromium" | "edgelegacy" | "edgechromium-one-version-back" | "edgechromium-two-versions-back" | "safari" | "safari-earlyaccess" | "safari-one-version-back" | "safari-two-versions-back"; width: number; height: number; } | { chromeEmulationInfo: { deviceName: "iPhone 4" | "iPhone 5/SE" | "iPhone 6/7/8" | "iPhone 6/7/8 Plus" | "iPhone X" | "BlackBerry Z30" | "Nexus 4" | "Nexus 5" | "Nexus 5X" | "Nexus 6" | "Nexus 6P" | "Pixel 2" | "Pixel 2 XL" | "LG Optimus L70" | "Nokia N9" | "Nokia Lumia 520" | "Microsoft Lumia 550" | "Microsoft Lumia 950" | "Galaxy S3" | "Galaxy S III" | "Galaxy S5" | "Kindle Fire HDX" | "iPad Mini" | "iPad" | "iPad Pro" | "Blackberry PlayBook" | "Nexus 10" | "Nexus 7" | "Galaxy Note 3" | "Galaxy Note II" | "Galaxy Note 2" | "Galaxy S20" | "Galaxy S22" | "Galaxy S21" | "Galaxy S21 Ultra" | "Galaxy S22 Ultra" | "Laptop with touch" | "Laptop with HiDPI screen" | "Laptop with MDPI screen" | "iPhone XR" | "iPhone XS Max" | "iPhone XS" | "Samsung Galaxy A5" | "Galaxy A5" | "Samsung Galaxy S8" | "Galaxy S8" | "LG G6" | "iPad Air 2" | "iPad 6th Gen" | "iPhone 11" | "iPhone 11 Pro Max" | "iPhone 11 Pro" | "Galaxy S10" | "Galaxy S9 Plus" | "Galaxy S9" | "Galaxy S10 Plus" | "Galaxy S8 Plus" | "Galaxy Note 10" | "Galaxy Note 10 Plus" | "Galaxy Note 9" | "Galaxy Note 8" | "Galaxy Note 4" | "Pixel 3" | "Pixel 3 XL" | "Pixel 4" | "Pixel 4 XL" | "Pixel 5" | "iPad 7th Gen" | "OnePlus 7T" | "OnePlus 7T Pro" | "Galaxy Tab S7" | "Sony Xperia 10 II" | "Huawei Mate 50 Pro" | "Huawei Matepad 11"; screenOrientation?: ScreenOrientationPlain; }; } | { iosDeviceInfo: { deviceName: "iPhone X" | "iPhone XR" | "iPad Air 2" | "iPhone 11" | "iPhone 11 Pro Max" | "iPhone 11 Pro" | "iPad (5th generation)" | "iPad (6th generation)" | "iPad (7th generation)" | "iPad (8th generation)" | "iPad (9th generation)" | "iPad (10th generation)" | "iPad Air (3rd generation)" | "iPad Air (4th generation)" | "iPad Air (5th generation)" | "iPad mini 4" | "iPad mini (5th generation)" | "iPad mini (6th generation)" | "iPad Pro (9.7-inch)" | "iPad Pro (10.5-inch)" | "iPad Pro (11-inch) (1st generation)" | "iPad Pro (12.9-inch) (1st generation)" | "iPad Pro (11-inch) (2nd generation)" | "iPad Pro (12.9-inch) (2nd generation)" | "iPad Pro (11-inch) (3rd generation)" | "iPad Pro (12.9-inch) (3rd generation)" | "iPad Pro (11-inch) (4th generation)" | "iPad Pro (12.9-inch) (4th generation)" | "iPad Pro (12.9-inch) (5th generation)" | "iPad Pro (12.9-inch) (6th generation)" | "iPhone 6s" | "iPhone 6s Plus" | "iPhone 7" | "iPhone 7 Plus" | "iPhone 8" | "iPhone 8 Plus" | "iPhone Xs" | "iPhone Xs Max" | "iPhone 12" | "iPhone 12 mini" | "iPhone 12 Pro Max" | "iPhone 12 Pro" | "iPhone 13" | "iPhone 13 mini" | "iPhone 13 Pro Max" | "iPhone 13 Pro" | "iPhone 14" | "iPhone 14 Plus" | "iPhone 14 Pro" | "iPhone 14 Pro Max" | "iPhone 15" | "iPhone 15 Plus" | "iPhone 15 Pro" | "iPhone 15 Pro Max" | "iPhone SE (1st generation)" | "iPhone SE (2nd generation)" | "iPhone SE (3rd generation)" | "iPod touch (7th generation)"; iosVersion?: "latest" | "latest-1"; screenOrientation?: ScreenOrientationPlain; }; } | { androidDeviceInfo: { deviceName: "Galaxy S20" | "Galaxy S22" | "Galaxy S21" | "Galaxy S21 Ultra" | "Galaxy S10" | "Galaxy S9" | "Galaxy S10 Plus" | "Galaxy Note 10" | "Galaxy Note 10 Plus" | "Pixel 3 XL" | "Pixel 4" | "Pixel 4 XL" | "Pixel 5" | "Galaxy Tab S7" | "Sony Xperia 10 II" | "Galaxy S20 Plus" | "Galaxy S21 Plus" | "Xiaomi Redmi Note 11 Pro" | "Xiaomi Redmi Note 11" | "Xiaomi Redmi Note 10 JE" | "Pixel 6" | "Galaxy S22 Plus" | "Galaxy Tab S8" | "Sony Xperia 1 II" | "Sony Xperia Ace II" | "Huawei P30 Lite"; version?: "latest" | "latest-1"; screenOrientation?: ScreenOrientationPlain; }; } | { deviceName: "iPhone 4" | "iPhone 5/SE" | "iPhone 6/7/8" | "iPhone 6/7/8 Plus" | "iPhone X" | "BlackBerry Z30" | "Nexus 4" | "Nexus 5" | "Nexus 5X" | "Nexus 6" | "Nexus 6P" | "Pixel 2" | "Pixel 2 XL" | "LG Optimus L70" | "Nokia N9" | "Nokia Lumia 520" | "Microsoft Lumia 550" | "Microsoft Lumia 950" | "Galaxy S3" | "Galaxy S III" | "Galaxy S5" | "Kindle Fire HDX" | "iPad Mini" | "iPad" | "iPad Pro" | "Blackberry PlayBook" | "Nexus 10" | "Nexus 7" | "Galaxy Note 3" | "Galaxy Note II" | "Galaxy Note 2" | "Galaxy S20" | "Galaxy S22" | "Galaxy S21" | "Galaxy S21 Ultra" | "Galaxy S22 Ultra" | "Laptop with touch" | "Laptop with HiDPI screen" | "Laptop with MDPI screen" | "iPhone XR" | "iPhone XS Max" | "iPhone XS" | "Samsung Galaxy A5" | "Galaxy A5" | "Samsung Galaxy S8" | "Galaxy S8" | "LG G6" | "iPad Air 2" | "iPad 6th Gen" | "iPhone 11" | "iPhone 11 Pro Max" | "iPhone 11 Pro" | "Galaxy S10" | "Galaxy S9 Plus" | "Galaxy S9" | "Galaxy S10 Plus" | "Galaxy S8 Plus" | "Galaxy Note 10" | "Galaxy Note 10 Plus" | "Galaxy Note 9" | "Galaxy Note 8" | "Galaxy Note 4" | "Pixel 3" | "Pixel 3 XL" | "Pixel 4" | "Pixel 4 XL" | "Pixel 5" | "iPad 7th Gen" | "OnePlus 7T" | "OnePlus 7T Pro" | "Galaxy Tab S7" | "Sony Xperia 10 II" | "Huawei Mate 50 Pro" | "Huawei Matepad 11"; screenOrientation?: ScreenOrientationPlain; }; }, any, undefined>; };
|
|
733
|
+
export type CypressTestResults = Array<{
|
|
734
|
+
getId(): string;
|
|
735
|
+
setId(_id: string): void;
|
|
736
|
+
getName(): string;
|
|
737
|
+
setName(_name: string): void;
|
|
738
|
+
getSecretToken(): string;
|
|
739
|
+
setSecretToken(_secretToken: string): void;
|
|
740
|
+
getStatus(): TestResultsStatus;
|
|
741
|
+
setStatus(_status: TestResultsStatus): void;
|
|
742
|
+
getAppName(): string;
|
|
743
|
+
setAppName(_appName: string): void;
|
|
744
|
+
getBatchName(): string;
|
|
745
|
+
setBatchName(_batchName: string): void;
|
|
746
|
+
getBatchId(): string;
|
|
747
|
+
setBatchId(_batchId: string): void;
|
|
748
|
+
getBranchName(): string;
|
|
749
|
+
setBranchName(_branchName: string): void;
|
|
750
|
+
getHostOS(): string;
|
|
751
|
+
setHostOS(_hostOS: string): void;
|
|
752
|
+
getHostApp(): string;
|
|
753
|
+
setHostApp(_hostApp: string): void;
|
|
754
|
+
getHostDisplaySize(): { getWidth(): number; setWidth(width: number): void; getHeight(): number; setHeight(height: number): void; };
|
|
755
|
+
setHostDisplaySize(_hostDisplaySize: { width: number; height: number; }): void;
|
|
756
|
+
getAccessibilityStatus(): { readonly status: "Passed" | "Failed"; readonly level: "AA" | "AAA"; readonly version: "WCAG_2_0" | "WCAG_2_1"; };
|
|
757
|
+
setAccessibilityStatus(_accessibilityStatus: { readonly status: "Passed" | "Failed"; readonly level: "AA" | "AAA"; readonly version: "WCAG_2_0" | "WCAG_2_1"; }): void;
|
|
758
|
+
getStartedAt(): Date;
|
|
759
|
+
setStartedAt(_startedAt: string | Date): void;
|
|
760
|
+
getDuration(): number;
|
|
761
|
+
setDuration(_duration: number): void;
|
|
762
|
+
getIsNew(): boolean;
|
|
763
|
+
setIsNew(_isNew: boolean): void;
|
|
764
|
+
getIsDifferent(): boolean;
|
|
765
|
+
setIsDifferent(_isDifferent: boolean): void;
|
|
766
|
+
getIsAborted(): boolean;
|
|
767
|
+
setIsAborted(_isAborted: boolean): void;
|
|
768
|
+
getAppUrls(): { getBatch(): string; setBatch(batch: string): void; getSession(): string; setSession(session: string): void; };
|
|
769
|
+
setAppUrls(_appUrls: { readonly batch: string; readonly session: string; }): void;
|
|
770
|
+
getApiUrls(): { getBatch(): string; setBatch(batch: string): void; getSession(): string; setSession(session: string): void; };
|
|
771
|
+
setApiUrls(_apiUrls: { readonly batch: string; readonly session: string; }): void;
|
|
772
|
+
getStepsInfo(): Array<{
|
|
773
|
+
getName(): string;
|
|
774
|
+
setName(value: string): void;
|
|
775
|
+
getIsDifferent(): boolean;
|
|
776
|
+
setIsDifferent(value: boolean): void;
|
|
777
|
+
getHasBaselineImage(): boolean;
|
|
778
|
+
setHasBaselineImage(value: boolean): void;
|
|
779
|
+
getHasCurrentImage(): boolean;
|
|
780
|
+
setHasCurrentImage(hasCurrentImage: boolean): void;
|
|
781
|
+
getAppUrls(): { getStep(): string; setStep(step: string): void; getStepEditor(): string; setStepEditor(stepEditor: string): void; };
|
|
782
|
+
setAppUrls(appUrls: { readonly step: string; readonly stepEditor: string; }): void;
|
|
783
|
+
getApiUrls(): {
|
|
784
|
+
getBaselineImage(): string;
|
|
785
|
+
setBaselineImage(setBaselineImage: string): void;
|
|
786
|
+
getCurrentImage(): string;
|
|
787
|
+
setCurrentImage(currentImage: string): void;
|
|
788
|
+
getCheckpointImage(): string;
|
|
789
|
+
setCheckpointImage(checkpointImage: string): void;
|
|
790
|
+
getCheckpointImageThumbnail(): string;
|
|
791
|
+
setCheckpointImageThumbnail(checkpointImageThumbnail: string): void;
|
|
792
|
+
getDiffImage(): string;
|
|
793
|
+
setDiffImage(diffImage: string): void;
|
|
794
|
+
};
|
|
795
|
+
setApiUrls(apiUrls: {
|
|
796
|
+
readonly baselineImage: string;
|
|
797
|
+
readonly currentImage: string;
|
|
798
|
+
readonly checkpointImage: string;
|
|
799
|
+
readonly checkpointImageThumbnail: string;
|
|
800
|
+
readonly diffImage: string;
|
|
801
|
+
}): void;
|
|
802
|
+
getRenderId(): Array<string>;
|
|
803
|
+
setRenderId(renderId: Array<string>): void;
|
|
804
|
+
}>;
|
|
805
|
+
setStepsInfo(_stepInfo: Array<{
|
|
806
|
+
readonly name: string;
|
|
807
|
+
readonly isDifferent: boolean;
|
|
808
|
+
readonly hasBaselineImage: boolean;
|
|
809
|
+
readonly hasCurrentImage: boolean;
|
|
810
|
+
readonly appUrls: { readonly step: string; readonly stepEditor: string; };
|
|
811
|
+
readonly apiUrls: {
|
|
812
|
+
readonly baselineImage: string;
|
|
813
|
+
readonly currentImage: string;
|
|
814
|
+
readonly checkpointImage: string;
|
|
815
|
+
readonly checkpointImageThumbnail: string;
|
|
816
|
+
readonly diffImage: string;
|
|
817
|
+
};
|
|
818
|
+
readonly renderId: Array<string>;
|
|
819
|
+
}>): void;
|
|
820
|
+
getSteps(): number;
|
|
821
|
+
setSteps(_steps: number): void;
|
|
822
|
+
getMatches(): number;
|
|
823
|
+
setMatches(_matches: number): void;
|
|
824
|
+
getMismatches(): number;
|
|
825
|
+
setMismatches(_mismatches: number): void;
|
|
826
|
+
getMissing(): number;
|
|
827
|
+
setMissing(_missing: number): void;
|
|
828
|
+
getExactMatches(): number;
|
|
829
|
+
setExactMatches(_exactMatches: number): void;
|
|
830
|
+
getStrictMatches(): number;
|
|
831
|
+
setStrictMatches(_strictMatches: number): void;
|
|
832
|
+
getContentMatches(): number;
|
|
833
|
+
setContentMatches(_contentMatches: number): void;
|
|
834
|
+
getLayoutMatches(): number;
|
|
835
|
+
setLayoutMatches(_layoutMatches: number): void;
|
|
836
|
+
getNoneMatches(): number;
|
|
837
|
+
setNoneMatches(_noneMatches: number): void;
|
|
838
|
+
getUrl(): string;
|
|
839
|
+
setUrl(_url: string): void;
|
|
840
|
+
isPassed(): boolean;
|
|
841
|
+
delete(): Promise<void>;
|
|
842
|
+
deleteSession(): Promise<void>;
|
|
843
|
+
}>;
|
|
733
844
|
export type EyesPluginConfig = {
|
|
734
845
|
tapDirPath: string;
|
|
735
846
|
tapFileName: string;
|
package/types/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/// <reference types="cypress" />
|
|
2
|
-
import {type CypressCheckSettings, type CypressEyesConfig, type CypressTestResultsSummary} from './expose'
|
|
2
|
+
import {type CypressCheckSettings, type CypressEyesConfig, type CypressTestResultsSummary, type CypressTestResults} from './expose'
|
|
3
3
|
|
|
4
4
|
declare global {
|
|
5
5
|
// eslint-disable-next-line @typescript-eslint/no-namespace
|
|
@@ -33,6 +33,19 @@ declare global {
|
|
|
33
33
|
*/
|
|
34
34
|
eyesClose(): null
|
|
35
35
|
|
|
36
|
+
/**
|
|
37
|
+
* Returns an object with the applitools test results from a given test. This should be called after close.
|
|
38
|
+
* @example
|
|
39
|
+
* after(() => {
|
|
40
|
+
* cy.eyesGetResults().then(results => {
|
|
41
|
+
* results.forEach(result => {
|
|
42
|
+
* console.log(result)
|
|
43
|
+
* })
|
|
44
|
+
* })
|
|
45
|
+
* })
|
|
46
|
+
*/
|
|
47
|
+
eyesGetResults(args?: {throwErr: boolean}): Chainable<CypressTestResults>
|
|
48
|
+
|
|
36
49
|
/**
|
|
37
50
|
* Returns an object with the applitools test results from a given test / test file. This should be called after close.
|
|
38
51
|
* @example
|