@applitools/eyes-playwright 1.39.1 → 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 +101 -0
- package/dist/fixture/debug-reporter.js +18 -0
- package/dist/fixture/reportRenderer.js +4 -3
- package/package.json +5 -5
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,106 @@
|
|
|
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
|
+
|
|
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)
|
|
50
|
+
|
|
51
|
+
|
|
52
|
+
### Dependencies
|
|
53
|
+
|
|
54
|
+
* @applitools/utils bumped to 1.11.1
|
|
55
|
+
#### Bug Fixes
|
|
56
|
+
|
|
57
|
+
* downgrade uuid to 9.0.1 ([#3169](https://github.com/Applitools-Dev/sdk/issues/3169)) ([30be8e3](https://github.com/Applitools-Dev/sdk/commit/30be8e35802b2c8bc970f62fdbd2d128f5a77fb7))
|
|
58
|
+
* @applitools/core bumped to 4.44.3
|
|
59
|
+
#### Bug Fixes
|
|
60
|
+
|
|
61
|
+
* downgrade uuid to 9.0.1 ([#3169](https://github.com/Applitools-Dev/sdk/issues/3169)) ([30be8e3](https://github.com/Applitools-Dev/sdk/commit/30be8e35802b2c8bc970f62fdbd2d128f5a77fb7))
|
|
62
|
+
|
|
63
|
+
|
|
64
|
+
|
|
65
|
+
* @applitools/logger bumped to 2.2.2
|
|
66
|
+
|
|
67
|
+
* @applitools/dom-snapshot bumped to 4.13.2
|
|
68
|
+
|
|
69
|
+
* @applitools/socket bumped to 1.3.2
|
|
70
|
+
|
|
71
|
+
* @applitools/req bumped to 1.8.2
|
|
72
|
+
|
|
73
|
+
* @applitools/image bumped to 1.2.2
|
|
74
|
+
|
|
75
|
+
* @applitools/dom-capture bumped to 11.6.2
|
|
76
|
+
|
|
77
|
+
* @applitools/driver bumped to 1.23.2
|
|
78
|
+
|
|
79
|
+
* @applitools/spec-driver-webdriver bumped to 1.4.2
|
|
80
|
+
|
|
81
|
+
* @applitools/spec-driver-selenium bumped to 1.7.2
|
|
82
|
+
|
|
83
|
+
* @applitools/spec-driver-playwright bumped to 1.7.2
|
|
84
|
+
|
|
85
|
+
* @applitools/spec-driver-puppeteer bumped to 1.6.2
|
|
86
|
+
|
|
87
|
+
* @applitools/screenshoter bumped to 3.12.2
|
|
88
|
+
|
|
89
|
+
* @applitools/nml-client bumped to 1.11.2
|
|
90
|
+
|
|
91
|
+
* @applitools/tunnel-client bumped to 1.10.3
|
|
92
|
+
|
|
93
|
+
* @applitools/ufg-client bumped to 1.17.2
|
|
94
|
+
|
|
95
|
+
* @applitools/core-base bumped to 1.27.2
|
|
96
|
+
|
|
97
|
+
* @applitools/ec-client bumped to 1.12.3
|
|
98
|
+
|
|
99
|
+
* @applitools/eyes bumped to 1.36.1
|
|
100
|
+
|
|
101
|
+
* @applitools/test-server bumped to 1.3.1
|
|
102
|
+
|
|
103
|
+
|
|
3
104
|
## [1.39.1](https://github.com/Applitools-Dev/sdk/compare/js/eyes-playwright@1.39.0...js/eyes-playwright@1.39.1) (2025-08-10)
|
|
4
105
|
|
|
5
106
|
|
|
@@ -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(
|
|
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
|
|
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.
|
|
3
|
+
"version": "1.39.3",
|
|
4
4
|
"description": "Applitools Eyes SDK for Playwright",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"eyes-playwright",
|
|
@@ -59,10 +59,10 @@
|
|
|
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.
|
|
63
|
-
"@applitools/req": "1.8.
|
|
64
|
-
"@applitools/spec-driver-playwright": "1.7.
|
|
65
|
-
"@applitools/utils": "1.11.
|
|
62
|
+
"@applitools/eyes": "1.36.2",
|
|
63
|
+
"@applitools/req": "1.8.2",
|
|
64
|
+
"@applitools/spec-driver-playwright": "1.7.3",
|
|
65
|
+
"@applitools/utils": "1.11.1",
|
|
66
66
|
"@azure/storage-blob": "^12.28.0",
|
|
67
67
|
"@inquirer/prompts": "7.0.1",
|
|
68
68
|
"chalk": "4.1.2",
|