@applitools/core 4.66.1 → 4.67.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,76 @@
1
1
  # Changelog
2
2
 
3
+ ## [4.67.0](https://github.com/Applitools-Dev/sdk/compare/js/core@4.66.2...js/core@4.67.0) (2026-07-23)
4
+
5
+
6
+ ### Features
7
+
8
+ * adapt extended TestResults fields | AD-14850 ([#4008](https://github.com/Applitools-Dev/sdk/issues/4008)) ([e783db8](https://github.com/Applitools-Dev/sdk/commit/e783db8bfbe25e25126bca5984a29533c9a74d39))
9
+
10
+
11
+ ### Dependencies
12
+
13
+ * @applitools/nml-client bumped to 1.11.37
14
+
15
+ * @applitools/core-base bumped to 1.37.0
16
+ #### Features
17
+
18
+ * adapt extended TestResults fields | AD-14850 ([#4008](https://github.com/Applitools-Dev/sdk/issues/4008)) ([e783db8](https://github.com/Applitools-Dev/sdk/commit/e783db8bfbe25e25126bca5984a29533c9a74d39))
19
+
20
+
21
+ #### Bug Fixes
22
+
23
+ * stop logEventBatch leaking through mainLogger (FLD-4175 regression from [#4007](https://github.com/Applitools-Dev/sdk/issues/4007)) ([#4011](https://github.com/Applitools-Dev/sdk/issues/4011)) ([e595b64](https://github.com/Applitools-Dev/sdk/commit/e595b646e97aba5955d59b0477b608f24aae3f58))
24
+ * @applitools/ec-client bumped to 1.12.39
25
+
26
+
27
+ ## [4.66.2](https://github.com/Applitools-Dev/sdk/compare/js/core@4.66.1...js/core@4.66.2) (2026-07-21)
28
+
29
+
30
+ ### Bug Fixes
31
+
32
+ * bound lazyLoad scroll loop to prevent poll-timeout abort | FLD-4680 ([#3972](https://github.com/Applitools-Dev/sdk/issues/3972)) ([4deea6b](https://github.com/Applitools-Dev/sdk/commit/4deea6b1f6f8ec53bd989cd6bbd021cac2ee3c1e))
33
+ * send the old-infra retry in its check's slot | AD-14675 ([#3968](https://github.com/Applitools-Dev/sdk/issues/3968)) ([946b926](https://github.com/Applitools-Dev/sdk/commit/946b92632a511f1ed23f2f65d0382ef8d7177ea7))
34
+
35
+
36
+ ### Dependencies
37
+
38
+ * @applitools/dom-shared bumped to 1.2.2
39
+ #### Bug Fixes
40
+
41
+ * CSP-safe sandbox opt-out for the MV3 extension content script | AD-14808 ([#3969](https://github.com/Applitools-Dev/sdk/issues/3969)) ([772aefa](https://github.com/Applitools-Dev/sdk/commit/772aefaa3e2bc1eb345fa8d3f6c91ad0913f82e7))
42
+ * @applitools/snippets bumped to 2.9.4
43
+ #### Bug Fixes
44
+
45
+ * bound lazyLoad scroll loop to prevent poll-timeout abort | FLD-4680 ([#3972](https://github.com/Applitools-Dev/sdk/issues/3972)) ([4deea6b](https://github.com/Applitools-Dev/sdk/commit/4deea6b1f6f8ec53bd989cd6bbd021cac2ee3c1e))
46
+
47
+
48
+
49
+ * @applitools/dom-snapshot bumped to 4.17.6
50
+
51
+ * @applitools/dom-capture bumped to 11.8.4
52
+
53
+ * @applitools/driver bumped to 1.26.6
54
+
55
+ * @applitools/spec-driver-webdriver bumped to 1.6.6
56
+
57
+ * @applitools/spec-driver-selenium bumped to 1.8.6
58
+
59
+ * @applitools/spec-driver-playwright bumped to 1.9.6
60
+
61
+ * @applitools/spec-driver-puppeteer bumped to 1.8.6
62
+
63
+ * @applitools/screenshoter bumped to 3.12.25
64
+
65
+ * @applitools/nml-client bumped to 1.11.36
66
+
67
+ * @applitools/core-base bumped to 1.36.2
68
+ #### Bug Fixes
69
+
70
+ * guard logEventBatch against a logger-less event ([#4007](https://github.com/Applitools-Dev/sdk/issues/4007)) ([bb8c9b2](https://github.com/Applitools-Dev/sdk/commit/bb8c9b242801e08dd573a77e261d5fb4540cd68e))
71
+ * @applitools/ec-client bumped to 1.12.38
72
+
73
+
3
74
  ## [4.66.1](https://github.com/Applitools-Dev/sdk/compare/js/core@4.66.0...js/core@4.66.1) (2026-07-08)
4
75
 
5
76
 
package/dist/ufg/check.js CHANGED
@@ -192,39 +192,36 @@ function makeCheck({ eyes, target: defaultTarget, environments: defaultEnvironme
192
192
  catch (err) {
193
193
  logger.log('Failed to log invalid check settings', err);
194
194
  }
195
- const checkResult = await baseEyes.check({
195
+ await baseEyes.check({
196
196
  target: { ...baseTarget, isTransformed: true },
197
197
  settings: baseSettings,
198
198
  logger: environmentLogger,
199
- });
200
- if (!checkResult.asExpected &&
201
- baseEyes.test.shouldRetryWithOldInfra &&
202
- !oldInfraRetryDisabled.has(baseEyes)) {
203
- const oldInfraEnvironment = (0, to_old_infra_environment_1.toOldInfraEnvironment)(environment);
204
- if (oldInfraEnvironment) {
205
- // Best-effort: the retry adds an extra render + check, and a transient
206
- // failure there (old browser version unavailable, render timeout, 5xx)
207
- // must not abort the environment — the primary check already recorded
208
- // its step. Swallow and log so the retry can only ever help.
209
- try {
210
- const { target, settings } = await renderForCheck(oldInfraEnvironment);
211
- settings.oldInfraRetry = true;
212
- const retryResult = await baseEyes.check({
213
- target: { ...target, isTransformed: true },
214
- settings,
215
- logger: environmentLogger,
216
- });
217
- // A retry that doesn't confirm an old-infra match means the backend now treats the
218
- // session as non-infra and stops expecting retries — so stop sending them.
219
- if (!retryResult.asExpected)
199
+ // When the backend enabled old-infra retry, re-check a mismatch against the previous
200
+ // browser version in the SAME step slot (so it reaches the backend before the next
201
+ // step's check), and stop once a retry fails — at that point the backend treats the
202
+ // session as non-infra and stops expecting retries. Best-effort: a failed retry render
203
+ // must not abort the environment, since the primary check already recorded its step.
204
+ followup: baseEyes.test.shouldRetryWithOldInfra
205
+ ? async (result, recheck) => {
206
+ if (result.asExpected || oldInfraRetryDisabled.has(baseEyes))
207
+ return;
208
+ const oldInfraEnvironment = (0, to_old_infra_environment_1.toOldInfraEnvironment)(environment);
209
+ if (!oldInfraEnvironment)
210
+ return;
211
+ try {
212
+ const { target, settings } = await renderForCheck(oldInfraEnvironment);
213
+ settings.oldInfraRetry = true;
214
+ const retry = await recheck({ ...target, isTransformed: true }, settings);
215
+ if (!retry.asExpected)
216
+ oldInfraRetryDisabled.add(baseEyes);
217
+ }
218
+ catch (error) {
220
219
  oldInfraRetryDisabled.add(baseEyes);
220
+ environmentLogger.warn('Old-infra retry failed; keeping the primary check result', error);
221
+ }
221
222
  }
222
- catch (error) {
223
- oldInfraRetryDisabled.add(baseEyes);
224
- environmentLogger.warn('Old-infra retry failed; keeping the primary check result', error);
225
- }
226
- }
227
- }
223
+ : undefined,
224
+ });
228
225
  }
229
226
  catch (error) {
230
227
  environmentLogger.error(`Render on environment with id "${(_h = baseEyes.test.environment) === null || _h === void 0 ? void 0 : _h.environmentId}" failed due to an error`, error);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@applitools/core",
3
- "version": "4.66.1",
3
+ "version": "4.67.0",
4
4
  "homepage": "https://applitools.com",
5
5
  "bugs": {
6
6
  "url": "https://github.com/applitools/eyes.sdk.javascript1/issues"
@@ -61,16 +61,16 @@
61
61
  "setup:standalone": "sh -c 'yarn chromedriver --port=4444 --verbose &'"
62
62
  },
63
63
  "dependencies": {
64
- "@applitools/core-base": "1.36.1",
65
- "@applitools/dom-capture": "11.8.3",
66
- "@applitools/dom-snapshot": "4.17.5",
67
- "@applitools/driver": "1.26.5",
68
- "@applitools/ec-client": "1.12.37",
64
+ "@applitools/core-base": "1.37.0",
65
+ "@applitools/dom-capture": "11.8.4",
66
+ "@applitools/dom-snapshot": "4.17.6",
67
+ "@applitools/driver": "1.26.6",
68
+ "@applitools/ec-client": "1.12.39",
69
69
  "@applitools/logger": "2.3.0",
70
- "@applitools/nml-client": "1.11.35",
70
+ "@applitools/nml-client": "1.11.37",
71
71
  "@applitools/req": "1.11.2",
72
- "@applitools/screenshoter": "3.12.24",
73
- "@applitools/snippets": "2.9.3",
72
+ "@applitools/screenshoter": "3.12.25",
73
+ "@applitools/snippets": "2.9.4",
74
74
  "@applitools/socket": "1.3.15",
75
75
  "@applitools/ufg-client": "1.22.5",
76
76
  "@applitools/utils": "1.15.1",
@@ -83,10 +83,10 @@
83
83
  },
84
84
  "devDependencies": {
85
85
  "@applitools/bongo": "^5.10.0",
86
- "@applitools/spec-driver-playwright": "^1.9.5",
87
- "@applitools/spec-driver-puppeteer": "^1.8.5",
88
- "@applitools/spec-driver-selenium": "^1.8.5",
89
- "@applitools/spec-driver-webdriver": "^1.6.5",
86
+ "@applitools/spec-driver-playwright": "^1.9.6",
87
+ "@applitools/spec-driver-puppeteer": "^1.8.6",
88
+ "@applitools/spec-driver-selenium": "^1.8.6",
89
+ "@applitools/spec-driver-webdriver": "^1.6.6",
90
90
  "@applitools/test-server": "^1.4.6",
91
91
  "@applitools/test-utils": "^1.5.17",
92
92
  "@applitools/tunnel-client": "^1.12.2",