@applitools/eyes-puppeteer 1.29.2 → 1.29.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,108 @@
1
1
  # Changelog
2
2
 
3
+ ## [1.29.3](https://github.com/Applitools-Dev/sdk/compare/js/eyes-puppeteer@1.29.2...js/eyes-puppeteer@1.29.3) (2025-04-17)
4
+
5
+
6
+ ### Performance Improvements
7
+
8
+ * cachify http agent ([#2466](https://github.com/Applitools-Dev/sdk/issues/2466)) ([bc2f4a1](https://github.com/Applitools-Dev/sdk/commit/bc2f4a1fae3c379f061c9199edf4c5257769fb44))
9
+
10
+
11
+ ### Dependencies
12
+
13
+ * @applitools/dom-snapshot bumped to 4.11.18
14
+ #### Bug Fixes
15
+
16
+ * simplify sandbox creation and ensure cleanup after execution ([#2869](https://github.com/Applitools-Dev/sdk/issues/2869)) ([72c5e01](https://github.com/Applitools-Dev/sdk/commit/72c5e01307f6abd83fab365a7e235124caae0694))
17
+
18
+
19
+
20
+ * @applitools/snippets bumped to 2.6.5
21
+ #### Performance Improvements
22
+
23
+ * cachify http agent ([#2466](https://github.com/Applitools-Dev/sdk/issues/2466)) ([bc2f4a1](https://github.com/Applitools-Dev/sdk/commit/bc2f4a1fae3c379f061c9199edf4c5257769fb44))
24
+ * @applitools/driver bumped to 1.21.1
25
+ #### Bug Fixes
26
+
27
+ * executePoll error logging FLD-2870 ([#2890](https://github.com/Applitools-Dev/sdk/issues/2890)) ([a8ff720](https://github.com/Applitools-Dev/sdk/commit/a8ff720efafacabe2023282748a6d8a0f1b3ff73))
28
+
29
+
30
+
31
+ * @applitools/spec-driver-webdriver bumped to 1.2.2
32
+ #### Performance Improvements
33
+
34
+ * cachify http agent ([#2466](https://github.com/Applitools-Dev/sdk/issues/2466)) ([bc2f4a1](https://github.com/Applitools-Dev/sdk/commit/bc2f4a1fae3c379f061c9199edf4c5257769fb44))
35
+
36
+
37
+
38
+ * @applitools/spec-driver-selenium bumped to 1.5.98
39
+ #### Performance Improvements
40
+
41
+ * cachify http agent ([#2466](https://github.com/Applitools-Dev/sdk/issues/2466)) ([bc2f4a1](https://github.com/Applitools-Dev/sdk/commit/bc2f4a1fae3c379f061c9199edf4c5257769fb44))
42
+
43
+
44
+
45
+ * @applitools/spec-driver-puppeteer bumped to 1.4.27
46
+ #### Performance Improvements
47
+
48
+ * cachify http agent ([#2466](https://github.com/Applitools-Dev/sdk/issues/2466)) ([bc2f4a1](https://github.com/Applitools-Dev/sdk/commit/bc2f4a1fae3c379f061c9199edf4c5257769fb44))
49
+
50
+
51
+
52
+ * @applitools/screenshoter bumped to 3.11.1
53
+ #### Performance Improvements
54
+
55
+ * cachify http agent ([#2466](https://github.com/Applitools-Dev/sdk/issues/2466)) ([bc2f4a1](https://github.com/Applitools-Dev/sdk/commit/bc2f4a1fae3c379f061c9199edf4c5257769fb44))
56
+
57
+
58
+
59
+ * @applitools/nml-client bumped to 1.9.1
60
+ #### Performance Improvements
61
+
62
+ * cachify http agent ([#2466](https://github.com/Applitools-Dev/sdk/issues/2466)) ([bc2f4a1](https://github.com/Applitools-Dev/sdk/commit/bc2f4a1fae3c379f061c9199edf4c5257769fb44))
63
+
64
+
65
+
66
+ * @applitools/tunnel-client bumped to 1.6.5
67
+ #### Bug Fixes
68
+
69
+ * enhance error messages in tunnel client ([cab26e6](https://github.com/Applitools-Dev/sdk/commit/cab26e6e3d56fa3cbabaa1a9c68de13046b8f57e))
70
+ * @applitools/ufg-client bumped to 1.16.9
71
+ #### Bug Fixes
72
+
73
+ * basic auth protected resources | FLD-2761 | FMRI-120 ([#2444](https://github.com/Applitools-Dev/sdk/issues/2444)) ([b48cf49](https://github.com/Applitools-Dev/sdk/commit/b48cf49dec50bbf1ed2ba111608a48cf09962565))
74
+
75
+
76
+ #### Performance Improvements
77
+
78
+ * cachify http agent ([#2466](https://github.com/Applitools-Dev/sdk/issues/2466)) ([bc2f4a1](https://github.com/Applitools-Dev/sdk/commit/bc2f4a1fae3c379f061c9199edf4c5257769fb44))
79
+ * @applitools/ec-client bumped to 1.10.9
80
+ #### Performance Improvements
81
+
82
+ * cachify http agent ([#2466](https://github.com/Applitools-Dev/sdk/issues/2466)) ([bc2f4a1](https://github.com/Applitools-Dev/sdk/commit/bc2f4a1fae3c379f061c9199edf4c5257769fb44))
83
+
84
+
85
+
86
+ * @applitools/core bumped to 4.37.0
87
+ #### Features
88
+
89
+ * height layout breakpoints ([#2801](https://github.com/Applitools-Dev/sdk/issues/2801)) ([819e241](https://github.com/Applitools-Dev/sdk/commit/819e2418f1fd93220a07dfbcf1157ffcf4995dd7))
90
+
91
+
92
+
93
+ * @applitools/eyes bumped to 1.34.0
94
+ #### Features
95
+
96
+ * height layout breakpoints ([#2801](https://github.com/Applitools-Dev/sdk/issues/2801)) ([819e241](https://github.com/Applitools-Dev/sdk/commit/819e2418f1fd93220a07dfbcf1157ffcf4995dd7))
97
+
98
+
99
+ #### Bug Fixes
100
+
101
+ * add checks for undefined regions in CheckSettings | AD-9042 ([#2868](https://github.com/Applitools-Dev/sdk/issues/2868)) ([0f7c991](https://github.com/Applitools-Dev/sdk/commit/0f7c9913d64e0535ba5ffe632923a3bf440be65f))
102
+
103
+
104
+
105
+
3
106
  ## [1.29.2](https://github.com/Applitools-Dev/sdk/compare/js/eyes-puppeteer@1.29.1...js/eyes-puppeteer@1.29.2) (2025-04-03)
4
107
 
5
108
 
package/README.md CHANGED
@@ -1,12 +1,73 @@
1
- <div align="center">
1
+ ## Applitools Eyes SDK for [Puppeteer](https://pptr.dev/).
2
2
 
3
- ![Applitools Eyes](https://i.ibb.co/3hWJK68/applitools-eyes-logo.png)
4
- ### Applitools Eyes SDK for [Puppeteer](https://developers.google.com/web/tools/puppeteer)
5
- [![npm](https://img.shields.io/npm/v/@applitools/eyes-puppeteer.svg?style=for-the-badge)](https://www.npmjs.com/package/@applitools/eyes-puppeteer)
3
+ ## Installation
6
4
 
7
- </div>
8
- <br/>
5
+ Install eyes-puppeteer as a local dev dependency in your tested project:
9
6
 
10
- ## Resources
11
- - [Quick start](https://applitools.com/tutorials/quickstart/web/puppeteer)
12
- - [API reference](https://applitools.com/docs/api-ref/sdk-api/puppeteer/javascript/)
7
+ ```bash
8
+ npm i -D @applitools/eyes-puppeteer
9
+ ```
10
+
11
+ ## Getting started
12
+
13
+ To get started with this SDK, you need to set the following:
14
+
15
+ * [Applitools API key](#API)
16
+ * [Eyes server URL](#URL) - Required only if the Eyes server is not deployed on the Eyes public server.
17
+
18
+
19
+ ### Entering the Applitools API key {#API}
20
+
21
+ To authenticate via the Applitools server and run tests, you need to set the environment variable `APPLITOOLS_API_KEY` to the API key provided from Applitools Eyes. For details how to retrieve your API key, see [the Applitools documentation](/getting-started/retrieve-api-key) in the Eyes Knowledge Center.
22
+
23
+ #### Entering the API Key on Linux or a Mac
24
+
25
+ ```bash
26
+ export APPLITOOLS_API_KEY=<your_key>
27
+ npm test
28
+ ```
29
+
30
+ #### Entering the API Key on Windows
31
+
32
+ ```bash
33
+ set APPLITOOLS_API_KEY=<your_key>
34
+ npx test
35
+ ```
36
+
37
+ #### Entering the API Key programmatically
38
+
39
+ ```js
40
+ eyes.setApiKey('<your API key>')
41
+ ```
42
+
43
+ ### Eyes server URL {#URL}
44
+
45
+ If the Eyes server is not deployed in `https://eyes.applitools.com`, you need to set the Server URL in the environment variable `APPLITOOLS_SERVER_URL` before running tests.
46
+
47
+ The server URL of your Applitools Eyes dashboard is in the format `https://<MY_COMPANY>.applitools.com`
48
+
49
+
50
+ #### Entering the server URL on Linux or a Mac
51
+
52
+ ```bash
53
+ export APPLITOOLS_SERVER_URL=<YOUR_SERVER_URL>
54
+ ```
55
+
56
+ #### Entering the server URL on Windows
57
+
58
+ ```bash
59
+ set APPLITOOLS_SERVER_URL=<YOUR_SERVER_URL>
60
+ ```
61
+
62
+
63
+
64
+
65
+
66
+
67
+ ## Further information
68
+
69
+ For further information, see:
70
+
71
+ * [Quickstart](https://applitools.com/tutorials/sdks/puppeteer/quickstart)
72
+ * [Overview](https://applitools.com/tutorials/sdks/puppeteer)
73
+ * [Changelog](https://applitools.com/tutorials/sdks/puppeteer/changelog)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@applitools/eyes-puppeteer",
3
- "version": "1.29.2",
3
+ "version": "1.29.3",
4
4
  "description": "Applitools Eyes SDK for Puppeteer",
5
5
  "keywords": [
6
6
  "eyes-puppeteer",
@@ -37,8 +37,8 @@
37
37
  "up:framework": "echo \"$(jq '.devDependencies.puppeteer = $ENV.APPLITOOLS_FRAMEWORK_VERSION' ./package.json)\" > ./package.json"
38
38
  },
39
39
  "dependencies": {
40
- "@applitools/eyes": "1.33.2",
41
- "@applitools/spec-driver-puppeteer": "1.4.26"
40
+ "@applitools/eyes": "1.34.0",
41
+ "@applitools/spec-driver-puppeteer": "1.4.27"
42
42
  },
43
43
  "devDependencies": {
44
44
  "@applitools/api-extractor": "^1.2.22",
package/types/index.d.ts CHANGED
@@ -267,7 +267,7 @@ export type CheckSettingsAutomationPlain = {
267
267
  scrollRootElement?: undefined | (Element | (string | Selector | { selector: string | Selector; type?: undefined | string; shadow?: undefined | EyesSelector<Selector>; frame?: undefined | EyesSelector<Selector>; }));
268
268
  fully?: undefined | boolean;
269
269
  disableBrowserFetching?: undefined | boolean;
270
- layoutBreakpoints?: undefined | boolean | Array<number> | { breakpoints: boolean | Array<number>; reload?: undefined | boolean; };
270
+ layoutBreakpoints?: undefined | (boolean | Array<number> | { breakpoints: boolean | Array<number>; reload?: undefined | boolean; } | { breakpoints: boolean; heightBreakpoints: boolean; reload?: undefined | boolean; });
271
271
  visualGridOptions?: undefined | { [key: string]: any; };
272
272
  ufgOptions?: undefined | { [key: string]: any; };
273
273
  nmgOptions?: undefined | { [key: string]: any; };
@@ -296,8 +296,9 @@ export class CheckSettingsAutomation {
296
296
  fully(fully?: undefined | boolean): CheckSettingsAutomation;
297
297
  stitchContent(stitchContent?: undefined | boolean): CheckSettingsAutomation;
298
298
  disableBrowserFetching(disableBrowserFetching: boolean): CheckSettingsAutomation;
299
- layoutBreakpoints(breakpoints?: undefined | boolean, settings?: undefined | { reload?: undefined | boolean; }): CheckSettingsAutomation;
300
- layoutBreakpoints(breakpoints?: undefined | Array<number>, settings?: undefined | { reload?: undefined | boolean; }): CheckSettingsAutomation;
299
+ layoutBreakpoints(breakpoints: boolean, heightBreakpoints: boolean, settings?: undefined | { reload?: undefined | boolean; }): CheckSettingsAutomation;
300
+ layoutBreakpoints(breakpoints: boolean, settings?: undefined | { reload?: undefined | boolean; }): CheckSettingsAutomation;
301
+ layoutBreakpoints(breakpoints: Array<number>, settings?: undefined | { reload?: undefined | boolean; }): CheckSettingsAutomation;
301
302
  hook(name: string, script: string): CheckSettingsAutomation;
302
303
  beforeRenderScreenshotHook(script: string): CheckSettingsAutomation;
303
304
  webHook(script: string): CheckSettingsAutomation;