@applitools/eyes-testcafe 2.0.0-beta.9 → 3.0.0

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.
Files changed (75) hide show
  1. package/CHANGELOG.md +540 -0
  2. package/LICENSE +1 -1
  3. package/README.md +7 -531
  4. package/dist/api.js +51 -0
  5. package/dist/extract-environment.js +15 -0
  6. package/dist/index-legacy.js +5 -0
  7. package/dist/index.js +19 -0
  8. package/dist/legacy.js +225 -0
  9. package/dist/spec-driver.js +245 -0
  10. package/package.json +73 -77
  11. package/types/index-legacy.d.ts +2 -0
  12. package/types/index.d.ts +1833 -0
  13. package/dist/captureFrameAndPoll.js +0 -1468
  14. package/dist/captureFrameAndPollForIE.js +0 -12569
  15. package/index.js +0 -30
  16. package/lib/BordersAwareElementContentLocationProvider.js +0 -79
  17. package/lib/Eyes.js +0 -927
  18. package/lib/EyesFactory.js +0 -73
  19. package/lib/EyesTestCafe.js +0 -1277
  20. package/lib/EyesTestcafeUtils.js +0 -440
  21. package/lib/EyesVisualGrid.js +0 -345
  22. package/lib/ImageOrientationHandler.js +0 -31
  23. package/lib/JavascriptHandler.js +0 -20
  24. package/lib/TestCafeExecutor.js +0 -57
  25. package/lib/capture/EyesWebDriverScreenshot.js +0 -650
  26. package/lib/capture/EyesWebDriverScreenshotFactory.js +0 -32
  27. package/lib/capture/FirefoxScreenshotImageProvider.js +0 -63
  28. package/lib/capture/ImageProviderFactory.js +0 -38
  29. package/lib/capture/SafariScreenshotImageProvider.js +0 -254
  30. package/lib/capture/TakesScreenshotImageProvider.js +0 -35
  31. package/lib/errors/EyesDriverOperationError.js +0 -10
  32. package/lib/errors/NoFramesError.js +0 -7
  33. package/lib/fluent/AccessibilityRegionByElement.js +0 -46
  34. package/lib/fluent/AccessibilityRegionBySelector.js +0 -58
  35. package/lib/fluent/FloatingRegionByElement.js +0 -56
  36. package/lib/fluent/FloatingRegionBySelector.js +0 -63
  37. package/lib/fluent/FrameLocator.js +0 -110
  38. package/lib/fluent/IgnoreRegionByElement.js +0 -51
  39. package/lib/fluent/IgnoreRegionBySelector.js +0 -57
  40. package/lib/fluent/SelectorByElement.js +0 -37
  41. package/lib/fluent/SelectorByLocator.js +0 -47
  42. package/lib/fluent/Target.js +0 -17
  43. package/lib/fluent/TestcafeCheckSettings.js +0 -352
  44. package/lib/frames/Frame.js +0 -149
  45. package/lib/frames/FrameChain.js +0 -175
  46. package/lib/getCaptureDomScript.js +0 -14
  47. package/lib/hash.js +0 -15
  48. package/lib/isTestcafeSelector.js +0 -7
  49. package/lib/makeClientFunctionWrapper.js +0 -61
  50. package/lib/positioning/CssTranslatePositionMemento.js +0 -39
  51. package/lib/positioning/CssTranslatePositionProvider.js +0 -130
  52. package/lib/positioning/ElementPositionMemento.js +0 -36
  53. package/lib/positioning/ElementPositionProvider.js +0 -88
  54. package/lib/positioning/FirefoxRegionPositionCompensation.js +0 -45
  55. package/lib/positioning/ImageRotation.js +0 -22
  56. package/lib/positioning/OverflowAwareCssTranslatePositionProvider.js +0 -17
  57. package/lib/positioning/OverflowAwareScrollPositionProvider.js +0 -17
  58. package/lib/positioning/RegionPositionCompensationFactory.js +0 -37
  59. package/lib/positioning/SafariRegionPositionCompensation.js +0 -26
  60. package/lib/positioning/ScrollPositionMemento.js +0 -36
  61. package/lib/positioning/ScrollPositionProvider.js +0 -118
  62. package/lib/positioning/fixImageMarkPosition.js +0 -36
  63. package/lib/regionVisibility/MoveToRegionVisibilityStrategy.js +0 -55
  64. package/lib/regionVisibility/NopRegionVisibilityStrategy.js +0 -35
  65. package/lib/regionVisibility/RegionVisibilityStrategy.js +0 -30
  66. package/lib/runner/ClassicRunner.js +0 -49
  67. package/lib/runner/EyesRunner.js +0 -41
  68. package/lib/runner/TestResultContainer.js +0 -38
  69. package/lib/runner/TestResultsSummary.js +0 -112
  70. package/lib/runner/VisualGridRunner.js +0 -57
  71. package/lib/safeExecuteFunction.js +0 -28
  72. package/lib/wrappers/EyesTargetLocator.js +0 -335
  73. package/lib/wrappers/EyesWebDriver.js +0 -571
  74. package/lib/wrappers/EyesWebElement.js +0 -383
  75. package/lib/wrappers/EyesWebElementPromise.js +0 -68
