@applitools/eyes 1.20.1 → 1.22.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.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,221 @@
1
1
  # Changelog
2
2
 
3
+ ## [1.22.0](https://github.com/Applitools-Dev/sdk/compare/js/eyes@1.21.0...js/eyes@1.22.0) (2024-07-23)
4
+
5
+
6
+ ### Features
7
+
8
+ * disable broker url cache ([#2428](https://github.com/Applitools-Dev/sdk/issues/2428)) ([cb8d5fe](https://github.com/Applitools-Dev/sdk/commit/cb8d5fefb13d3ab42984d2bd4d4ac3d4e10646b0))
9
+
10
+
11
+ ### Dependencies
12
+
13
+ * @applitools/driver bumped to 1.18.0
14
+ #### Features
15
+
16
+ * disable broker url cache ([#2428](https://github.com/Applitools-Dev/sdk/issues/2428)) ([cb8d5fe](https://github.com/Applitools-Dev/sdk/commit/cb8d5fefb13d3ab42984d2bd4d4ac3d4e10646b0))
17
+
18
+
19
+ #### Bug Fixes
20
+
21
+ * executing web script on mobile environment ([#2380](https://github.com/Applitools-Dev/sdk/issues/2380)) ([da2e551](https://github.com/Applitools-Dev/sdk/commit/da2e551e01082d3cc21b9da5b43e6680233c080d))
22
+ * @applitools/spec-driver-webdriver bumped to 1.1.11
23
+
24
+ * @applitools/spec-driver-selenium bumped to 1.5.82
25
+
26
+ * @applitools/screenshoter bumped to 3.8.35
27
+
28
+ * @applitools/ufg-client bumped to 1.12.3
29
+ #### Bug Fixes
30
+
31
+ * update makeUploadResource to include apiKey in the cache key ([#2411](https://github.com/Applitools-Dev/sdk/issues/2411)) ([4114c58](https://github.com/Applitools-Dev/sdk/commit/4114c58ec16fa855374b23810cef1e36d4bb53a7))
32
+
33
+
34
+ #### Performance Improvements
35
+
36
+ * trim file content when logging it ([#2437](https://github.com/Applitools-Dev/sdk/issues/2437)) ([02ec1f7](https://github.com/Applitools-Dev/sdk/commit/02ec1f79a323af2e89a7428b75212707c761d1ca))
37
+ * @applitools/spec-driver-puppeteer bumped to 1.4.11
38
+
39
+ * @applitools/nml-client bumped to 1.8.9
40
+
41
+ * @applitools/ec-client bumped to 1.9.3
42
+
43
+ * @applitools/core bumped to 4.18.0
44
+ #### Features
45
+
46
+ * disable broker url cache ([#2428](https://github.com/Applitools-Dev/sdk/issues/2428)) ([cb8d5fe](https://github.com/Applitools-Dev/sdk/commit/cb8d5fefb13d3ab42984d2bd4d4ac3d4e10646b0))
47
+
48
+
49
+
50
+
51
+ ## [1.21.0](https://github.com/Applitools-Dev/sdk/compare/js/eyes@1.20.1...js/eyes@1.21.0) (2024-06-26)
52
+
53
+
54
+ ### Features
55
+
56
+ * 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))
57
+
58
+
59
+ ### Bug Fixes
60
+
61
+ * tunnel client ([670b184](https://github.com/Applitools-Dev/sdk/commit/670b1843ce43347d97e19fa02f8bc630332ff414))
62
+
63
+
64
+ ### Dependencies
65
+
66
+ * @applitools/utils bumped to 1.7.4
67
+ #### Bug Fixes
68
+
69
+ * tunnel client ([670b184](https://github.com/Applitools-Dev/sdk/commit/670b1843ce43347d97e19fa02f8bc630332ff414))
70
+ * @applitools/logger bumped to 2.0.18
71
+ #### Bug Fixes
72
+
73
+ * tunnel client ([670b184](https://github.com/Applitools-Dev/sdk/commit/670b1843ce43347d97e19fa02f8bc630332ff414))
74
+
75
+
76
+
77
+ * @applitools/socket bumped to 1.1.18
78
+ #### Bug Fixes
79
+
80
+ * tunnel client ([670b184](https://github.com/Applitools-Dev/sdk/commit/670b1843ce43347d97e19fa02f8bc630332ff414))
81
+
82
+
83
+
84
+ * @applitools/req bumped to 1.7.2
85
+ #### Bug Fixes
86
+
87
+ * tunnel client ([670b184](https://github.com/Applitools-Dev/sdk/commit/670b1843ce43347d97e19fa02f8bc630332ff414))
88
+
89
+
90
+
91
+ * @applitools/image bumped to 1.1.13
92
+ #### Bug Fixes
93
+
94
+ * tunnel client ([670b184](https://github.com/Applitools-Dev/sdk/commit/670b1843ce43347d97e19fa02f8bc630332ff414))
95
+
96
+
97
+
98
+ * @applitools/snippets bumped to 2.4.27
99
+ #### Bug Fixes
100
+
101
+ * tunnel client ([670b184](https://github.com/Applitools-Dev/sdk/commit/670b1843ce43347d97e19fa02f8bc630332ff414))
102
+ * @applitools/css-tree bumped to 1.1.4
103
+ #### Bug Fixes
104
+
105
+ * tunnel client ([670b184](https://github.com/Applitools-Dev/sdk/commit/670b1843ce43347d97e19fa02f8bc630332ff414))
106
+ * @applitools/dom-shared bumped to 1.0.15
107
+ #### Bug Fixes
108
+
109
+ * tunnel client ([670b184](https://github.com/Applitools-Dev/sdk/commit/670b1843ce43347d97e19fa02f8bc630332ff414))
110
+ * @applitools/dom-capture bumped to 11.3.0
111
+ #### Features
112
+
113
+ * add cliet rects to text nodes ([#2188](https://github.com/Applitools-Dev/sdk/issues/2188)) ([0d4180e](https://github.com/Applitools-Dev/sdk/commit/0d4180e8e362669b36a27955121caae5575918f7))
114
+ * 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))
115
+
116
+
117
+ #### Bug Fixes
118
+
119
+ * tunnel client ([670b184](https://github.com/Applitools-Dev/sdk/commit/670b1843ce43347d97e19fa02f8bc630332ff414))
120
+
121
+
122
+
123
+ * @applitools/dom-snapshot bumped to 4.11.3
124
+ #### Bug Fixes
125
+
126
+ * tunnel client ([670b184](https://github.com/Applitools-Dev/sdk/commit/670b1843ce43347d97e19fa02f8bc630332ff414))
127
+
128
+
129
+
130
+ * @applitools/spec-driver-webdriver bumped to 1.1.10
131
+ #### Bug Fixes
132
+
133
+ * tunnel client ([670b184](https://github.com/Applitools-Dev/sdk/commit/670b1843ce43347d97e19fa02f8bc630332ff414))
134
+
135
+
136
+
137
+ * @applitools/spec-driver-selenium bumped to 1.5.81
138
+ #### Bug Fixes
139
+
140
+ * tunnel client ([670b184](https://github.com/Applitools-Dev/sdk/commit/670b1843ce43347d97e19fa02f8bc630332ff414))
141
+
142
+
143
+
144
+ * @applitools/spec-driver-puppeteer bumped to 1.4.10
145
+ #### Bug Fixes
146
+
147
+ * tunnel client ([670b184](https://github.com/Applitools-Dev/sdk/commit/670b1843ce43347d97e19fa02f8bc630332ff414))
148
+
149
+
150
+
151
+ * @applitools/driver bumped to 1.17.5
152
+ #### Bug Fixes
153
+
154
+ * tunnel client ([670b184](https://github.com/Applitools-Dev/sdk/commit/670b1843ce43347d97e19fa02f8bc630332ff414))
155
+
156
+
157
+
158
+ * @applitools/screenshoter bumped to 3.8.34
159
+ #### Bug Fixes
160
+
161
+ * tunnel client ([670b184](https://github.com/Applitools-Dev/sdk/commit/670b1843ce43347d97e19fa02f8bc630332ff414))
162
+
163
+
164
+
165
+ * @applitools/nml-client bumped to 1.8.8
166
+ #### Bug Fixes
167
+
168
+ * tunnel client ([670b184](https://github.com/Applitools-Dev/sdk/commit/670b1843ce43347d97e19fa02f8bc630332ff414))
169
+
170
+
171
+
172
+ * @applitools/tunnel-client bumped to 1.5.7
173
+ #### Bug Fixes
174
+
175
+ * tunnel client ([670b184](https://github.com/Applitools-Dev/sdk/commit/670b1843ce43347d97e19fa02f8bc630332ff414))
176
+
177
+
178
+
179
+ * @applitools/ufg-client bumped to 1.12.2
180
+ #### Bug Fixes
181
+
182
+ * tunnel client ([670b184](https://github.com/Applitools-Dev/sdk/commit/670b1843ce43347d97e19fa02f8bc630332ff414))
183
+
184
+
185
+
186
+ * @applitools/ec-client bumped to 1.9.2
187
+ #### Bug Fixes
188
+
189
+ * tunnel client ([670b184](https://github.com/Applitools-Dev/sdk/commit/670b1843ce43347d97e19fa02f8bc630332ff414))
190
+
191
+
192
+
193
+ * @applitools/core-base bumped to 1.16.0
194
+ #### Features
195
+
196
+ * 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))
197
+
198
+
199
+ #### Bug Fixes
200
+
201
+ * tunnel client ([670b184](https://github.com/Applitools-Dev/sdk/commit/670b1843ce43347d97e19fa02f8bc630332ff414))
202
+
203
+
204
+
205
+ * @applitools/core bumped to 4.17.0
206
+ #### Features
207
+
208
+ * 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))
209
+
210
+
211
+ #### Bug Fixes
212
+
213
+ * change core ([d12a246](https://github.com/Applitools-Dev/sdk/commit/d12a246723cf72def6335e8698e711a43bda9e6a))
214
+ * tunnel client ([670b184](https://github.com/Applitools-Dev/sdk/commit/670b1843ce43347d97e19fa02f8bc630332ff414))
215
+
216
+
217
+
218
+
3
219
  ## [1.20.1](https://github.com/Applitools-Dev/sdk/compare/js/eyes@1.20.0...js/eyes@1.20.1) (2024-05-28)
4
220
 
5
221
 
package/dist/Runners.js CHANGED
@@ -42,6 +42,7 @@ class EyesRunner {
42
42
  concurrency: options.testConcurrency,
43
43
  legacyConcurrency: options.legacyConcurrency,
44
44
  fetchConcurrency: options.fetchConcurrency,
45
+ removeDuplicateTests: options.removeDuplicateTests,
45
46
  };
46
47
  this._getResultsSettings = { removeDuplicateTests: options.removeDuplicateTests };
47
48
  }
@@ -969,6 +969,19 @@ class ConfigurationData {
969
969
  this.dontCloseBatches = dontCloseBatches;
970
970
  return this;
971
971
  }
972
+ get disableNMLUrlCache() {
973
+ return this._config.disableNMLUrlCache;
974
+ }
975
+ set disableNMLUrlCache(disableNMLUrlCache) {
976
+ this._config.disableNMLUrlCache = disableNMLUrlCache;
977
+ }
978
+ getDisableNMLUrlCache() {
979
+ return this.disableNMLUrlCache;
980
+ }
981
+ setDisableNMLUrlCache(disableNMLUrlCache) {
982
+ this.disableNMLUrlCache = disableNMLUrlCache;
983
+ return this;
984
+ }
972
985
  /** @internal */
973
986
  toObject() {
974
987
  return this._config;
@@ -1009,6 +1022,7 @@ class ConfigurationData {
1009
1022
  ignoreGitBranching: this.ignoreGitMergeBase,
1010
1023
  saveDiffs: this.saveDiffs,
1011
1024
  keepBatchOpen: this.dontCloseBatches,
1025
+ disableBrokerUrlCache: this.disableNMLUrlCache,
1012
1026
  }),
1013
1027
  screenshot: utils.general.removeUndefinedProps({
1014
1028
  fully: this.forceFullPageScreenshot,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@applitools/eyes",
3
- "version": "1.20.1",
3
+ "version": "1.22.0",
4
4
  "keywords": [
5
5
  "applitools",
6
6
  "eyes",
@@ -45,12 +45,12 @@
45
45
  "test": "run --top-level mocha './test/**/*.spec.ts'"
46
46
  },
47
47
  "dependencies": {
48
- "@applitools/core": "4.16.1",
49
- "@applitools/logger": "2.0.17",
50
- "@applitools/utils": "1.7.3"
48
+ "@applitools/core": "4.18.0",
49
+ "@applitools/logger": "2.0.18",
50
+ "@applitools/utils": "1.7.4"
51
51
  },
52
52
  "devDependencies": {
53
- "@applitools/req": "^1.7.1",
53
+ "@applitools/req": "^1.7.2",
54
54
  "@types/node": "^12.20.55"
55
55
  },
56
56
  "engines": {
@@ -84,6 +84,7 @@ export type Configuration<TSpec extends Core.SpecType = Core.SpecType> = {
84
84
  };
85
85
  disableBrowserFetching?: boolean;
86
86
  waitBeforeCapture?: number;
87
+ disableNMLUrlCache?: boolean;
87
88
  };
88
89
  export declare class ConfigurationData<TSpec extends Core.SpecType = Core.SpecType> implements Required<Configuration<TSpec>> {
89
90
  protected static readonly _spec: Core.SpecDriver<Core.SpecType>;
@@ -379,6 +380,10 @@ export declare class ConfigurationData<TSpec extends Core.SpecType = Core.SpecTy
379
380
  getDontCloseBatches(): boolean;
380
381
  /** @undocumented */
381
382
  setDontCloseBatches(dontCloseBatches: boolean): this;
383
+ get disableNMLUrlCache(): boolean;
384
+ set disableNMLUrlCache(disableNMLUrlCache: boolean);
385
+ getDisableNMLUrlCache(): boolean;
386
+ setDisableNMLUrlCache(disableNMLUrlCache: boolean): this;
382
387
  /** @internal */
383
388
  toObject(): Configuration<TSpec>;
384
389
  /** @internal */