@applitools/eyes-puppeteer 1.17.8 → 1.17.10

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,116 @@
1
1
  # Changelog
2
2
 
3
+ ## [1.17.10](https://github.com/applitools/eyes.sdk.javascript1/compare/js/eyes-puppeteer@1.17.9...js/eyes-puppeteer@1.17.10) (2023-07-05)
4
+
5
+
6
+ ### Dependencies
7
+
8
+ * @applitools/eyes bumped from 1.5.0 to 1.5.1
9
+ #### Bug Fixes
10
+
11
+ * fixed issue with getResults log appearing in console when file handler configured ([56b75c2](https://github.com/applitools/eyes.sdk.javascript1/commit/56b75c2185906c1581980985816a000c14000ac3))
12
+
13
+
14
+ #### Reverts
15
+
16
+ * revert removal of `nmgOptions` api ([b8d03c7](https://github.com/applitools/eyes.sdk.javascript1/commit/b8d03c77e8243397ecca233e46d56f7437d16df4))
17
+
18
+
19
+
20
+ * @applitools/core bumped from 3.4.0 to 3.5.0
21
+ #### Features
22
+
23
+ * added auto applitools lib detection ([#1707](https://github.com/applitools/eyes.sdk.javascript1/issues/1707)) ([7d439b5](https://github.com/applitools/eyes.sdk.javascript1/commit/7d439b52af55f3b0596c9d35d6ba85c717448023))
24
+ * support dns caching ([#1680](https://github.com/applitools/eyes.sdk.javascript1/issues/1680)) ([9bbff34](https://github.com/applitools/eyes.sdk.javascript1/commit/9bbff34f50c9d18758b55a6bcb45571ca1148180))
25
+
26
+
27
+ #### Bug Fixes
28
+
29
+ * some fix ([660a137](https://github.com/applitools/eyes.sdk.javascript1/commit/660a1376a49dd28f8f399690502cd3d1f77665fa))
30
+
31
+
32
+
33
+ * @applitools/core-base bumped from 1.2.1 to 1.3.0
34
+ #### Features
35
+
36
+ * support dns caching ([#1680](https://github.com/applitools/eyes.sdk.javascript1/issues/1680)) ([9bbff34](https://github.com/applitools/eyes.sdk.javascript1/commit/9bbff34f50c9d18758b55a6bcb45571ca1148180))
37
+
38
+
39
+
40
+ * @applitools/req bumped from 1.3.3 to 1.4.0
41
+ #### Features
42
+
43
+ * support dns caching ([#1680](https://github.com/applitools/eyes.sdk.javascript1/issues/1680)) ([9bbff34](https://github.com/applitools/eyes.sdk.javascript1/commit/9bbff34f50c9d18758b55a6bcb45571ca1148180))
44
+ * @applitools/driver bumped from 1.12.4 to 1.13.0
45
+ #### Features
46
+
47
+ * added auto applitools lib detection ([#1707](https://github.com/applitools/eyes.sdk.javascript1/issues/1707)) ([7d439b5](https://github.com/applitools/eyes.sdk.javascript1/commit/7d439b52af55f3b0596c9d35d6ba85c717448023))
48
+ * @applitools/ec-client bumped from 1.5.0 to 1.6.0
49
+ #### Features
50
+
51
+ * added support of regional execution cloud servers ([#1711](https://github.com/applitools/eyes.sdk.javascript1/issues/1711)) ([2e26c69](https://github.com/applitools/eyes.sdk.javascript1/commit/2e26c6944bb15f6121fb37c1dba95aba162c1f6a))
52
+ * support dns caching ([#1680](https://github.com/applitools/eyes.sdk.javascript1/issues/1680)) ([9bbff34](https://github.com/applitools/eyes.sdk.javascript1/commit/9bbff34f50c9d18758b55a6bcb45571ca1148180))
53
+
54
+
55
+ #### Bug Fixes
56
+
57
+ * fixed auto tunnel cleanup after unexpected end of the process ([3c1ad08](https://github.com/applitools/eyes.sdk.javascript1/commit/3c1ad0837d2d3560becc6d89370aa878becb3270))
58
+
59
+
60
+
61
+ * @applitools/tunnel-client bumped from 0.1.1 to 1.0.0
62
+ #### Features
63
+
64
+ * added binaries and made them available in jfrog ([92033fe](https://github.com/applitools/eyes.sdk.javascript1/commit/92033fed7edc58bbc4a4e37269068418fe3afc3d))
65
+ * release as 1.0.0 ([93bf312](https://github.com/applitools/eyes.sdk.javascript1/commit/93bf31205b07d19bc2cb4f50b974c7bad0f49cea))
66
+
67
+
68
+
69
+ * @applitools/ufg-client bumped from 1.2.22 to 1.3.0
70
+ #### Features
71
+
72
+ * support dns caching ([#1680](https://github.com/applitools/eyes.sdk.javascript1/issues/1680)) ([9bbff34](https://github.com/applitools/eyes.sdk.javascript1/commit/9bbff34f50c9d18758b55a6bcb45571ca1148180))
73
+
74
+
75
+
76
+ * @applitools/spec-driver-webdriver bumped from 1.0.36 to 1.0.37
77
+
78
+ * @applitools/nml-client bumped from 1.5.0 to 1.5.1
79
+
80
+ * @applitools/screenshoter bumped from 3.8.1 to 3.8.2
81
+
82
+ * @applitools/spec-driver-puppeteer bumped from 1.1.67 to 1.1.68
83
+
84
+
85
+ ## [1.17.9](https://github.com/applitools/eyes.sdk.javascript1/compare/js/eyes-puppeteer@1.17.8...js/eyes-puppeteer@1.17.9) (2023-06-29)
86
+
87
+
88
+ ### Dependencies
89
+
90
+ * @applitools/eyes bumped from 1.4.1 to 1.5.0
91
+ #### Features
92
+
93
+ * added a new mode for taking native app screenshots ([#1682](https://github.com/applitools/eyes.sdk.javascript1/issues/1682)) ([0ab7d96](https://github.com/applitools/eyes.sdk.javascript1/commit/0ab7d96164c89ec65b87654fb271d4404bbf70e5))
94
+
95
+
96
+
97
+ * @applitools/core bumped from 3.3.1 to 3.4.0
98
+ #### Features
99
+
100
+ * added a new mode for taking native app screenshots ([#1682](https://github.com/applitools/eyes.sdk.javascript1/issues/1682)) ([0ab7d96](https://github.com/applitools/eyes.sdk.javascript1/commit/0ab7d96164c89ec65b87654fb271d4404bbf70e5))
101
+
102
+
103
+ #### Bug Fixes
104
+
105
+ * apply default scrolling mode ([f35aba4](https://github.com/applitools/eyes.sdk.javascript1/commit/f35aba454a344c8f0cf787afa2120ce57d91e307))
106
+
107
+
108
+
109
+ * @applitools/nml-client bumped from 1.4.0 to 1.5.0
110
+ #### Features
111
+
112
+ * added a new mode for taking native app screenshots ([#1682](https://github.com/applitools/eyes.sdk.javascript1/issues/1682)) ([0ab7d96](https://github.com/applitools/eyes.sdk.javascript1/commit/0ab7d96164c89ec65b87654fb271d4404bbf70e5))
113
+
3
114
  ## [1.17.8](https://github.com/applitools/eyes.sdk.javascript1/compare/js/eyes-puppeteer@1.17.7...js/eyes-puppeteer@1.17.8) (2023-06-28)
4
115
 
5
116
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@applitools/eyes-puppeteer",
3
- "version": "1.17.8",
3
+ "version": "1.17.10",
4
4
  "description": "Applitools Eyes SDK for Puppeteer",
5
5
  "keywords": [
6
6
  "eyes-puppeteer",
@@ -39,13 +39,11 @@
39
39
  "generate:tests": "coverage-tests generate https://raw.githubusercontent.com/applitools/sdk.coverage.tests/universal-sdk/js/config.js --name 'eyes-puppeteer' --meta-path './logs'",
40
40
  "test": "yarn test:coverage",
41
41
  "test:coverage": "yarn generate:tests && APPLITOOLS_BATCH_NAME='JS Coverage Tests: eyes-puppeteer' APPLITOOLS_BATCH_ID=$(uuidgen) MOCHA_GROUP=coverage run --top-level mocha './test/generic/*.spec.js' --parallel --jobs ${MOCHA_JOBS:-15} --exit",
42
- "up:framework": "run --top-level add-silent puppeteer",
43
- "report": "bongo report --name 'puppeteer' --result-path './logs' --meta-path './logs'"
42
+ "up:framework": "run --top-level add-silent puppeteer"
44
43
  },
45
- "notificationName": "puppeteer",
46
44
  "dependencies": {
47
- "@applitools/eyes": "1.4.1",
48
- "@applitools/spec-driver-puppeteer": "1.1.67"
45
+ "@applitools/eyes": "1.5.1",
46
+ "@applitools/spec-driver-puppeteer": "1.1.68"
49
47
  },
50
48
  "devDependencies": {
51
49
  "@applitools/api-extractor": "^1.2.21",
package/types/index.d.ts CHANGED
@@ -6,6 +6,7 @@ export type SpecType = { driver: Driver; context: Context; element: Element; sel
6
6
  export class Eyes {
7
7
  static setViewportSize: (driver: Driver, viewportSize: RectangleSize) => Promise<void>;
8
8
  static getExecutionCloudUrl(config?: undefined | ConfigurationPlain): Promise<string>;
9
+ static setMobileCapabilities<TCapabilities extends Record<string, any>>(capabilities: TCapabilities, config?: undefined | ConfigurationPlain): TCapabilities;
9
10
  constructor(runner?: undefined | EyesRunner, config?: undefined | ConfigurationPlain);
10
11
  constructor(config?: undefined | ConfigurationPlain);
11
12
  get logger(): Logger;
@@ -32,6 +33,7 @@ export class Eyes {
32
33
  off(event: string): void;
33
34
  off(handler: (...args: Array<any>) => any): void;
34
35
  getExecutionCloudUrl(): Promise<string>;
36
+ setMobileCapabilities<TCapabilities extends Record<string, any>>(capabilities: TCapabilities): TCapabilities;
35
37
  open(driver: Driver, config?: undefined | ConfigurationPlain): Promise<Driver>;
36
38
  open(driver: Driver, appName?: undefined | string, testName?: undefined | string, viewportSize?: undefined | RectangleSizePlain, sessionType?: undefined | SessionTypePlain): Promise<Driver>;
37
39
  open(config?: undefined | ConfigurationPlain): Promise<void>;
@@ -205,8 +207,8 @@ export type CheckSettingsAutomationPlain = CheckSettingsImagePlain & {
205
207
  layoutBreakpoints?: undefined | boolean | Array<number> | { breakpoints: boolean | Array<number>; reload?: undefined | boolean; };
206
208
  visualGridOptions?: undefined | { [key: string]: any; };
207
209
  nmgOptions?: undefined | { [key: string]: any; };
210
+ useSystemScreenshot?: undefined | boolean;
208
211
  hooks?: undefined | { beforeCaptureScreenshot: string; };
209
- renderId?: undefined | string;
210
212
  timeout?: undefined | number;
211
213
  waitBeforeCapture?: undefined | number;
212
214
  lazyLoad?: undefined | boolean | { scrollLength?: undefined | number; waitingTime?: undefined | number; maxAmountToScroll?: undefined | number; };
@@ -236,11 +238,11 @@ export class CheckSettingsAutomation {
236
238
  webHook(script: string): CheckSettingsAutomation;
237
239
  ufgOption(key: string, value: any): CheckSettingsAutomation;
238
240
  ufgOptions(options: { [key: string]: any; }): CheckSettingsAutomation;
239
- visualGridOption(key: string, value: any): CheckSettingsAutomation;
240
- visualGridOptions(options: { [key: string]: any; }): CheckSettingsAutomation;
241
241
  nmgOption(key: string, value: any): CheckSettingsAutomation;
242
242
  nmgOptions(options: { [key: string]: any; }): CheckSettingsAutomation;
243
- renderId(renderId: string): CheckSettingsAutomation;
243
+ visualGridOption(key: string, value: any): CheckSettingsAutomation;
244
+ visualGridOptions(options: { [key: string]: any; }): CheckSettingsAutomation;
245
+ useSystemScreenshot(useSystemScreenshot: boolean): CheckSettingsAutomation;
244
246
  timeout(timeout: number): CheckSettingsAutomation;
245
247
  waitBeforeCapture(waitBeforeCapture: number): CheckSettingsAutomation;
246
248
  lazyLoad(options?: undefined | boolean): CheckSettingsAutomation;
@@ -1658,7 +1660,13 @@ export class TestResults implements Required<TestResultsPlain> {
1658
1660
  get url(): string;
1659
1661
  getUrl(): string;
1660
1662
  setUrl(_url: string): void;
1661
- get server(): { serverUrl: string; apiKey: string; agentId?: undefined | string; proxy?: undefined | { url: string; username?: undefined | string; password?: undefined | string; }; };
1663
+ get server(): {
1664
+ serverUrl: string;
1665
+ apiKey: string;
1666
+ agentId?: undefined | string;
1667
+ proxy?: undefined | { url: string; username?: undefined | string; password?: undefined | string; };
1668
+ useDnsCache?: undefined | boolean;
1669
+ };
1662
1670
  get keepIfDuplicate(): boolean;
1663
1671
  isPassed(): boolean;
1664
1672
  delete(): Promise<void>;