@applitools/eyes 1.16.2 → 1.18.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,151 @@
1
1
  # Changelog
2
2
 
3
+ ## [1.18.0](https://github.com/Applitools-Dev/sdk/compare/js/eyes-v1.17.2...js/eyes@1.18.0) (2024-04-15)
4
+
5
+
6
+ ### Features
7
+
8
+ * add Eyes.getResults method ([#2046](https://github.com/Applitools-Dev/sdk/issues/2046)) ([#2069](https://github.com/Applitools-Dev/sdk/issues/2069)) ([4d263e1](https://github.com/Applitools-Dev/sdk/commit/4d263e19cb5e5708790a1a7ef90ff8f3eee50d91))
9
+ * Add GitMergeBaseTimestamp support ([#2281](https://github.com/Applitools-Dev/sdk/issues/2281)) ([5489608](https://github.com/Applitools-Dev/sdk/commit/54896085445663a51b5e5595a2517e48fa8736f3))
10
+ * added `enableEyesLogs` configuration to the eyes service ([639ca8a](https://github.com/Applitools-Dev/sdk/commit/639ca8a021008d06fc09d19ca58ac3d00a18e4c3))
11
+ * added `useExecutionCloud` configuration to the eyes service ([#2033](https://github.com/Applitools-Dev/sdk/issues/2033)) ([639ca8a](https://github.com/Applitools-Dev/sdk/commit/639ca8a021008d06fc09d19ca58ac3d00a18e4c3))
12
+ * generate more enums ([#2179](https://github.com/Applitools-Dev/sdk/issues/2179)) ([5f4f916](https://github.com/Applitools-Dev/sdk/commit/5f4f91621b791a02464191123f69b12f590b9efe))
13
+ * ios multi device target ([#2160](https://github.com/Applitools-Dev/sdk/issues/2160)) ([3874fb8](https://github.com/Applitools-Dev/sdk/commit/3874fb8ad77039abbb5ab78c00ffb45829b2db28))
14
+
15
+
16
+ ### Bug Fixes
17
+
18
+ * clone the check settings in eyes check ([#2251](https://github.com/Applitools-Dev/sdk/issues/2251)) ([9517d66](https://github.com/Applitools-Dev/sdk/commit/9517d665976949458aecfb31e052c19d7109a0c4))
19
+ * error to unknown type in exception ([#2035](https://github.com/Applitools-Dev/sdk/issues/2035)) ([16d78c3](https://github.com/Applitools-Dev/sdk/commit/16d78c3cce90a5cb50cc2aa4e9ab6a58b7b93f89))
20
+ * fixed default value in `useSystemScreenshot` method of check settings ([42a773c](https://github.com/Applitools-Dev/sdk/commit/42a773cc57e8e5de528a049b376159615892003b))
21
+ * fixed issue when w3c properties were added to legacy capabilities object in `Eyes.setMobileCapabilities` method ([94d785f](https://github.com/Applitools-Dev/sdk/commit/94d785f0428df101c207d6f09a55c46f2bdbf19e))
22
+ * trigger JS release ([6022ac8](https://github.com/Applitools-Dev/sdk/commit/6022ac85626287a37101b65732e9d46c63bbd8b8))
23
+
24
+
25
+ ### Dependencies
26
+
27
+ * @applitools/utils bumped to 1.7.1
28
+ #### Bug Fixes
29
+
30
+ * region intersection algorithm ([#2290](https://github.com/Applitools-Dev/sdk/issues/2290)) ([aaa8d0c](https://github.com/Applitools-Dev/sdk/commit/aaa8d0cbcb0e39d23d652c2caf9d27bfaed0d2eb))
31
+ * @applitools/logger bumped to 2.0.15
32
+
33
+ * @applitools/req bumped to 1.6.6
34
+
35
+ * @applitools/image bumped to 1.1.10
36
+
37
+ * @applitools/spec-driver-webdriver bumped to 1.1.4
38
+
39
+ * @applitools/spec-driver-puppeteer bumped to 1.4.4
40
+
41
+ * @applitools/screenshoter bumped to 3.8.28
42
+
43
+ * @applitools/tunnel-client bumped to 1.5.1
44
+ #### Bug Fixes
45
+
46
+ * create tunnels in australia when passed region in create ([#2322](https://github.com/Applitools-Dev/sdk/issues/2322)) ([f679989](https://github.com/Applitools-Dev/sdk/commit/f6799894b9630d2c56cd85a34d377f488ed75b9c))
47
+
48
+
49
+
50
+ * @applitools/ec-client bumped to 1.8.1
51
+ #### Bug Fixes
52
+
53
+ * change tunnel idle timeout to 20 seconds ([#2318](https://github.com/Applitools-Dev/sdk/issues/2318)) ([9b3873c](https://github.com/Applitools-Dev/sdk/commit/9b3873c180a130a01212d857b084efe51d6d30a4))
54
+ * create tunnels in australia when passed region in create ([#2322](https://github.com/Applitools-Dev/sdk/issues/2322)) ([f679989](https://github.com/Applitools-Dev/sdk/commit/f6799894b9630d2c56cd85a34d377f488ed75b9c))
55
+
56
+
57
+
58
+ * @applitools/socket bumped to 1.1.15
59
+
60
+ * @applitools/spec-driver-selenium bumped to 1.5.75
61
+
62
+ * @applitools/driver bumped to 1.16.6
63
+
64
+ * @applitools/nml-client bumped to 1.8.1
65
+
66
+ * @applitools/ufg-client bumped to 1.11.1
67
+
68
+ * @applitools/core-base bumped to 1.11.1
69
+
70
+ * @applitools/core bumped to 4.12.2
71
+ #### Bug Fixes
72
+
73
+ * region intersection algorithm ([#2290](https://github.com/Applitools-Dev/sdk/issues/2290)) ([aaa8d0c](https://github.com/Applitools-Dev/sdk/commit/aaa8d0cbcb0e39d23d652c2caf9d27bfaed0d2eb))
74
+
75
+
76
+
77
+
78
+ ## [1.17.1](https://github.com/Applitools-Dev/sdk/compare/js/eyes@1.17.0...js/eyes@1.17.1) (2024-04-01)
79
+
80
+
81
+ ### Bug Fixes
82
+
83
+ * trigger JS release ([6022ac8](https://github.com/Applitools-Dev/sdk/commit/6022ac85626287a37101b65732e9d46c63bbd8b8))
84
+
85
+
86
+ ### Dependencies
87
+
88
+ * @applitools/spec-driver-selenium bumped to 1.5.74
89
+ #### Bug Fixes
90
+
91
+ * trigger JS release ([6022ac8](https://github.com/Applitools-Dev/sdk/commit/6022ac85626287a37101b65732e9d46c63bbd8b8))
92
+ * @applitools/core-base bumped to 1.10.1
93
+ #### Bug Fixes
94
+
95
+ * trigger JS release ([6022ac8](https://github.com/Applitools-Dev/sdk/commit/6022ac85626287a37101b65732e9d46c63bbd8b8))
96
+ * @applitools/ec-client bumped to 1.7.32
97
+
98
+ * @applitools/core bumped to 4.11.1
99
+
100
+
101
+ ## [1.17.0](https://github.com/Applitools-Dev/sdk/compare/js/eyes-v1.16.3...js/eyes@1.17.0) (2024-03-31)
102
+
103
+
104
+ ### Features
105
+
106
+ * add Eyes.getResults method ([#2046](https://github.com/Applitools-Dev/sdk/issues/2046)) ([#2069](https://github.com/Applitools-Dev/sdk/issues/2069)) ([4d263e1](https://github.com/Applitools-Dev/sdk/commit/4d263e19cb5e5708790a1a7ef90ff8f3eee50d91))
107
+ * Add GitMergeBaseTimestamp support ([#2281](https://github.com/Applitools-Dev/sdk/issues/2281)) ([5489608](https://github.com/Applitools-Dev/sdk/commit/54896085445663a51b5e5595a2517e48fa8736f3))
108
+ * added `enableEyesLogs` configuration to the eyes service ([639ca8a](https://github.com/Applitools-Dev/sdk/commit/639ca8a021008d06fc09d19ca58ac3d00a18e4c3))
109
+ * added `useExecutionCloud` configuration to the eyes service ([#2033](https://github.com/Applitools-Dev/sdk/issues/2033)) ([639ca8a](https://github.com/Applitools-Dev/sdk/commit/639ca8a021008d06fc09d19ca58ac3d00a18e4c3))
110
+ * generate more enums ([#2179](https://github.com/Applitools-Dev/sdk/issues/2179)) ([5f4f916](https://github.com/Applitools-Dev/sdk/commit/5f4f91621b791a02464191123f69b12f590b9efe))
111
+ * ios multi device target ([#2160](https://github.com/Applitools-Dev/sdk/issues/2160)) ([3874fb8](https://github.com/Applitools-Dev/sdk/commit/3874fb8ad77039abbb5ab78c00ffb45829b2db28))
112
+
113
+
114
+ ### Bug Fixes
115
+
116
+ * error to unknown type in exception ([#2035](https://github.com/Applitools-Dev/sdk/issues/2035)) ([16d78c3](https://github.com/Applitools-Dev/sdk/commit/16d78c3cce90a5cb50cc2aa4e9ab6a58b7b93f89))
117
+ * fixed default value in `useSystemScreenshot` method of check settings ([42a773c](https://github.com/Applitools-Dev/sdk/commit/42a773cc57e8e5de528a049b376159615892003b))
118
+ * fixed issue when w3c properties were added to legacy capabilities object in `Eyes.setMobileCapabilities` method ([94d785f](https://github.com/Applitools-Dev/sdk/commit/94d785f0428df101c207d6f09a55c46f2bdbf19e))
119
+
120
+
121
+ ### Dependencies
122
+
123
+ * @applitools/spec-driver-selenium bumped to 1.5.73
124
+ #### Bug Fixes
125
+
126
+ * remove getSessionDetails call in JS Selenium ([#2280](https://github.com/Applitools-Dev/sdk/issues/2280)) ([d15748f](https://github.com/Applitools-Dev/sdk/commit/d15748f68c931f2f84c13efd8472399c1ff72e25))
127
+ * @applitools/core-base bumped to 1.10.0
128
+ #### Features
129
+
130
+ * Add GitMergeBaseTimestamp support ([#2281](https://github.com/Applitools-Dev/sdk/issues/2281)) ([5489608](https://github.com/Applitools-Dev/sdk/commit/54896085445663a51b5e5595a2517e48fa8736f3))
131
+ * batch buildId ([#2263](https://github.com/Applitools-Dev/sdk/issues/2263)) ([f19ac38](https://github.com/Applitools-Dev/sdk/commit/f19ac38612bc55d870f59161a39b5b7eb01e25f3))
132
+ * send heartbeat to keep test alive ([#2246](https://github.com/Applitools-Dev/sdk/issues/2246)) ([58636e7](https://github.com/Applitools-Dev/sdk/commit/58636e7dd353f06eb2b3bee1120ab81c3f9fcc94))
133
+
134
+
135
+ #### Bug Fixes
136
+
137
+ * retry Eyes request on ECONNREFUSED to improve stability during deployment ([d1e4dca](https://github.com/Applitools-Dev/sdk/commit/d1e4dcae79185578808b4f2c5f94fa79d7d914a3))
138
+ * @applitools/ec-client bumped to 1.7.31
139
+
140
+ * @applitools/core bumped to 4.11.0
141
+ #### Features
142
+
143
+ * Add GitMergeBaseTimestamp support ([#2281](https://github.com/Applitools-Dev/sdk/issues/2281)) ([5489608](https://github.com/Applitools-Dev/sdk/commit/54896085445663a51b5e5595a2517e48fa8736f3))
144
+ * batch buildId ([#2263](https://github.com/Applitools-Dev/sdk/issues/2263)) ([f19ac38](https://github.com/Applitools-Dev/sdk/commit/f19ac38612bc55d870f59161a39b5b7eb01e25f3))
145
+
146
+
147
+
148
+
3
149
  ## [1.16.2](https://github.com/Applitools-Dev/sdk/compare/js/eyes@1.16.1...js/eyes@1.16.2) (2024-03-18)
4
150
 
5
151
 
@@ -281,6 +281,7 @@ class CheckSettingsImageFluent extends CheckSettingsBaseFluent {
281
281
  }
282
282
  /** @internal */
283
283
  toJSON() {
284
+ var _a, _b, _c, _d, _e, _f;
284
285
  return {
285
286
  target: this._target,
286
287
  settings: utils.general.removeUndefinedProps({
@@ -292,12 +293,12 @@ class CheckSettingsImageFluent extends CheckSettingsBaseFluent {
292
293
  enablePatterns: this._settings.enablePatterns,
293
294
  ignoreDisplacements: this._settings.ignoreDisplacements,
294
295
  ignoreCaret: this._settings.ignoreCaret,
295
- ignoreRegions: this._settings.ignoreRegions,
296
- layoutRegions: this._settings.layoutRegions,
297
- strictRegions: this._settings.strictRegions,
298
- contentRegions: this._settings.contentRegions,
299
- floatingRegions: this._settings.floatingRegions,
300
- accessibilityRegions: this._settings.accessibilityRegions,
296
+ ignoreRegions: (_a = this._settings.ignoreRegions) === null || _a === void 0 ? void 0 : _a.slice(),
297
+ layoutRegions: (_b = this._settings.layoutRegions) === null || _b === void 0 ? void 0 : _b.slice(),
298
+ strictRegions: (_c = this._settings.strictRegions) === null || _c === void 0 ? void 0 : _c.slice(),
299
+ contentRegions: (_d = this._settings.contentRegions) === null || _d === void 0 ? void 0 : _d.slice(),
300
+ floatingRegions: (_e = this._settings.floatingRegions) === null || _e === void 0 ? void 0 : _e.slice(),
301
+ accessibilityRegions: (_f = this._settings.accessibilityRegions) === null || _f === void 0 ? void 0 : _f.slice(),
301
302
  pageId: this._settings.pageId,
302
303
  userCommandId: this._settings.variationGroupId,
303
304
  }),
@@ -420,6 +420,20 @@ class ConfigurationData {
420
420
  this.baselineBranchName = baselineBranchName;
421
421
  return this;
422
422
  }
423
+ get gitMergeBaseTimestamp() {
424
+ return this._config.gitMergeBaseTimestamp;
425
+ }
426
+ set gitMergeBaseTimestamp(gitMergeBaseTimestamp) {
427
+ utils.guard.isString(gitMergeBaseTimestamp, { name: 'gitMergeBaseTimestamp' });
428
+ this._config.gitMergeBaseTimestamp = gitMergeBaseTimestamp;
429
+ }
430
+ getGitMergeBaseTimestamp() {
431
+ return this.gitMergeBaseTimestamp;
432
+ }
433
+ setGitMergeBaseTimestamp(gitMergeBaseTimestamp) {
434
+ this.gitMergeBaseTimestamp = gitMergeBaseTimestamp;
435
+ return this;
436
+ }
423
437
  get compareWithParentBranch() {
424
438
  return this._config.compareWithParentBranch;
425
439
  }
@@ -991,6 +1005,7 @@ class ConfigurationData {
991
1005
  baselineBranchName: this.baselineBranchName,
992
1006
  compareWithParentBranch: this.compareWithParentBranch,
993
1007
  ignoreBaseline: this.ignoreBaseline,
1008
+ gitBranchingTimestamp: this.gitMergeBaseTimestamp,
994
1009
  ignoreGitBranching: this.ignoreGitMergeBase,
995
1010
  saveDiffs: this.saveDiffs,
996
1011
  keepBatchOpen: this.dontCloseBatches,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@applitools/eyes",
3
- "version": "1.16.2",
3
+ "version": "1.18.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.10.2",
49
- "@applitools/logger": "2.0.14",
50
- "@applitools/utils": "1.7.0"
48
+ "@applitools/core": "4.12.2",
49
+ "@applitools/logger": "2.0.15",
50
+ "@applitools/utils": "1.7.1"
51
51
  },
52
52
  "devDependencies": {
53
- "@applitools/req": "^1.6.5",
53
+ "@applitools/req": "^1.6.6",
54
54
  "@types/node": "^12.20.55"
55
55
  },
56
56
  "engines": {
@@ -52,6 +52,7 @@ export type Configuration<TSpec extends Core.SpecType = Core.SpecType> = {
52
52
  environmentName?: string;
53
53
  branchName?: string;
54
54
  parentBranchName?: string;
55
+ gitMergeBaseTimestamp?: string;
55
56
  baselineBranchName?: string;
56
57
  compareWithParentBranch?: boolean;
57
58
  ignoreBaseline?: boolean;
@@ -206,6 +207,10 @@ export declare class ConfigurationData<TSpec extends Core.SpecType = Core.SpecTy
206
207
  set baselineBranchName(baselineBranchName: string);
207
208
  getBaselineBranchName(): string;
208
209
  setBaselineBranchName(baselineBranchName: string): this;
210
+ get gitMergeBaseTimestamp(): string;
211
+ set gitMergeBaseTimestamp(gitMergeBaseTimestamp: string);
212
+ getGitMergeBaseTimestamp(): string;
213
+ setGitMergeBaseTimestamp(gitMergeBaseTimestamp: string): this;
209
214
  get compareWithParentBranch(): boolean;
210
215
  set compareWithParentBranch(compareWithParentBranch: boolean);
211
216
  getCompareWithParentBranch(): boolean;