@applitools/eyes-playwright 1.34.0 → 1.35.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,198 @@
1
1
  # Changelog
2
2
 
3
+ ## [1.35.0](https://github.com/Applitools-Dev/sdk/compare/js/eyes-playwright@1.34.1...js/eyes-playwright@1.35.0) (2025-01-13)
4
+
5
+
6
+ ### Features
7
+
8
+ * jsonFilePath in offline mode ([#2734](https://github.com/Applitools-Dev/sdk/issues/2734)) ([2f9fbe8](https://github.com/Applitools-Dev/sdk/commit/2f9fbe8fc3c5212db6b7cc58a98b041c3ffd5572))
9
+
10
+
11
+ ### Dependencies
12
+
13
+ * @applitools/dom-snapshot bumped to 4.11.14
14
+ #### Bug Fixes
15
+
16
+ * 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))
17
+
18
+
19
+
20
+ * @applitools/snippets bumped to 2.6.4
21
+ #### Bug Fixes
22
+
23
+ * 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))
24
+ * @applitools/dom-capture bumped to 11.5.4
25
+ #### Bug Fixes
26
+
27
+ * 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))
28
+ * @applitools/core bumped to 4.29.0
29
+ #### Features
30
+
31
+ * jsonFilePath in offline mode ([#2734](https://github.com/Applitools-Dev/sdk/issues/2734)) ([2f9fbe8](https://github.com/Applitools-Dev/sdk/commit/2f9fbe8fc3c5212db6b7cc58a98b041c3ffd5572))
32
+
33
+
34
+ #### Bug Fixes
35
+
36
+ * 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))
37
+
38
+
39
+
40
+ * @applitools/driver bumped to 1.20.3
41
+
42
+ * @applitools/spec-driver-webdriver bumped to 1.1.23
43
+
44
+ * @applitools/spec-driver-selenium bumped to 1.5.94
45
+
46
+ * @applitools/spec-driver-playwright bumped to 1.5.6
47
+
48
+ * @applitools/spec-driver-puppeteer bumped to 1.4.23
49
+
50
+ * @applitools/screenshoter bumped to 3.10.3
51
+
52
+ * @applitools/nml-client bumped to 1.8.22
53
+
54
+ * @applitools/ec-client bumped to 1.10.1
55
+
56
+ * @applitools/eyes bumped to 1.31.0
57
+ #### Features
58
+
59
+ * jsonFilePath in offline mode ([#2734](https://github.com/Applitools-Dev/sdk/issues/2734)) ([2f9fbe8](https://github.com/Applitools-Dev/sdk/commit/2f9fbe8fc3c5212db6b7cc58a98b041c3ffd5572))
60
+
61
+
62
+
63
+
64
+ ## [1.34.1](https://github.com/Applitools-Dev/sdk/compare/js/eyes-playwright@1.34.0...js/eyes-playwright@1.34.1) (2024-12-31)
65
+
66
+
67
+ ### Dependencies
68
+
69
+ * @applitools/utils bumped to 1.7.7
70
+ #### Bug Fixes
71
+
72
+ * 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))
73
+ * @applitools/logger bumped to 2.1.0
74
+ #### Features
75
+
76
+ * logger masking ([#2640](https://github.com/Applitools-Dev/sdk/issues/2640)) ([bd69d21](https://github.com/Applitools-Dev/sdk/commit/bd69d21f6341447b1acdb042f4ee1a6328d7428f))
77
+
78
+
79
+
80
+ * @applitools/dom-snapshot bumped to 4.11.13
81
+ #### Bug Fixes
82
+
83
+ * code scanning issue ([#2687](https://github.com/Applitools-Dev/sdk/issues/2687)) ([f301056](https://github.com/Applitools-Dev/sdk/commit/f301056cccfc9cc0c21ceedbd521d8f4b054f058))
84
+
85
+
86
+
87
+ * @applitools/socket bumped to 1.2.0
88
+ #### Features
89
+
90
+ * logger masking ([#2640](https://github.com/Applitools-Dev/sdk/issues/2640)) ([bd69d21](https://github.com/Applitools-Dev/sdk/commit/bd69d21f6341447b1acdb042f4ee1a6328d7428f))
91
+
92
+
93
+
94
+ * @applitools/dom-capture bumped to 11.5.3
95
+ #### Bug Fixes
96
+
97
+ * code scanning issue ([#2687](https://github.com/Applitools-Dev/sdk/issues/2687)) ([f301056](https://github.com/Applitools-Dev/sdk/commit/f301056cccfc9cc0c21ceedbd521d8f4b054f058))
98
+ * @applitools/ufg-client bumped to 1.16.0
99
+ #### Features
100
+
101
+ * deterministic output in offline execution ([#2711](https://github.com/Applitools-Dev/sdk/issues/2711)) ([5e8c7ca](https://github.com/Applitools-Dev/sdk/commit/5e8c7ca43c98e7ba6aed0c1a66c5a60b4001aeff))
102
+
103
+
104
+ #### Bug Fixes
105
+
106
+ * code scanning issue ([#2687](https://github.com/Applitools-Dev/sdk/issues/2687)) ([f301056](https://github.com/Applitools-Dev/sdk/commit/f301056cccfc9cc0c21ceedbd521d8f4b054f058))
107
+
108
+
109
+
110
+ * @applitools/core bumped to 4.28.0
111
+ #### Features
112
+
113
+ * deterministic output in offline execution ([#2711](https://github.com/Applitools-Dev/sdk/issues/2711)) ([5e8c7ca](https://github.com/Applitools-Dev/sdk/commit/5e8c7ca43c98e7ba6aed0c1a66c5a60b4001aeff))
114
+ * logger masking ([#2640](https://github.com/Applitools-Dev/sdk/issues/2640)) ([bd69d21](https://github.com/Applitools-Dev/sdk/commit/bd69d21f6341447b1acdb042f4ee1a6328d7428f))
115
+
116
+
117
+ #### Bug Fixes
118
+
119
+ * 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))
120
+
121
+
122
+
123
+ * @applitools/spec-driver-webdriver bumped to 1.1.22
124
+
125
+ * @applitools/spec-driver-selenium bumped to 1.5.93
126
+
127
+ * @applitools/spec-driver-playwright bumped to 1.5.5
128
+
129
+ * @applitools/screenshoter bumped to 3.10.2
130
+
131
+ * @applitools/nml-client bumped to 1.8.21
132
+
133
+ * @applitools/tunnel-client bumped to 1.6.0
134
+ #### Features
135
+
136
+ * logger masking ([#2640](https://github.com/Applitools-Dev/sdk/issues/2640)) ([bd69d21](https://github.com/Applitools-Dev/sdk/commit/bd69d21f6341447b1acdb042f4ee1a6328d7428f))
137
+
138
+
139
+
140
+ * @applitools/ec-client bumped to 1.10.0
141
+ #### Features
142
+
143
+ * logger masking ([#2640](https://github.com/Applitools-Dev/sdk/issues/2640)) ([bd69d21](https://github.com/Applitools-Dev/sdk/commit/bd69d21f6341447b1acdb042f4ee1a6328d7428f))
144
+
145
+
146
+
147
+ * @applitools/req bumped to 1.7.6
148
+
149
+ * @applitools/image bumped to 1.1.16
150
+
151
+ * @applitools/driver bumped to 1.20.2
152
+
153
+ * @applitools/spec-driver-puppeteer bumped to 1.4.22
154
+
155
+ * @applitools/core-base bumped to 1.22.0
156
+ #### Features
157
+
158
+ * deterministic output in offline execution ([#2711](https://github.com/Applitools-Dev/sdk/issues/2711)) ([5e8c7ca](https://github.com/Applitools-Dev/sdk/commit/5e8c7ca43c98e7ba6aed0c1a66c5a60b4001aeff))
159
+ * logger masking ([#2640](https://github.com/Applitools-Dev/sdk/issues/2640)) ([bd69d21](https://github.com/Applitools-Dev/sdk/commit/bd69d21f6341447b1acdb042f4ee1a6328d7428f))
160
+
161
+
162
+
163
+ * @applitools/eyes bumped to 1.30.0
164
+ #### Features
165
+
166
+ * 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))
167
+ * 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))
168
+ * add chrome emulation devices ([#2559](https://github.com/Applitools-Dev/sdk/issues/2559)) ([0499aaf](https://github.com/Applitools-Dev/sdk/commit/0499aaf3bb809d2ac0105b4493e6f6bb8730ea3f))
169
+ * capture status bar ([#2571](https://github.com/Applitools-Dev/sdk/issues/2571)) ([5e1c75e](https://github.com/Applitools-Dev/sdk/commit/5e1c75ef9cf34af80f08806a3bceaf06a94f2780))
170
+ * disable broker url cache ([#2428](https://github.com/Applitools-Dev/sdk/issues/2428)) ([cb8d5fe](https://github.com/Applitools-Dev/sdk/commit/cb8d5fefb13d3ab42984d2bd4d4ac3d4e10646b0))
171
+ * dynamic regions ([#2538](https://github.com/Applitools-Dev/sdk/issues/2538)) ([d8b5c48](https://github.com/Applitools-Dev/sdk/commit/d8b5c48fb35f9789c702447314dc72b4f415ade1))
172
+ * html report for playwright ([#2576](https://github.com/Applitools-Dev/sdk/issues/2576)) ([f93f164](https://github.com/Applitools-Dev/sdk/commit/f93f164a289f5676bcc9d650e5e3d90b8e6a6920))
173
+ * ios 18 devices enum ([#2584](https://github.com/Applitools-Dev/sdk/issues/2584)) ([8eab653](https://github.com/Applitools-Dev/sdk/commit/8eab653f99733839bdec43d86089edc35abcf8e8))
174
+ * logger masking ([#2640](https://github.com/Applitools-Dev/sdk/issues/2640)) ([bd69d21](https://github.com/Applitools-Dev/sdk/commit/bd69d21f6341447b1acdb042f4ee1a6328d7428f))
175
+ * offline cli with config ([#2646](https://github.com/Applitools-Dev/sdk/issues/2646)) ([0589dc4](https://github.com/Applitools-Dev/sdk/commit/0589dc429a0c94451e957932106f258dadfd88cc))
176
+ * remove Android NMG API ([#2566](https://github.com/Applitools-Dev/sdk/issues/2566)) ([750c0f0](https://github.com/Applitools-Dev/sdk/commit/750c0f0263e5ff06f86055e7ba0c3fb47cadb620))
177
+
178
+
179
+ #### Bug Fixes
180
+
181
+ * don't pass RectangleSize to core ([#2673](https://github.com/Applitools-Dev/sdk/issues/2673)) ([47653ea](https://github.com/Applitools-Dev/sdk/commit/47653eae44d4c9693cc84e9209bb08f8d070c4af))
182
+ * offline cli chalk error ([c7c659a](https://github.com/Applitools-Dev/sdk/commit/c7c659aa889080f2fc7763152db2447211fe1487))
183
+ * organize configuration alphabetically and add getters and setters ([684490d](https://github.com/Applitools-Dev/sdk/commit/684490d8d85d1dd0f07bafdcc38febfcf7c58d08))
184
+ * trigger playwright release ([1d3ea3e](https://github.com/Applitools-Dev/sdk/commit/1d3ea3e4d2059c12d8013f04c18f5facffbc5846))
185
+ * trigger release ([c97dbfc](https://github.com/Applitools-Dev/sdk/commit/c97dbfc89245f374917702a867b87f2794155e54))
186
+ * update ios devices enums ([9b4614f](https://github.com/Applitools-Dev/sdk/commit/9b4614f09bbbe42cf99824d76893f9067aab2cc4))
187
+
188
+
189
+ #### Code Refactoring
190
+
191
+ * start linting "no-floating-promises" (wip) ([#2539](https://github.com/Applitools-Dev/sdk/issues/2539)) ([51b91cb](https://github.com/Applitools-Dev/sdk/commit/51b91cb15603f7d68e4bd6a16eb0f80e3f380295))
192
+
193
+
194
+
195
+
3
196
  ## [1.34.0](https://github.com/Applitools-Dev/sdk/compare/js/eyes-playwright@1.33.2...js/eyes-playwright@1.34.0) (2024-12-18)
4
197
 
5
198
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@applitools/eyes-playwright",
3
- "version": "1.34.0",
3
+ "version": "1.35.0",
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.29.3",
63
- "@applitools/spec-driver-playwright": "1.5.4",
64
- "@applitools/utils": "1.7.6",
62
+ "@applitools/eyes": "1.31.0",
63
+ "@applitools/spec-driver-playwright": "1.5.6",
64
+ "@applitools/utils": "1.7.7",
65
65
  "@inquirer/prompts": "7.0.1",
66
66
  "chalk": "4.1.2",
67
67
  "yargs": "17.7.2"
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
  }