@applitools/eyes-playwright 1.39.2 → 1.39.3

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,51 @@
1
1
  # Changelog
2
2
 
3
+ ## [1.39.3](https://github.com/Applitools-Dev/sdk/compare/js/eyes-playwright@1.39.2...js/eyes-playwright@1.39.3) (2025-08-21)
4
+
5
+
6
+ ### Bug Fixes
7
+
8
+ * playwright html reporter failure on retries | FLD-3477 ([#3179](https://github.com/Applitools-Dev/sdk/issues/3179)) ([7ec03a8](https://github.com/Applitools-Dev/sdk/commit/7ec03a8a905ebb1fe4c7d278ff172cc7d75230c8))
9
+
10
+
11
+ ### Dependencies
12
+
13
+ * @applitools/socket bumped to 1.3.3
14
+ #### Bug Fixes
15
+
16
+ * tunnel uncaught error | FLD-3356 ([#3128](https://github.com/Applitools-Dev/sdk/issues/3128)) ([ed5fb8a](https://github.com/Applitools-Dev/sdk/commit/ed5fb8aad596ec0d8b45a89077a7765c24ae8a8e))
17
+ * @applitools/driver bumped to 1.23.3
18
+ #### Bug Fixes
19
+
20
+ * make orientation more robust | FLD-3470 ([#3166](https://github.com/Applitools-Dev/sdk/issues/3166)) ([3745427](https://github.com/Applitools-Dev/sdk/commit/37454279234b085dc9a159077b3f278cdccc203a))
21
+ * @applitools/tunnel-client bumped to 1.10.4
22
+ #### Bug Fixes
23
+
24
+ * tunnel uncaught error | FLD-3356 ([#3128](https://github.com/Applitools-Dev/sdk/issues/3128)) ([ed5fb8a](https://github.com/Applitools-Dev/sdk/commit/ed5fb8aad596ec0d8b45a89077a7765c24ae8a8e))
25
+
26
+
27
+
28
+ * @applitools/dom-snapshot bumped to 4.13.3
29
+
30
+ * @applitools/spec-driver-webdriver bumped to 1.4.3
31
+
32
+ * @applitools/spec-driver-selenium bumped to 1.7.3
33
+
34
+ * @applitools/spec-driver-playwright bumped to 1.7.3
35
+
36
+ * @applitools/spec-driver-puppeteer bumped to 1.6.3
37
+
38
+ * @applitools/screenshoter bumped to 3.12.3
39
+
40
+ * @applitools/nml-client bumped to 1.11.3
41
+
42
+ * @applitools/ec-client bumped to 1.12.4
43
+
44
+ * @applitools/core bumped to 4.44.4
45
+
46
+ * @applitools/eyes bumped to 1.36.2
47
+
48
+
3
49
  ## [1.39.2](https://github.com/Applitools-Dev/sdk/compare/js/eyes-playwright@1.39.1...js/eyes-playwright@1.39.2) (2025-08-12)
4
50
 
5
51
 
@@ -0,0 +1,18 @@
1
+ "use strict";
2
+ var _a;
3
+ Object.defineProperty(exports, "__esModule", { value: true });
4
+ const nodeOptions = ((_a = process.env.NODE_DEBUG) !== null && _a !== void 0 ? _a : '').split(',');
5
+ const supportedCategories = process.env.CI
6
+ ? ['pw:api', 'test.step', 'expect']
7
+ : ['pw', 'hook', 'test.step', 'expect', 'fixture'];
8
+ class DebugReporter {
9
+ onStepEnd(_test, _result, step) {
10
+ if (process.env.CI || nodeOptions.includes('playwright')) {
11
+ if (supportedCategories.includes(step.category)) {
12
+ // eslint-disable-next-line no-console
13
+ console.log(` ~ ${step.category}: ${step.title} (${step.duration}ms)`);
14
+ }
15
+ }
16
+ }
17
+ }
18
+ exports.default = DebugReporter;
@@ -394,6 +394,7 @@ class ReportRenderer {
394
394
  this._createEyesResultIframes(test, iframeSrc, currentSelectedRetryIndex, shouldFilterUnresolved);
395
395
  }
396
396
  _observeRetryTabSlectionChanged = (test, iframeSrc) => {
397
+ const shouldFilterUnresolved = new URLSearchParams(window.location.search).get('unresolved');
397
398
  const retryTabs = document.getElementsByClassName('tabbed-pane-tab-element');
398
399
  let selectedRetryIndex = Array.from(retryTabs).findIndex(tab => tab.classList.contains('selected'));
399
400
 
@@ -628,11 +629,10 @@ class ReportRenderer {
628
629
  const eyesResultsForRun = eyesResultsForTest.filter(result => result.playwrightRetry === _result.retry);
629
630
  if (eyesResultsForRun.length > 0) {
630
631
  // get eyes status for the current retry, so we can later get the status of the test
631
- results.push(getStatus(eyesResultsForTest).status);
632
+ results.push(getStatus(eyesResultsForRun).status);
632
633
  } else results.push(null);
633
634
  return results
634
635
  }, []);
635
-
636
636
  updatePlaywrightTestStatus(test, fileInReport, reportStats, eyesStatuses);
637
637
  });
638
638
  });
@@ -754,7 +754,8 @@ function updatePlaywrightTestStatus(test, fileInReport, reportStats, eyesStatuse
754
754
  }
755
755
 
756
756
  async function getTestResults() {
757
- const base64Data = window.playwrightReportBase64.replace('data:application/zip;base64,', '');
757
+ const playwrightReportBase64 = window.playwrightReportBase64?.textContent ?? window.playwrightReportBase64;
758
+ const base64Data = playwrightReportBase64.replace('data:application/zip;base64,', '');
758
759
  const zip = new JSZip();
759
760
  await zip.loadAsync(base64Data, {base64: true});
760
761
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@applitools/eyes-playwright",
3
- "version": "1.39.2",
3
+ "version": "1.39.3",
4
4
  "description": "Applitools Eyes SDK for Playwright",
5
5
  "keywords": [
6
6
  "eyes-playwright",
@@ -59,9 +59,9 @@
59
59
  "up:framework": "echo \"$(jq '.devDependencies.playwright = $ENV.APPLITOOLS_FRAMEWORK_VERSION' ./package.json)\" > ./package.json"
60
60
  },
61
61
  "dependencies": {
62
- "@applitools/eyes": "1.36.1",
62
+ "@applitools/eyes": "1.36.2",
63
63
  "@applitools/req": "1.8.2",
64
- "@applitools/spec-driver-playwright": "1.7.2",
64
+ "@applitools/spec-driver-playwright": "1.7.3",
65
65
  "@applitools/utils": "1.11.1",
66
66
  "@azure/storage-blob": "^12.28.0",
67
67
  "@inquirer/prompts": "7.0.1",