@applitools/eyes-puppeteer 1.28.0 → 1.28.1

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,135 @@
1
1
  # Changelog
2
2
 
3
+ ## [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)
4
+
5
+
6
+ ### Dependencies
7
+
8
+ * @applitools/utils bumped to 1.7.7
9
+ #### Bug Fixes
10
+
11
+ * 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))
12
+ * @applitools/logger bumped to 2.1.0
13
+ #### Features
14
+
15
+ * logger masking ([#2640](https://github.com/Applitools-Dev/sdk/issues/2640)) ([bd69d21](https://github.com/Applitools-Dev/sdk/commit/bd69d21f6341447b1acdb042f4ee1a6328d7428f))
16
+
17
+
18
+
19
+ * @applitools/dom-snapshot bumped to 4.11.13
20
+ #### Bug Fixes
21
+
22
+ * code scanning issue ([#2687](https://github.com/Applitools-Dev/sdk/issues/2687)) ([f301056](https://github.com/Applitools-Dev/sdk/commit/f301056cccfc9cc0c21ceedbd521d8f4b054f058))
23
+
24
+
25
+
26
+ * @applitools/socket bumped to 1.2.0
27
+ #### Features
28
+
29
+ * logger masking ([#2640](https://github.com/Applitools-Dev/sdk/issues/2640)) ([bd69d21](https://github.com/Applitools-Dev/sdk/commit/bd69d21f6341447b1acdb042f4ee1a6328d7428f))
30
+
31
+
32
+
33
+ * @applitools/dom-capture bumped to 11.5.3
34
+ #### Bug Fixes
35
+
36
+ * code scanning issue ([#2687](https://github.com/Applitools-Dev/sdk/issues/2687)) ([f301056](https://github.com/Applitools-Dev/sdk/commit/f301056cccfc9cc0c21ceedbd521d8f4b054f058))
37
+ * @applitools/ufg-client bumped to 1.16.0
38
+ #### Features
39
+
40
+ * deterministic output in offline execution ([#2711](https://github.com/Applitools-Dev/sdk/issues/2711)) ([5e8c7ca](https://github.com/Applitools-Dev/sdk/commit/5e8c7ca43c98e7ba6aed0c1a66c5a60b4001aeff))
41
+
42
+
43
+ #### Bug Fixes
44
+
45
+ * code scanning issue ([#2687](https://github.com/Applitools-Dev/sdk/issues/2687)) ([f301056](https://github.com/Applitools-Dev/sdk/commit/f301056cccfc9cc0c21ceedbd521d8f4b054f058))
46
+
47
+
48
+
49
+ * @applitools/core bumped to 4.28.0
50
+ #### Features
51
+
52
+ * deterministic output in offline execution ([#2711](https://github.com/Applitools-Dev/sdk/issues/2711)) ([5e8c7ca](https://github.com/Applitools-Dev/sdk/commit/5e8c7ca43c98e7ba6aed0c1a66c5a60b4001aeff))
53
+ * logger masking ([#2640](https://github.com/Applitools-Dev/sdk/issues/2640)) ([bd69d21](https://github.com/Applitools-Dev/sdk/commit/bd69d21f6341447b1acdb042f4ee1a6328d7428f))
54
+
55
+
56
+ #### Bug Fixes
57
+
58
+ * 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))
59
+
60
+
61
+
62
+ * @applitools/spec-driver-webdriver bumped to 1.1.22
63
+
64
+ * @applitools/spec-driver-selenium bumped to 1.5.93
65
+
66
+ * @applitools/screenshoter bumped to 3.10.2
67
+
68
+ * @applitools/nml-client bumped to 1.8.21
69
+
70
+ * @applitools/tunnel-client bumped to 1.6.0
71
+ #### Features
72
+
73
+ * logger masking ([#2640](https://github.com/Applitools-Dev/sdk/issues/2640)) ([bd69d21](https://github.com/Applitools-Dev/sdk/commit/bd69d21f6341447b1acdb042f4ee1a6328d7428f))
74
+
75
+
76
+
77
+ * @applitools/ec-client bumped to 1.10.0
78
+ #### Features
79
+
80
+ * logger masking ([#2640](https://github.com/Applitools-Dev/sdk/issues/2640)) ([bd69d21](https://github.com/Applitools-Dev/sdk/commit/bd69d21f6341447b1acdb042f4ee1a6328d7428f))
81
+
82
+
83
+
84
+ * @applitools/req bumped to 1.7.6
85
+
86
+ * @applitools/image bumped to 1.1.16
87
+
88
+ * @applitools/driver bumped to 1.20.2
89
+
90
+ * @applitools/spec-driver-puppeteer bumped to 1.4.22
91
+
92
+ * @applitools/core-base bumped to 1.22.0
93
+ #### Features
94
+
95
+ * deterministic output in offline execution ([#2711](https://github.com/Applitools-Dev/sdk/issues/2711)) ([5e8c7ca](https://github.com/Applitools-Dev/sdk/commit/5e8c7ca43c98e7ba6aed0c1a66c5a60b4001aeff))
96
+ * logger masking ([#2640](https://github.com/Applitools-Dev/sdk/issues/2640)) ([bd69d21](https://github.com/Applitools-Dev/sdk/commit/bd69d21f6341447b1acdb042f4ee1a6328d7428f))
97
+
98
+
99
+
100
+ * @applitools/eyes bumped to 1.30.0
101
+ #### Features
102
+
103
+ * 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))
104
+ * 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))
105
+ * add chrome emulation devices ([#2559](https://github.com/Applitools-Dev/sdk/issues/2559)) ([0499aaf](https://github.com/Applitools-Dev/sdk/commit/0499aaf3bb809d2ac0105b4493e6f6bb8730ea3f))
106
+ * capture status bar ([#2571](https://github.com/Applitools-Dev/sdk/issues/2571)) ([5e1c75e](https://github.com/Applitools-Dev/sdk/commit/5e1c75ef9cf34af80f08806a3bceaf06a94f2780))
107
+ * disable broker url cache ([#2428](https://github.com/Applitools-Dev/sdk/issues/2428)) ([cb8d5fe](https://github.com/Applitools-Dev/sdk/commit/cb8d5fefb13d3ab42984d2bd4d4ac3d4e10646b0))
108
+ * dynamic regions ([#2538](https://github.com/Applitools-Dev/sdk/issues/2538)) ([d8b5c48](https://github.com/Applitools-Dev/sdk/commit/d8b5c48fb35f9789c702447314dc72b4f415ade1))
109
+ * html report for playwright ([#2576](https://github.com/Applitools-Dev/sdk/issues/2576)) ([f93f164](https://github.com/Applitools-Dev/sdk/commit/f93f164a289f5676bcc9d650e5e3d90b8e6a6920))
110
+ * ios 18 devices enum ([#2584](https://github.com/Applitools-Dev/sdk/issues/2584)) ([8eab653](https://github.com/Applitools-Dev/sdk/commit/8eab653f99733839bdec43d86089edc35abcf8e8))
111
+ * logger masking ([#2640](https://github.com/Applitools-Dev/sdk/issues/2640)) ([bd69d21](https://github.com/Applitools-Dev/sdk/commit/bd69d21f6341447b1acdb042f4ee1a6328d7428f))
112
+ * offline cli with config ([#2646](https://github.com/Applitools-Dev/sdk/issues/2646)) ([0589dc4](https://github.com/Applitools-Dev/sdk/commit/0589dc429a0c94451e957932106f258dadfd88cc))
113
+ * remove Android NMG API ([#2566](https://github.com/Applitools-Dev/sdk/issues/2566)) ([750c0f0](https://github.com/Applitools-Dev/sdk/commit/750c0f0263e5ff06f86055e7ba0c3fb47cadb620))
114
+
115
+
116
+ #### Bug Fixes
117
+
118
+ * don't pass RectangleSize to core ([#2673](https://github.com/Applitools-Dev/sdk/issues/2673)) ([47653ea](https://github.com/Applitools-Dev/sdk/commit/47653eae44d4c9693cc84e9209bb08f8d070c4af))
119
+ * offline cli chalk error ([c7c659a](https://github.com/Applitools-Dev/sdk/commit/c7c659aa889080f2fc7763152db2447211fe1487))
120
+ * organize configuration alphabetically and add getters and setters ([684490d](https://github.com/Applitools-Dev/sdk/commit/684490d8d85d1dd0f07bafdcc38febfcf7c58d08))
121
+ * trigger playwright release ([1d3ea3e](https://github.com/Applitools-Dev/sdk/commit/1d3ea3e4d2059c12d8013f04c18f5facffbc5846))
122
+ * trigger release ([c97dbfc](https://github.com/Applitools-Dev/sdk/commit/c97dbfc89245f374917702a867b87f2794155e54))
123
+ * update ios devices enums ([9b4614f](https://github.com/Applitools-Dev/sdk/commit/9b4614f09bbbe42cf99824d76893f9067aab2cc4))
124
+
125
+
126
+ #### Code Refactoring
127
+
128
+ * start linting "no-floating-promises" (wip) ([#2539](https://github.com/Applitools-Dev/sdk/issues/2539)) ([51b91cb](https://github.com/Applitools-Dev/sdk/commit/51b91cb15603f7d68e4bd6a16eb0f80e3f380295))
129
+
130
+
131
+
132
+
3
133
  ## [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
134
 
5
135
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@applitools/eyes-puppeteer",
3
- "version": "1.28.0",
3
+ "version": "1.28.1",
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.29.3",
40
- "@applitools/spec-driver-puppeteer": "1.4.21"
40
+ "@applitools/eyes": "1.30.0",
41
+ "@applitools/spec-driver-puppeteer": "1.4.22"
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);
@@ -1600,7 +1600,7 @@ export class Region implements Required<RegionPlain> {
1600
1600
  export type DesktopBrowserInfo = { name?: undefined | BrowserTypePlain; width: number; height: number; };
1601
1601
  export type ChromeEmulationInfo = { chromeEmulationInfo: { deviceName: DeviceNamePlain; screenOrientation?: undefined | ScreenOrientationPlain; }; };
1602
1602
  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; };
1603
+ export type RunnerOptionsPlain = { testConcurrency?: undefined | number; fetchConcurrency?: undefined | number; removeDuplicateTests?: undefined | boolean; maskLog?: undefined | boolean; };
1604
1604
  export class RunnerOptionsFluent {
1605
1605
  testConcurrency(concurrency: number): RunnerOptionsFluent;
1606
1606
  }
@@ -1880,6 +1880,7 @@ export class Logger {
1880
1880
  }
1881
1881
  export abstract class EyesRunner {
1882
1882
  constructor(options?: undefined | RunnerOptionsPlain);
1883
+ readonly _maskLog: boolean;
1883
1884
  abstract readonly type: "ufg" | "classic";
1884
1885
  getAllTestResults(throwErr?: undefined | boolean): Promise<TestResultsSummary>;
1885
1886
  }