package/CHANGELOG.md ADDED
@@ -0,0 +1,540 @@
1
+ # Change Log
2
+
3
+ ## Unreleased
4
+
5
+
6
+
7
+
8
+
9
+
10
+
11
+
12
+
13
+
14
+
15
+
16
+ ## [3.0.0](https://github.com/applitools/eyes.sdk.javascript1/compare/js/eyes-testcafe-v2.0.1...js/eyes-testcafe@3.0.0) (2023-09-29)
17
+
18
+
19
+ ### ⚠ BREAKING CHANGES
20
+
21
+ * drop support of node <16
22
+
23
+ ### Features
24
+
25
+ * drop support of node &lt;16 ([e743d81](https://github.com/applitools/eyes.sdk.javascript1/commit/e743d814cbd3725dde1304a36a31ccf7d88b16bc))
26
+ * update testcafe ([#1884](https://github.com/applitools/eyes.sdk.javascript1/issues/1884)) ([104f1b6](https://github.com/applitools/eyes.sdk.javascript1/commit/104f1b6cc0d4f107ba46404383de2fa11fe99dcf))
27
+
28
+
29
+ ### Code Refactoring
30
+
31
+ * refactored spec driver interface ([#1839](https://github.com/applitools/eyes.sdk.javascript1/issues/1839)) ([aa49ec2](https://github.com/applitools/eyes.sdk.javascript1/commit/aa49ec2a7d14b8529acc3a8a4c2baecfa113d98a))
32
+ * use Uint8Array instead of Buffer for binary data representation ([#1928](https://github.com/applitools/eyes.sdk.javascript1/issues/1928)) ([d1472ab](https://github.com/applitools/eyes.sdk.javascript1/commit/d1472ab8fd49e9a240e99a44dbf1d180b6c7a54b))
33
+
34
+
35
+ ### Dependencies
36
+
37
+ * @applitools/spec-driver-webdriver bumped to 1.0.47
38
+
39
+ * @applitools/spec-driver-selenium bumped to 1.5.61
40
+
41
+ * @applitools/spec-driver-puppeteer bumped to 1.2.3
42
+
43
+ * @applitools/driver bumped to 1.14.3
44
+ #### Bug Fixes
45
+
46
+ * force native on get environment ([#1939](https://github.com/applitools/eyes.sdk.javascript1/issues/1939)) ([f42854e](https://github.com/applitools/eyes.sdk.javascript1/commit/f42854eacc769751447204143cb4d50113edc732))
47
+ * @applitools/screenshoter bumped to 3.8.13
48
+ #### Bug Fixes
49
+
50
+ * force native on get environment ([#1939](https://github.com/applitools/eyes.sdk.javascript1/issues/1939)) ([f42854e](https://github.com/applitools/eyes.sdk.javascript1/commit/f42854eacc769751447204143cb4d50113edc732))
51
+
52
+
53
+
54
+ * @applitools/nml-client bumped to 1.5.13
55
+
56
+ * @applitools/ec-client bumped to 1.7.12
57
+ #### Bug Fixes
58
+
59
+ * change expiration time of the tunnel ([c019241](https://github.com/applitools/eyes.sdk.javascript1/commit/c0192411410135b23f3ae47dd62fbef67be66f1a))
60
+
61
+
62
+ #### Code Refactoring
63
+
64
+ * refactored spec driver interface ([#1839](https://github.com/applitools/eyes.sdk.javascript1/issues/1839)) ([aa49ec2](https://github.com/applitools/eyes.sdk.javascript1/commit/aa49ec2a7d14b8529acc3a8a4c2baecfa113d98a))
65
+ * use Uint8Array instead of Buffer for binary data representation ([#1928](https://github.com/applitools/eyes.sdk.javascript1/issues/1928)) ([d1472ab](https://github.com/applitools/eyes.sdk.javascript1/commit/d1472ab8fd49e9a240e99a44dbf1d180b6c7a54b))
66
+
67
+
68
+
69
+ * @applitools/core-base bumped to 1.7.1
70
+ #### Bug Fixes
71
+
72
+ * send domMapping payload with correct content encoding ([2bc8e39](https://github.com/applitools/eyes.sdk.javascript1/commit/2bc8e390de1d147d84d1de24df337b8652547b6a))
73
+ * @applitools/core bumped to 3.11.5
74
+
75
+ * @applitools/eyes bumped to 1.10.0
76
+ #### Features
77
+
78
+ * added more iOS devices ([a84311f](https://github.com/applitools/eyes.sdk.javascript1/commit/a84311f88e6f532268543a96f841ae5ad87d5659))
79
+ * rework log event on opent eyes ([#1842](https://github.com/applitools/eyes.sdk.javascript1/issues/1842)) ([532756b](https://github.com/applitools/eyes.sdk.javascript1/commit/532756b75c1023967c3781316148c890dbcfaac8))
80
+
81
+
82
+ #### Code Refactoring
83
+
84
+ * refactored spec driver interface ([#1839](https://github.com/applitools/eyes.sdk.javascript1/issues/1839)) ([aa49ec2](https://github.com/applitools/eyes.sdk.javascript1/commit/aa49ec2a7d14b8529acc3a8a4c2baecfa113d98a))
85
+
86
+
87
+
88
+
89
+ ## [2.0.0](https://github.com/applitools/eyes.sdk.javascript1/compare/js/eyes-testcafe-v1.17.4...js/eyes-testcafe@2.0.0) (2023-09-25)
90
+
91
+
92
+ ### ⚠ BREAKING CHANGES
93
+
94
+ * drop support of node <16
95
+
96
+ ### Features
97
+
98
+ * drop support of node &lt;16 ([e743d81](https://github.com/applitools/eyes.sdk.javascript1/commit/e743d814cbd3725dde1304a36a31ccf7d88b16bc))
99
+ * update testcafe ([#1884](https://github.com/applitools/eyes.sdk.javascript1/issues/1884)) ([104f1b6](https://github.com/applitools/eyes.sdk.javascript1/commit/104f1b6cc0d4f107ba46404383de2fa11fe99dcf))
100
+
101
+
102
+ ### Code Refactoring
103
+
104
+ * refactored spec driver interface ([#1839](https://github.com/applitools/eyes.sdk.javascript1/issues/1839)) ([aa49ec2](https://github.com/applitools/eyes.sdk.javascript1/commit/aa49ec2a7d14b8529acc3a8a4c2baecfa113d98a))
105
+ * use Uint8Array instead of Buffer for binary data representation ([#1928](https://github.com/applitools/eyes.sdk.javascript1/issues/1928)) ([d1472ab](https://github.com/applitools/eyes.sdk.javascript1/commit/d1472ab8fd49e9a240e99a44dbf1d180b6c7a54b))
106
+
107
+
108
+ ### Dependencies
109
+
110
+ * @applitools/utils bumped to 1.6.1
111
+ #### Bug Fixes
112
+
113
+ * add browser entry point declaration and test ([#1933](https://github.com/applitools/eyes.sdk.javascript1/issues/1933)) ([5ba0720](https://github.com/applitools/eyes.sdk.javascript1/commit/5ba0720d62a9af8a9a2e1c2437c569e6ab19afd8))
114
+
115
+
116
+ #### Code Refactoring
117
+
118
+ * use Uint8Array instead of Buffer for binary data representation ([#1928](https://github.com/applitools/eyes.sdk.javascript1/issues/1928)) ([d1472ab](https://github.com/applitools/eyes.sdk.javascript1/commit/d1472ab8fd49e9a240e99a44dbf1d180b6c7a54b))
119
+ * @applitools/logger bumped to 2.0.11
120
+ #### Bug Fixes
121
+
122
+ * add browser entry point declaration and test ([#1933](https://github.com/applitools/eyes.sdk.javascript1/issues/1933)) ([5ba0720](https://github.com/applitools/eyes.sdk.javascript1/commit/5ba0720d62a9af8a9a2e1c2437c569e6ab19afd8))
123
+
124
+
125
+
126
+ * @applitools/socket bumped to 1.1.11
127
+ #### Code Refactoring
128
+
129
+ * use Uint8Array instead of Buffer for binary data representation ([#1928](https://github.com/applitools/eyes.sdk.javascript1/issues/1928)) ([d1472ab](https://github.com/applitools/eyes.sdk.javascript1/commit/d1472ab8fd49e9a240e99a44dbf1d180b6c7a54b))
130
+
131
+
132
+
133
+ * @applitools/req bumped to 1.6.1
134
+ #### Bug Fixes
135
+
136
+ * add browser entry point declaration and test ([#1933](https://github.com/applitools/eyes.sdk.javascript1/issues/1933)) ([5ba0720](https://github.com/applitools/eyes.sdk.javascript1/commit/5ba0720d62a9af8a9a2e1c2437c569e6ab19afd8))
137
+
138
+
139
+
140
+ * @applitools/image bumped to 1.1.6
141
+ #### Code Refactoring
142
+
143
+ * use Uint8Array instead of Buffer for binary data representation ([#1928](https://github.com/applitools/eyes.sdk.javascript1/issues/1928)) ([d1472ab](https://github.com/applitools/eyes.sdk.javascript1/commit/d1472ab8fd49e9a240e99a44dbf1d180b6c7a54b))
144
+
145
+
146
+
147
+ * @applitools/spec-driver-puppeteer bumped to 1.2.2
148
+ #### Code Refactoring
149
+
150
+ * use Uint8Array instead of Buffer for binary data representation ([#1928](https://github.com/applitools/eyes.sdk.javascript1/issues/1928)) ([d1472ab](https://github.com/applitools/eyes.sdk.javascript1/commit/d1472ab8fd49e9a240e99a44dbf1d180b6c7a54b))
151
+
152
+
153
+
154
+ * @applitools/ufg-client bumped to 1.9.2
155
+ #### Code Refactoring
156
+
157
+ * use Uint8Array instead of Buffer for binary data representation ([#1928](https://github.com/applitools/eyes.sdk.javascript1/issues/1928)) ([d1472ab](https://github.com/applitools/eyes.sdk.javascript1/commit/d1472ab8fd49e9a240e99a44dbf1d180b6c7a54b))
158
+
159
+
160
+
161
+ * @applitools/core bumped to 3.11.2
162
+ #### Reverts
163
+
164
+ * perform major changes ([994cd70](https://github.com/applitools/eyes.sdk.javascript1/commit/994cd703ebe891bf68aecd49d77b5fb119f6ebe8))
165
+
166
+
167
+ #### Code Refactoring
168
+
169
+ * use Uint8Array instead of Buffer for binary data representation ([#1928](https://github.com/applitools/eyes.sdk.javascript1/issues/1928)) ([d1472ab](https://github.com/applitools/eyes.sdk.javascript1/commit/d1472ab8fd49e9a240e99a44dbf1d180b6c7a54b))
170
+
171
+
172
+
173
+ * @applitools/spec-driver-webdriver bumped to 1.0.46
174
+
175
+ * @applitools/spec-driver-selenium bumped to 1.5.60
176
+
177
+ * @applitools/driver bumped to 1.14.2
178
+ #### Code Refactoring
179
+
180
+ * use Uint8Array instead of Buffer for binary data representation ([#1928](https://github.com/applitools/eyes.sdk.javascript1/issues/1928)) ([d1472ab](https://github.com/applitools/eyes.sdk.javascript1/commit/d1472ab8fd49e9a240e99a44dbf1d180b6c7a54b))
181
+
182
+
183
+
184
+ * @applitools/screenshoter bumped to 3.8.12
185
+
186
+ * @applitools/nml-client bumped to 1.5.12
187
+ #### Code Refactoring
188
+
189
+ * use Uint8Array instead of Buffer for binary data representation ([#1928](https://github.com/applitools/eyes.sdk.javascript1/issues/1928)) ([d1472ab](https://github.com/applitools/eyes.sdk.javascript1/commit/d1472ab8fd49e9a240e99a44dbf1d180b6c7a54b))
190
+
191
+
192
+
193
+ * @applitools/tunnel-client bumped to 1.2.3
194
+ #### Code Refactoring
195
+
196
+ * use Uint8Array instead of Buffer for binary data representation ([#1928](https://github.com/applitools/eyes.sdk.javascript1/issues/1928)) ([d1472ab](https://github.com/applitools/eyes.sdk.javascript1/commit/d1472ab8fd49e9a240e99a44dbf1d180b6c7a54b))
197
+
198
+
199
+
200
+ * @applitools/ec-client bumped to 1.7.10
201
+ #### Code Refactoring
202
+
203
+ * use Uint8Array instead of Buffer for binary data representation ([#1928](https://github.com/applitools/eyes.sdk.javascript1/issues/1928)) ([d1472ab](https://github.com/applitools/eyes.sdk.javascript1/commit/d1472ab8fd49e9a240e99a44dbf1d180b6c7a54b))
204
+
205
+
206
+
207
+ * @applitools/core-base bumped to 1.6.1
208
+ #### Reverts
209
+
210
+ * perform major changes ([994cd70](https://github.com/applitools/eyes.sdk.javascript1/commit/994cd703ebe891bf68aecd49d77b5fb119f6ebe8))
211
+
212
+
213
+ #### Code Refactoring
214
+
215
+ * use Uint8Array instead of Buffer for binary data representation ([#1928](https://github.com/applitools/eyes.sdk.javascript1/issues/1928)) ([d1472ab](https://github.com/applitools/eyes.sdk.javascript1/commit/d1472ab8fd49e9a240e99a44dbf1d180b6c7a54b))
216
+
217
+
218
+
219
+ * @applitools/eyes bumped to 1.9.1
220
+
221
+
222
+ ## [1.1.1](https://github.com/applitools/eyes.sdk.javascript1/compare/js/eyes-testcafe@1.1.0...js/eyes-testcafe@1.1.1) (2023-09-12)
223
+
224
+
225
+ ### Dependencies
226
+
227
+ * @applitools/core bumped to 3.10.4
228
+ #### Bug Fixes
229
+
230
+ * update dom-snapshot to support xml pages and parens inside css URLs ([0715d56](https://github.com/applitools/eyes.sdk.javascript1/commit/0715d56c675b23be017c1985cbba3a51aba052b1))
231
+ * @applitools/eyes bumped to 1.8.4
232
+
233
+
234
+ ## [1.1.0](https://github.com/applitools/eyes.sdk.javascript1/compare/js/eyes-testcafe-v1.0.1...js/eyes-testcafe@1.1.0) (2023-09-11)
235
+
236
+
237
+ ### Features
238
+
239
+ * update testcafe ([#1884](https://github.com/applitools/eyes.sdk.javascript1/issues/1884)) ([104f1b6](https://github.com/applitools/eyes.sdk.javascript1/commit/104f1b6cc0d4f107ba46404383de2fa11fe99dcf))
240
+
241
+
242
+ ### Code Refactoring
243
+
244
+ * refactored spec driver interface ([#1839](https://github.com/applitools/eyes.sdk.javascript1/issues/1839)) ([aa49ec2](https://github.com/applitools/eyes.sdk.javascript1/commit/aa49ec2a7d14b8529acc3a8a4c2baecfa113d98a))
245
+
246
+
247
+ ### Dependencies
248
+
249
+ * @applitools/core bumped to 3.10.3
250
+ #### Bug Fixes
251
+
252
+ * suppport coded regions with layoutBreakpoints reload ([7903347](https://github.com/applitools/eyes.sdk.javascript1/commit/79033472b9475992a44cf3828ff334c958ae2066))
253
+ * @applitools/eyes bumped to 1.8.3
254
+
255
+
256
+ ## 1.0.0 (2023-09-04)
257
+
258
+
259
+ ### Features
260
+
261
+ * update testcafe ([#1884](https://github.com/applitools/eyes.sdk.javascript1/issues/1884)) ([104f1b6](https://github.com/applitools/eyes.sdk.javascript1/commit/104f1b6cc0d4f107ba46404383de2fa11fe99dcf))
262
+
263
+
264
+ ### Code Refactoring
265
+
266
+ * refactored spec driver interface ([#1839](https://github.com/applitools/eyes.sdk.javascript1/issues/1839)) ([aa49ec2](https://github.com/applitools/eyes.sdk.javascript1/commit/aa49ec2a7d14b8529acc3a8a4c2baecfa113d98a))
267
+
268
+
269
+ ### Dependencies
270
+
271
+ * @applitools/utils bumped to 1.6.0
272
+ #### Features
273
+
274
+ * add support for fallback in `req` ([#1899](https://github.com/applitools/eyes.sdk.javascript1/issues/1899)) ([d69c4b5](https://github.com/applitools/eyes.sdk.javascript1/commit/d69c4b5830370c471dfc25b6e2caddca8b458df9))
275
+ * @applitools/socket bumped to 1.1.10
276
+
277
+ * @applitools/req bumped to 1.6.0
278
+ #### Features
279
+
280
+ * add support for fallback in `req` ([#1899](https://github.com/applitools/eyes.sdk.javascript1/issues/1899)) ([d69c4b5](https://github.com/applitools/eyes.sdk.javascript1/commit/d69c4b5830370c471dfc25b6e2caddca8b458df9))
281
+ * update testcafe ([#1884](https://github.com/applitools/eyes.sdk.javascript1/issues/1884)) ([104f1b6](https://github.com/applitools/eyes.sdk.javascript1/commit/104f1b6cc0d4f107ba46404383de2fa11fe99dcf))
282
+
283
+
284
+
285
+ * @applitools/image bumped to 1.1.5
286
+
287
+ * @applitools/spec-driver-webdriver bumped to 1.0.44
288
+
289
+ * @applitools/spec-driver-selenium bumped to 1.5.58
290
+
291
+ * @applitools/spec-driver-puppeteer bumped to 1.2.0
292
+ #### Features
293
+
294
+ * update testcafe ([#1884](https://github.com/applitools/eyes.sdk.javascript1/issues/1884)) ([104f1b6](https://github.com/applitools/eyes.sdk.javascript1/commit/104f1b6cc0d4f107ba46404383de2fa11fe99dcf))
295
+
296
+
297
+
298
+ * @applitools/ufg-client bumped to 1.8.0
299
+ #### Features
300
+
301
+ * add support for fallback in `req` ([#1899](https://github.com/applitools/eyes.sdk.javascript1/issues/1899)) ([d69c4b5](https://github.com/applitools/eyes.sdk.javascript1/commit/d69c4b5830370c471dfc25b6e2caddca8b458df9))
302
+
303
+
304
+
305
+ * @applitools/logger bumped to 2.0.10
306
+
307
+ * @applitools/driver bumped to 1.14.0
308
+ #### Features
309
+
310
+ * update testcafe ([#1884](https://github.com/applitools/eyes.sdk.javascript1/issues/1884)) ([104f1b6](https://github.com/applitools/eyes.sdk.javascript1/commit/104f1b6cc0d4f107ba46404383de2fa11fe99dcf))
311
+
312
+
313
+
314
+ * @applitools/screenshoter bumped to 3.8.10
315
+
316
+ * @applitools/nml-client bumped to 1.5.10
317
+
318
+ * @applitools/tunnel-client bumped to 1.2.2
319
+
320
+ * @applitools/ec-client bumped to 1.7.7
321
+
322
+ * @applitools/core-base bumped to 1.5.3
323
+
324
+ * @applitools/core bumped to 3.10.1
325
+
326
+ * @applitools/eyes bumped to 1.8.1
327
+
328
+
329
+ ## 1.17.4 - 2022/8/25
330
+
331
+ ### Features
332
+ - Don't fail `eyes.open` when there is a failure to set viewport size in `UFG`.
333
+ ### Bug fixes
334
+ - Added `next` sub-module to support `index.d.ts`. added it both with `exports` and `typesVersions`
335
+ - fix selector issue in `testcafe`, the selector and the element are the same and once there are multi selector the it's only peak the element
336
+
337
+ ## 1.17.3 - 2022/7/28
338
+
339
+ ### Features
340
+ - Add the ability for the SDK to lazy load the page prior to performing a check window
341
+ - Support padding for regions in the following region types - ignoreRegions, layoutRegions, strictRegions, contentRegions
342
+ ### Bug fixes
343
+ - Fix calling `waitBeforeCapture` when failed to set required viewport size
344
+ - Fix rendering issues with Salesforce Lightning design system
345
+ - Fix issue that prevented self-signed certificates from working when connecting through a proxy server
346
+ - Allow configuration file to be loaded from ancestor directories
347
+ - Fixed bug where a failure in a single UFG environment fails all other environments in the same configuration
348
+ - Better support in DOM slot element
349
+
350
+ ## 1.17.2 - 2022/6/8
351
+
352
+ ### Features
353
+ - Allowed `` values in custom properties
354
+ ### Bug fixes
355
+ - Fixed broken links to enums implementation in the README.md
356
+ - Fixed `forceFullPageScreenshot` option behavior
357
+
358
+ ## 1.17.1 - 2022/6/2
359
+
360
+ ### Features
361
+ ### Bug fixes
362
+ - Fix rounding error of image size when scaling introduces fractions
363
+
364
+ ## 1.17.0 - 2022/6/1
365
+
366
+ ### Features
367
+ - Dorp support for Node.js versions <=12
368
+ ### Bug fixes
369
+ - Fixed incorrect calculation of coded regions in classic mode when using CSS stitching
370
+
371
+ ## 1.16.2 - 2022/5/27
372
+
373
+ ### Features
374
+ ### Bug fixes
375
+ - Fixed `CheckSetting`'s `fully` being overridden by `Configuration`'s `forceFullPageScreenshot`
376
+ - Set EyesExceptions (such as new test, diffs exception and failed test exception) to exception property in TestResultsSummary
377
+ - Returned support of `showLogs` in configuration file and object
378
+ - Improve error message when failed to set viewport size
379
+
380
+ ## 1.16.1 - 2022/5/19
381
+
382
+ ### Features
383
+ - Support Galaxy S22 `DeviceName.Galaxy_S22` emulation device
384
+ ### Bug fixes
385
+ - Fixed the error with importing `testcafe` module
386
+
387
+ ## 1.16.0 - 2022/5/17
388
+
389
+ ### Features
390
+ - Support UFG for native mobile
391
+ - `runner.getAllTestResults` returns the corresponding UFG browser/device configuration for each test. This is available as `runner.getAllTestResults()[i].browserInfo`.
392
+ - Support `failTestcafeOnDiff` as environment variable `APPLITOOLS_FAIL_TESTCAFE_ON_DIFF`
393
+ - Support iPhone SE `IosDeviceName.iPhone_SE` and iPhone 8 Plus `IosDeviceName.iPhone_8_Plus` iOS devices
394
+ ### Bug fixes
395
+ - `runner.getAllTestResults` now aborts unclosed tests
396
+ - `runner.getAllTestResults` now returns all results, including aborted tests
397
+ - `extractText` now supports regions that don't use hints while using `x`/`y` coordinates
398
+ - Support data urls in iframes
399
+
400
+ ## 1.15.5 - 2022/2/22
401
+
402
+ - add support for configuring notifyOnCompletion through an environment variable ([Trello](https://trello.com/c/WWdwQvpv))
403
+ - updated to @applitools/eyes-sdk-core@13.0.6 (from 13.0.5)
404
+ - updated to @applitools/visual-grid-client@15.9.0 (from 15.8.65)
405
+
406
+ ## 1.15.4 - 2022/2/16
407
+
408
+ - fixing: Screenshotter dependency consuming 40+ MB of space
409
+ - updated to @applitools/eyes-api@1.1.8 (from 1.1.7)
410
+ - updated to @applitools/eyes-sdk-core@13.0.5 (from 13.0.0)
411
+ - updated to @applitools/utils@1.2.13 (from 1.2.11)
412
+ - updated to @applitools/visual-grid-client@15.8.65 (from 15.8.62)
413
+ - updated to @applitools/visual-grid-client@15.8.65 (from 15.8.62)
414
+ ## 1.15.3 - 2022/1/24
415
+
416
+ - updated 'Agent ID' to 'eyes.testcafe' (from 'eyes.webdriverio')
417
+ - updated to @applitools/eyes-api@1.1.7 (from 1.1.6)
418
+ - updated to @applitools/eyes-sdk-core@13.0.0 (from 12.24.13)
419
+ - updated to @applitools/visual-grid-client@15.8.62 (from 15.8.60)
420
+
421
+ ## 1.15.2 - 2022/1/14
422
+
423
+ - remove `esModuleInterop` ts compile option
424
+
425
+ ## 1.15.1 - 2022/1/13
426
+
427
+ - set failTestcafeOnDiff default value to true
428
+ - updated to @applitools/eyes-api@1.1.6 (from 1.1.0)
429
+ - updated to @applitools/eyes-sdk-core@12.24.9 (from 12.23.3)
430
+ - updated to @applitools/utils@1.2.11 (from 1.2.2)
431
+ - updated to @applitools/visual-grid-client@15.8.55 (from 15.8.24)
432
+ - updated to @applitools/eyes-sdk-core@12.24.13 (from 12.24.9)
433
+ - updated to @applitools/visual-grid-client@15.8.60 (from 15.8.55)
434
+
435
+ ## 1.15.0 - 2021/9/6
436
+
437
+ - updated to @applitools/eyes-api@1.1.0 (from 1.0.7)
438
+ - updated to @applitools/eyes-sdk-core@12.23.3 (from 12.21.5)
439
+ - updated to @applitools/utils@1.2.2 (from 1.2.0)
440
+ - updated to @applitools/visual-grid-client@15.8.24 (from 15.8.13)
441
+
442
+ ## 1.14.3 - 2021/7/14
443
+
444
+ - fix issue with `Eyes` being exported as a type from legacy type definition file
445
+
446
+ ## 1.14.2 - 2021/7/14
447
+
448
+ - introduced @applitools/eyes-api package with new api
449
+ - updated to @applitools/eyes-api@1.0.7 (from 1.0.3)
450
+ - updated to @applitools/eyes-sdk-core@12.21.5 (from 12.20.0)
451
+ - updated to @applitools/visual-grid-client@15.8.13 (from 15.8.7)
452
+
453
+ ## 1.14.1 - 2021/5/25
454
+
455
+ - added full typescript support
456
+ - introduced @applitools/eyes-api package with new api
457
+ - updated to @applitools/eyes-api@1.0.3 (from 1.0.1)
458
+ - updated to @applitools/eyes-sdk-core@12.20.0 (from 12.19.3)
459
+ - updated to @applitools/utils@1.2.0 (from 1.1.3)
460
+ - updated to @applitools/visual-grid-client@15.8.7 (from 15.8.6)
461
+
462
+ ## 1.14.0 - 2021/5/13
463
+
464
+ - added full typescript support
465
+ - introduced @applitools/eyes-api package with new api
466
+ - updated to @applitools/eyes-api@1.0.1 (from 0.0.2)
467
+ - updated to @applitools/eyes-sdk-core@12.19.3 (from 12.14.2)
468
+ - updated to @applitools/utils@1.1.3 (from 1.1.0)
469
+ - updated to @applitools/visual-grid-client@15.8.6 (from 15.5.14)
470
+
471
+ ## 1.13.1 - 2021/4/22
472
+
473
+ - fix types for eyes open
474
+ - updated to @applitools/visual-grid-client@15.8.1 (from 15.8.0)
475
+
476
+ ## 1.13.0 - 2021/4/22
477
+
478
+ - updated to @applitools/visual-grid-client@15.8.0 (from 15.7.1)
479
+
480
+ ## 1.12.8 - 2021/4/6
481
+
482
+ - updated to @applitools/eyes-sdk-core@12.17.2 (from 12.16.0)
483
+ - updated to @applitools/visual-grid-client@15.7.1 (from 15.6.0)
484
+
485
+ ## 1.12.7 - 2021/3/15
486
+
487
+ - updated to @applitools/eyes-sdk-core@12.16.0 (from 12.15.0)
488
+
489
+ ## 1.12.6 - 2021/3/3
490
+
491
+ - fix bug that prevented window resizing from working reliably ([Trello](https://trello.com/c/xNCZNfPi))
492
+ - updated to @applitools/eyes-sdk-core@12.15.0 (from 12.14.10)
493
+ - updated to @applitools/visual-grid-client@15.6.0 (from 15.5.20)
494
+
495
+ ## 1.12.5 - 2021/2/2
496
+
497
+ - fix default checkWindow behavior- take full page when no target is specified
498
+ - set minimum supported Node version to be consistent with other SDKs (8.9)
499
+ - updated to @applitools/eyes-sdk-core@12.14.7 (from 12.14.2)
500
+ - updated to @applitools/visual-grid-client@15.5.20 (from 15.5.13)
501
+
502
+ ## 1.12.4 - 2021/1/27
503
+
504
+ - chore: add husky
505
+ - update peer dependency version of testcafe to include earlier versions (e.g., 1.7.x)
506
+ - fix issue where the browser is in an invalid state but eyes.open tries to proceed ([Trello](https://trello.com/c/xNCZNfPi))
507
+ - updated to @applitools/eyes-sdk-core@12.14.2 (from 12.13.0)
508
+ - updated to @applitools/visual-grid-client@15.5.13 (from 15.5.6)
509
+
510
+ ## 1.12.3 - 2021/1/13
511
+
512
+ - fix for fetching font-face resources from stylesheets [Trello](https://trello.com/c/DwmxtRoR)
513
+ - updated to @applitools/eyes-sdk-core@12.13.0 (from 12.12.2)
514
+ - updated to @applitools/visual-grid-client@15.5.6 (from 15.5.5)
515
+
516
+ ## 1.12.2 - 2021/1/11
517
+
518
+ - fixed default checkWindow behavior (when no options are provided) to respect backwards compatibility -- so it captures a full page screenshot instead of just the viewport
519
+ - fixed bug in specifying a tag name in checkWindow
520
+ - updated to @applitools/eyes-sdk-core@12.12.2 (from 12.12.1)
521
+ - updated to @applitools/visual-grid-client@15.5.5 (from 15.5.4)
522
+
523
+ ## 1.12.1 - 2021/1/9
524
+
525
+ - fix performance issue with checkWindow command when used on pages of a non-trivial size
526
+ - updated to @applitools/eyes-sdk-core@12.12.1 (from 12.12.0)
527
+ - updated to @applitools/visual-grid-client@15.5.4 (from 15.5.3)
528
+
529
+ ## 1.12.0 - 2021/1/9
530
+
531
+ - Updated SDK to use new core with backwards compatibility for existing API [Trello](https://trello.com/c/MZimmaSV)
532
+ - Added support for new Eyes concurrency model [Trello](https://trello.com/c/a7xq2hlL)
533
+ - Added JS layout support [Trello](https://trello.com/c/9dzS8FhB)
534
+ - Added CORS iframe support [Trello](https://trello.com/c/wPl3ef7y)
535
+ - Fix bugs in fetching resources due to TestCafe reverse proxy URLs [Trello](https://trello.com/c/nlMUhJTp)
536
+ - updated to @applitools/visual-grid-client@15.5.3 (from 15.5.0)
537
+
538
+ ## earlier versions
539
+
540
+ - omitted
package/LICENSE CHANGED
@@ -1,4 +1,4 @@
1
- - -
1
+ - -
2
2
  SDK LICENSE AGREEMENT
3
3
  IMPORTANT - PLEASE READ CAREFULLY THE TERMS OF THIS LICENSE AGREEMENT (“AGREEMENT”). BY INSTALLING, ACCESSING AND/OR USING THE SOFTWARE (AS DEFINED BELOW), YOU EXPRESSLY ACKNOWLEDGE AND AGREE THAT YOU, OR THE COMPANY YOU REPRESENT, (“YOU” OR “LICENSEE”) ARE ENTERING INTO A LEGAL AGREEMENT WITH APPLITOOLS LTD. AND ITS AFFILIATES (“APPLITOOLS”), AND HAVE UNDERSTOOD AND AGREE TO COMPLY WITH, AND BE LEGALLY BOUND BY, THE TERMS AND CONDITIONS OF THIS AGREEMENT. YOU HEREBY WAIVE ANY RIGHTS OR REQUIREMENTS UNDER ANY LAWS OR REGULATIONS IN ANY JURISDICTION WHICH REQUIRE AN ORIGINAL (NON-ELECTRONIC) SIGNATURE OR DELIVERY OR RETENTION OF NON-ELECTRONIC RECORDS, TO THE EXTENT PERMITTED UNDER APPLICABLE LAW.
4
4
  THE SOFTWARE MAY BE USED SOLELY FOR YOUR PERSONAL, NON-COMMERCIAL PURPOSES. FOR COMMERCIAL PURPOSES PLEASE CONTACT THE REGIONAL APPLITOOLS BUSINESS REPRESENTATIVE.