@applitools/eyes-puppeteer 1.28.0 → 1.28.2
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 +184 -0
- package/package.json +5 -4
- package/types/index.d.ts +8 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,189 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [1.28.2](https://github.com/Applitools-Dev/sdk/compare/js/eyes-puppeteer@1.28.1...js/eyes-puppeteer@1.28.2) (2025-01-13)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Dependencies
|
|
7
|
+
|
|
8
|
+
* @applitools/dom-snapshot bumped to 4.11.14
|
|
9
|
+
#### Bug Fixes
|
|
10
|
+
|
|
11
|
+
* remove side-eyes and fix code scanning issues ([#2712](https://github.com/Applitools-Dev/sdk/issues/2712)) ([cda98e4](https://github.com/Applitools-Dev/sdk/commit/cda98e4748c73cd97c11f646a2b5e26ff9416892))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
* @applitools/snippets bumped to 2.6.4
|
|
16
|
+
#### Bug Fixes
|
|
17
|
+
|
|
18
|
+
* remove side-eyes and fix code scanning issues ([#2712](https://github.com/Applitools-Dev/sdk/issues/2712)) ([cda98e4](https://github.com/Applitools-Dev/sdk/commit/cda98e4748c73cd97c11f646a2b5e26ff9416892))
|
|
19
|
+
* @applitools/dom-capture bumped to 11.5.4
|
|
20
|
+
#### Bug Fixes
|
|
21
|
+
|
|
22
|
+
* remove side-eyes and fix code scanning issues ([#2712](https://github.com/Applitools-Dev/sdk/issues/2712)) ([cda98e4](https://github.com/Applitools-Dev/sdk/commit/cda98e4748c73cd97c11f646a2b5e26ff9416892))
|
|
23
|
+
* @applitools/core bumped to 4.29.0
|
|
24
|
+
#### Features
|
|
25
|
+
|
|
26
|
+
* jsonFilePath in offline mode ([#2734](https://github.com/Applitools-Dev/sdk/issues/2734)) ([2f9fbe8](https://github.com/Applitools-Dev/sdk/commit/2f9fbe8fc3c5212db6b7cc58a98b041c3ffd5572))
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
#### Bug Fixes
|
|
30
|
+
|
|
31
|
+
* support batching tests in distributed env - close batch only when required ([#2733](https://github.com/Applitools-Dev/sdk/issues/2733)) ([2e59e4a](https://github.com/Applitools-Dev/sdk/commit/2e59e4a76edcc02b8888dfc78a42749bae76f79c))
|
|
32
|
+
|
|
33
|
+
|
|
34
|
+
|
|
35
|
+
* @applitools/driver bumped to 1.20.3
|
|
36
|
+
|
|
37
|
+
* @applitools/spec-driver-webdriver bumped to 1.1.23
|
|
38
|
+
|
|
39
|
+
* @applitools/spec-driver-selenium bumped to 1.5.94
|
|
40
|
+
|
|
41
|
+
* @applitools/spec-driver-puppeteer bumped to 1.4.23
|
|
42
|
+
|
|
43
|
+
* @applitools/screenshoter bumped to 3.10.3
|
|
44
|
+
|
|
45
|
+
* @applitools/nml-client bumped to 1.8.22
|
|
46
|
+
|
|
47
|
+
* @applitools/ec-client bumped to 1.10.1
|
|
48
|
+
|
|
49
|
+
* @applitools/eyes bumped to 1.31.0
|
|
50
|
+
#### Features
|
|
51
|
+
|
|
52
|
+
* jsonFilePath in offline mode ([#2734](https://github.com/Applitools-Dev/sdk/issues/2734)) ([2f9fbe8](https://github.com/Applitools-Dev/sdk/commit/2f9fbe8fc3c5212db6b7cc58a98b041c3ffd5572))
|
|
53
|
+
|
|
54
|
+
|
|
55
|
+
|
|
56
|
+
|
|
57
|
+
## [1.28.1](https://github.com/Applitools-Dev/sdk/compare/js/eyes-puppeteer@1.28.0...js/eyes-puppeteer@1.28.1) (2024-12-31)
|
|
58
|
+
|
|
59
|
+
|
|
60
|
+
### Dependencies
|
|
61
|
+
|
|
62
|
+
* @applitools/utils bumped to 1.7.7
|
|
63
|
+
#### Bug Fixes
|
|
64
|
+
|
|
65
|
+
* shim process execution functions for browser environment ([#2698](https://github.com/Applitools-Dev/sdk/issues/2698)) ([8d77db4](https://github.com/Applitools-Dev/sdk/commit/8d77db48e1c7fd54cad92c89a819a924255e5868))
|
|
66
|
+
* @applitools/logger bumped to 2.1.0
|
|
67
|
+
#### Features
|
|
68
|
+
|
|
69
|
+
* logger masking ([#2640](https://github.com/Applitools-Dev/sdk/issues/2640)) ([bd69d21](https://github.com/Applitools-Dev/sdk/commit/bd69d21f6341447b1acdb042f4ee1a6328d7428f))
|
|
70
|
+
|
|
71
|
+
|
|
72
|
+
|
|
73
|
+
* @applitools/dom-snapshot bumped to 4.11.13
|
|
74
|
+
#### Bug Fixes
|
|
75
|
+
|
|
76
|
+
* code scanning issue ([#2687](https://github.com/Applitools-Dev/sdk/issues/2687)) ([f301056](https://github.com/Applitools-Dev/sdk/commit/f301056cccfc9cc0c21ceedbd521d8f4b054f058))
|
|
77
|
+
|
|
78
|
+
|
|
79
|
+
|
|
80
|
+
* @applitools/socket bumped to 1.2.0
|
|
81
|
+
#### Features
|
|
82
|
+
|
|
83
|
+
* logger masking ([#2640](https://github.com/Applitools-Dev/sdk/issues/2640)) ([bd69d21](https://github.com/Applitools-Dev/sdk/commit/bd69d21f6341447b1acdb042f4ee1a6328d7428f))
|
|
84
|
+
|
|
85
|
+
|
|
86
|
+
|
|
87
|
+
* @applitools/dom-capture bumped to 11.5.3
|
|
88
|
+
#### Bug Fixes
|
|
89
|
+
|
|
90
|
+
* code scanning issue ([#2687](https://github.com/Applitools-Dev/sdk/issues/2687)) ([f301056](https://github.com/Applitools-Dev/sdk/commit/f301056cccfc9cc0c21ceedbd521d8f4b054f058))
|
|
91
|
+
* @applitools/ufg-client bumped to 1.16.0
|
|
92
|
+
#### Features
|
|
93
|
+
|
|
94
|
+
* deterministic output in offline execution ([#2711](https://github.com/Applitools-Dev/sdk/issues/2711)) ([5e8c7ca](https://github.com/Applitools-Dev/sdk/commit/5e8c7ca43c98e7ba6aed0c1a66c5a60b4001aeff))
|
|
95
|
+
|
|
96
|
+
|
|
97
|
+
#### Bug Fixes
|
|
98
|
+
|
|
99
|
+
* code scanning issue ([#2687](https://github.com/Applitools-Dev/sdk/issues/2687)) ([f301056](https://github.com/Applitools-Dev/sdk/commit/f301056cccfc9cc0c21ceedbd521d8f4b054f058))
|
|
100
|
+
|
|
101
|
+
|
|
102
|
+
|
|
103
|
+
* @applitools/core bumped to 4.28.0
|
|
104
|
+
#### Features
|
|
105
|
+
|
|
106
|
+
* deterministic output in offline execution ([#2711](https://github.com/Applitools-Dev/sdk/issues/2711)) ([5e8c7ca](https://github.com/Applitools-Dev/sdk/commit/5e8c7ca43c98e7ba6aed0c1a66c5a60b4001aeff))
|
|
107
|
+
* logger masking ([#2640](https://github.com/Applitools-Dev/sdk/issues/2640)) ([bd69d21](https://github.com/Applitools-Dev/sdk/commit/bd69d21f6341447b1acdb042f4ee1a6328d7428f))
|
|
108
|
+
|
|
109
|
+
|
|
110
|
+
#### Bug Fixes
|
|
111
|
+
|
|
112
|
+
* take snapshots with coded regions on pages that has cross origin frames ([#2705](https://github.com/Applitools-Dev/sdk/issues/2705)) ([5972fec](https://github.com/Applitools-Dev/sdk/commit/5972fec890a1454a9f96c4eddcf17634e72111aa))
|
|
113
|
+
|
|
114
|
+
|
|
115
|
+
|
|
116
|
+
* @applitools/spec-driver-webdriver bumped to 1.1.22
|
|
117
|
+
|
|
118
|
+
* @applitools/spec-driver-selenium bumped to 1.5.93
|
|
119
|
+
|
|
120
|
+
* @applitools/screenshoter bumped to 3.10.2
|
|
121
|
+
|
|
122
|
+
* @applitools/nml-client bumped to 1.8.21
|
|
123
|
+
|
|
124
|
+
* @applitools/tunnel-client bumped to 1.6.0
|
|
125
|
+
#### Features
|
|
126
|
+
|
|
127
|
+
* logger masking ([#2640](https://github.com/Applitools-Dev/sdk/issues/2640)) ([bd69d21](https://github.com/Applitools-Dev/sdk/commit/bd69d21f6341447b1acdb042f4ee1a6328d7428f))
|
|
128
|
+
|
|
129
|
+
|
|
130
|
+
|
|
131
|
+
* @applitools/ec-client bumped to 1.10.0
|
|
132
|
+
#### Features
|
|
133
|
+
|
|
134
|
+
* logger masking ([#2640](https://github.com/Applitools-Dev/sdk/issues/2640)) ([bd69d21](https://github.com/Applitools-Dev/sdk/commit/bd69d21f6341447b1acdb042f4ee1a6328d7428f))
|
|
135
|
+
|
|
136
|
+
|
|
137
|
+
|
|
138
|
+
* @applitools/req bumped to 1.7.6
|
|
139
|
+
|
|
140
|
+
* @applitools/image bumped to 1.1.16
|
|
141
|
+
|
|
142
|
+
* @applitools/driver bumped to 1.20.2
|
|
143
|
+
|
|
144
|
+
* @applitools/spec-driver-puppeteer bumped to 1.4.22
|
|
145
|
+
|
|
146
|
+
* @applitools/core-base bumped to 1.22.0
|
|
147
|
+
#### Features
|
|
148
|
+
|
|
149
|
+
* deterministic output in offline execution ([#2711](https://github.com/Applitools-Dev/sdk/issues/2711)) ([5e8c7ca](https://github.com/Applitools-Dev/sdk/commit/5e8c7ca43c98e7ba6aed0c1a66c5a60b4001aeff))
|
|
150
|
+
* logger masking ([#2640](https://github.com/Applitools-Dev/sdk/issues/2640)) ([bd69d21](https://github.com/Applitools-Dev/sdk/commit/bd69d21f6341447b1acdb042f4ee1a6328d7428f))
|
|
151
|
+
|
|
152
|
+
|
|
153
|
+
|
|
154
|
+
* @applitools/eyes bumped to 1.30.0
|
|
155
|
+
#### Features
|
|
156
|
+
|
|
157
|
+
* ability to download side by side with highlighted diffs (2419) ([#2530](https://github.com/Applitools-Dev/sdk/issues/2530)) ([e06ce69](https://github.com/Applitools-Dev/sdk/commit/e06ce699f30e9e444ac58dafdf5989ff1c96ca1c))
|
|
158
|
+
* add an option to keep the navigation bar for android devices ([#2608](https://github.com/Applitools-Dev/sdk/issues/2608)) ([e7647e0](https://github.com/Applitools-Dev/sdk/commit/e7647e0105a7aa47e6bf3b20ab033f1e389ca849))
|
|
159
|
+
* add chrome emulation devices ([#2559](https://github.com/Applitools-Dev/sdk/issues/2559)) ([0499aaf](https://github.com/Applitools-Dev/sdk/commit/0499aaf3bb809d2ac0105b4493e6f6bb8730ea3f))
|
|
160
|
+
* capture status bar ([#2571](https://github.com/Applitools-Dev/sdk/issues/2571)) ([5e1c75e](https://github.com/Applitools-Dev/sdk/commit/5e1c75ef9cf34af80f08806a3bceaf06a94f2780))
|
|
161
|
+
* disable broker url cache ([#2428](https://github.com/Applitools-Dev/sdk/issues/2428)) ([cb8d5fe](https://github.com/Applitools-Dev/sdk/commit/cb8d5fefb13d3ab42984d2bd4d4ac3d4e10646b0))
|
|
162
|
+
* dynamic regions ([#2538](https://github.com/Applitools-Dev/sdk/issues/2538)) ([d8b5c48](https://github.com/Applitools-Dev/sdk/commit/d8b5c48fb35f9789c702447314dc72b4f415ade1))
|
|
163
|
+
* html report for playwright ([#2576](https://github.com/Applitools-Dev/sdk/issues/2576)) ([f93f164](https://github.com/Applitools-Dev/sdk/commit/f93f164a289f5676bcc9d650e5e3d90b8e6a6920))
|
|
164
|
+
* ios 18 devices enum ([#2584](https://github.com/Applitools-Dev/sdk/issues/2584)) ([8eab653](https://github.com/Applitools-Dev/sdk/commit/8eab653f99733839bdec43d86089edc35abcf8e8))
|
|
165
|
+
* logger masking ([#2640](https://github.com/Applitools-Dev/sdk/issues/2640)) ([bd69d21](https://github.com/Applitools-Dev/sdk/commit/bd69d21f6341447b1acdb042f4ee1a6328d7428f))
|
|
166
|
+
* offline cli with config ([#2646](https://github.com/Applitools-Dev/sdk/issues/2646)) ([0589dc4](https://github.com/Applitools-Dev/sdk/commit/0589dc429a0c94451e957932106f258dadfd88cc))
|
|
167
|
+
* remove Android NMG API ([#2566](https://github.com/Applitools-Dev/sdk/issues/2566)) ([750c0f0](https://github.com/Applitools-Dev/sdk/commit/750c0f0263e5ff06f86055e7ba0c3fb47cadb620))
|
|
168
|
+
|
|
169
|
+
|
|
170
|
+
#### Bug Fixes
|
|
171
|
+
|
|
172
|
+
* don't pass RectangleSize to core ([#2673](https://github.com/Applitools-Dev/sdk/issues/2673)) ([47653ea](https://github.com/Applitools-Dev/sdk/commit/47653eae44d4c9693cc84e9209bb08f8d070c4af))
|
|
173
|
+
* offline cli chalk error ([c7c659a](https://github.com/Applitools-Dev/sdk/commit/c7c659aa889080f2fc7763152db2447211fe1487))
|
|
174
|
+
* organize configuration alphabetically and add getters and setters ([684490d](https://github.com/Applitools-Dev/sdk/commit/684490d8d85d1dd0f07bafdcc38febfcf7c58d08))
|
|
175
|
+
* trigger playwright release ([1d3ea3e](https://github.com/Applitools-Dev/sdk/commit/1d3ea3e4d2059c12d8013f04c18f5facffbc5846))
|
|
176
|
+
* trigger release ([c97dbfc](https://github.com/Applitools-Dev/sdk/commit/c97dbfc89245f374917702a867b87f2794155e54))
|
|
177
|
+
* update ios devices enums ([9b4614f](https://github.com/Applitools-Dev/sdk/commit/9b4614f09bbbe42cf99824d76893f9067aab2cc4))
|
|
178
|
+
|
|
179
|
+
|
|
180
|
+
#### Code Refactoring
|
|
181
|
+
|
|
182
|
+
* start linting "no-floating-promises" (wip) ([#2539](https://github.com/Applitools-Dev/sdk/issues/2539)) ([51b91cb](https://github.com/Applitools-Dev/sdk/commit/51b91cb15603f7d68e4bd6a16eb0f80e3f380295))
|
|
183
|
+
|
|
184
|
+
|
|
185
|
+
|
|
186
|
+
|
|
3
187
|
## [1.28.0](https://github.com/Applitools-Dev/sdk/compare/js/eyes-puppeteer-v1.27.13...js/eyes-puppeteer@1.28.0) (2024-12-18)
|
|
4
188
|
|
|
5
189
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@applitools/eyes-puppeteer",
|
|
3
|
-
"version": "1.28.
|
|
3
|
+
"version": "1.28.2",
|
|
4
4
|
"description": "Applitools Eyes SDK for Puppeteer",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"eyes-puppeteer",
|
|
@@ -31,13 +31,14 @@
|
|
|
31
31
|
"generate:tests": "NODE_OPTIONS='--experimental-import-meta-resolve --experimental-loader=@applitools/generic/dist/code-loader.js' generic ./test/generic/config.mjs",
|
|
32
32
|
"test": "yarn test:coverage",
|
|
33
33
|
"test:coverage": "APPLITOOLS_SHOW_LOGS=true APPLITOOLS_LOG_FILE=\"./logs/$(uuidgen).log\" APPLITOOLS_BATCH_NAME='JS Coverage Tests: eyes-puppeteer' APPLITOOLS_BATCH_ID=$(uuidgen) MOCHA_GROUP=coverage run --top-level mocha './test/generated-coverage/*.spec.js' --parallel --jobs ${MOCHA_JOBS:-15} --exit",
|
|
34
|
-
"setup": "yarn puppeteer:setup",
|
|
34
|
+
"setup": "[[ \"$APPLITOOLS_FRAMEWORK_VERSION\" != \"21\" ]] && yarn puppeteer:setup || yarn puppeteer:setup-chrome-only",
|
|
35
35
|
"puppeteer:setup": "PUPPETEER_PRODUCT=firefox node --eval 'import(\"puppeteer/install.mjs\").catch(() => import(\"puppeteer/install.js\"))'",
|
|
36
|
+
"puppeteer:setup-chrome-only": "puppeteer browsers install chrome",
|
|
36
37
|
"up:framework": "echo \"$(jq '.devDependencies.puppeteer = $ENV.APPLITOOLS_FRAMEWORK_VERSION' ./package.json)\" > ./package.json"
|
|
37
38
|
},
|
|
38
39
|
"dependencies": {
|
|
39
|
-
"@applitools/eyes": "1.
|
|
40
|
-
"@applitools/spec-driver-puppeteer": "1.4.
|
|
40
|
+
"@applitools/eyes": "1.31.0",
|
|
41
|
+
"@applitools/spec-driver-puppeteer": "1.4.23"
|
|
41
42
|
},
|
|
42
43
|
"devDependencies": {
|
|
43
44
|
"@applitools/api-extractor": "^1.2.22",
|
package/types/index.d.ts
CHANGED
|
@@ -11,7 +11,7 @@ export type SpecType = {
|
|
|
11
11
|
};
|
|
12
12
|
export class Eyes {
|
|
13
13
|
static setViewportSize: (driver: Driver, viewportSize: RectangleSize) => Promise<void>;
|
|
14
|
-
static getExecutionCloudUrl(config?: undefined | ConfigurationPlain): Promise<string>;
|
|
14
|
+
static getExecutionCloudUrl(config?: undefined | (ConfigurationPlain & { maskLog?: undefined | boolean; })): Promise<string>;
|
|
15
15
|
static setMobileCapabilities<TCapabilities extends Record<string, any>>(capabilities: TCapabilities, config?: undefined | ConfigurationPlain): TCapabilities;
|
|
16
16
|
constructor(runner?: undefined | EyesRunner, config?: undefined | ConfigurationPlain);
|
|
17
17
|
constructor(config?: undefined | ConfigurationPlain);
|
|
@@ -481,6 +481,7 @@ export type ConfigurationPlain = {
|
|
|
481
481
|
environmentName?: undefined | string;
|
|
482
482
|
forceFullPageScreenshot?: undefined | boolean;
|
|
483
483
|
gitMergeBaseTimestamp?: undefined | string;
|
|
484
|
+
latestCommitInfo?: undefined | { timestamp: string; sha: string; };
|
|
484
485
|
hideCaret?: undefined | boolean;
|
|
485
486
|
hideScrollbars?: undefined | boolean;
|
|
486
487
|
hostApp?: undefined | string;
|
|
@@ -655,6 +656,10 @@ export class Configuration implements Required<ConfigurationPlain> {
|
|
|
655
656
|
set gitMergeBaseTimestamp(gitMergeBaseTimestamp: string);
|
|
656
657
|
getGitMergeBaseTimestamp(): string;
|
|
657
658
|
setGitMergeBaseTimestamp(gitMergeBaseTimestamp: string): Configuration;
|
|
659
|
+
get latestCommitInfo(): { timestamp: string; sha: string; };
|
|
660
|
+
set latestCommitInfo(latestCommitInfo: { timestamp: string; sha: string; });
|
|
661
|
+
getLatestCommitInfo(): { timestamp: string; sha: string; };
|
|
662
|
+
setLatestCommitInfo(latestCommitInfo: { timestamp: string; sha: string; }): Configuration;
|
|
658
663
|
get hideCaret(): boolean;
|
|
659
664
|
set hideCaret(hideCaret: boolean);
|
|
660
665
|
getHideCaret(): boolean;
|
|
@@ -1600,7 +1605,7 @@ export class Region implements Required<RegionPlain> {
|
|
|
1600
1605
|
export type DesktopBrowserInfo = { name?: undefined | BrowserTypePlain; width: number; height: number; };
|
|
1601
1606
|
export type ChromeEmulationInfo = { chromeEmulationInfo: { deviceName: DeviceNamePlain; screenOrientation?: undefined | ScreenOrientationPlain; }; };
|
|
1602
1607
|
export type IOSDeviceInfo = { iosDeviceInfo: { deviceName: IosDeviceNamePlain; iosVersion?: undefined | IosVersionPlain; screenOrientation?: undefined | ScreenOrientationPlain; }; };
|
|
1603
|
-
export type RunnerOptionsPlain = { testConcurrency?: undefined | number; fetchConcurrency?: undefined | number; removeDuplicateTests?: undefined | boolean; };
|
|
1608
|
+
export type RunnerOptionsPlain = { testConcurrency?: undefined | number; fetchConcurrency?: undefined | number; removeDuplicateTests?: undefined | boolean; maskLog?: undefined | boolean; };
|
|
1604
1609
|
export class RunnerOptionsFluent {
|
|
1605
1610
|
testConcurrency(concurrency: number): RunnerOptionsFluent;
|
|
1606
1611
|
}
|
|
@@ -1880,6 +1885,7 @@ export class Logger {
|
|
|
1880
1885
|
}
|
|
1881
1886
|
export abstract class EyesRunner {
|
|
1882
1887
|
constructor(options?: undefined | RunnerOptionsPlain);
|
|
1888
|
+
readonly _maskLog: boolean;
|
|
1883
1889
|
abstract readonly type: "ufg" | "classic";
|
|
1884
1890
|
getAllTestResults(throwErr?: undefined | boolean): Promise<TestResultsSummary>;
|
|
1885
1891
|
}
|