@applitools/core 4.30.0 → 4.31.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,54 @@
1
1
  # Changelog
2
2
 
3
+ ## [4.31.0](https://github.com/Applitools-Dev/sdk/compare/js/core@4.30.1...js/core@4.31.0) (2025-01-30)
4
+
5
+
6
+ ### Features
7
+
8
+ * remove iPhoneX from list of available UFG Safari devices ([#2756](https://github.com/Applitools-Dev/sdk/issues/2756)) ([e24d054](https://github.com/Applitools-Dev/sdk/commit/e24d054328df900fbc4988fdbf8213aadffa9a37))
9
+
10
+
11
+ ### Bug Fixes
12
+
13
+ * handle device screen info extraction gracefully ([#2757](https://github.com/Applitools-Dev/sdk/issues/2757)) ([92d0118](https://github.com/Applitools-Dev/sdk/commit/92d0118137b77e49d780092d110973df8ed8b40c))
14
+ * unthrottle renders in offline mode ([#2754](https://github.com/Applitools-Dev/sdk/issues/2754)) ([b65d816](https://github.com/Applitools-Dev/sdk/commit/b65d81610504ae725b7b52611282a1bb28a049fe))
15
+
16
+
17
+ ### Dependencies
18
+
19
+ * @applitools/driver bumped to 1.20.4
20
+ #### Bug Fixes
21
+
22
+ * handle device screen info extraction gracefully ([#2757](https://github.com/Applitools-Dev/sdk/issues/2757)) ([92d0118](https://github.com/Applitools-Dev/sdk/commit/92d0118137b77e49d780092d110973df8ed8b40c))
23
+ * @applitools/ufg-client bumped to 1.16.3
24
+ #### Bug Fixes
25
+
26
+ * unthrottle renders in offline mode ([#2754](https://github.com/Applitools-Dev/sdk/issues/2754)) ([b65d816](https://github.com/Applitools-Dev/sdk/commit/b65d81610504ae725b7b52611282a1bb28a049fe))
27
+ * @applitools/dom-snapshot bumped to 4.11.15
28
+
29
+ * @applitools/spec-driver-webdriver bumped to 1.1.25
30
+
31
+ * @applitools/spec-driver-selenium bumped to 1.5.95
32
+
33
+ * @applitools/spec-driver-puppeteer bumped to 1.4.24
34
+
35
+ * @applitools/screenshoter bumped to 3.10.5
36
+
37
+ * @applitools/nml-client bumped to 1.8.24
38
+
39
+ * @applitools/ec-client bumped to 1.10.3
40
+
41
+
42
+ ## [4.30.1](https://github.com/Applitools-Dev/sdk/compare/js/core@4.30.0...js/core@4.30.1) (2025-01-23)
43
+
44
+
45
+ ### Dependencies
46
+
47
+ * @applitools/ufg-client bumped to 1.16.2
48
+ #### Bug Fixes
49
+
50
+ * stabilize page in storybook ([#2751](https://github.com/Applitools-Dev/sdk/issues/2751)) ([2a3b85e](https://github.com/Applitools-Dev/sdk/commit/2a3b85e2b052cd44260c11622b91b8a5c94736a8))
51
+
3
52
  ## [4.30.0](https://github.com/Applitools-Dev/sdk/compare/js/core@4.29.1...js/core@4.30.0) (2025-01-22)
4
53
 
5
54
 
@@ -117,7 +117,13 @@ async function runOfflineSnapshots(options) {
117
117
  });
118
118
  const checkFolders = (await fs_1.default.promises.readdir(testPath)).filter(folderpath => folderpath.startsWith('check-'));
119
119
  logger.log('running checks for test', testPath, ':', checkFolders);
120
- const targets = (await Promise.all(checkFolders.map(checkFolder => fs_1.default.promises.readFile(path_1.default.resolve(testPath, checkFolder, 'snapshot.json'), 'utf-8').then(JSON.parse))));
120
+ const targets = await Promise.all(checkFolders.map(async (checkFolder) => {
121
+ const snapshot = await fs_1.default.promises
122
+ .readFile(path_1.default.resolve(testPath, checkFolder, 'snapshot.json'), 'utf-8')
123
+ .then(JSON.parse);
124
+ snapshot.settings.environment.environmentId = utils.general.guid();
125
+ return snapshot;
126
+ }));
121
127
  await uploadResources(targets, logger);
122
128
  // logger.log('resource hashes for test', testFolder, ':', resourceHashes)
123
129
  logger.log('uploaded resources for test', testPath);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@applitools/core",
3
- "version": "4.30.0",
3
+ "version": "4.31.0",
4
4
  "homepage": "https://applitools.com",
5
5
  "bugs": {
6
6
  "url": "https://github.com/applitools/eyes.sdk.javascript1/issues"
@@ -77,17 +77,17 @@
77
77
  "dependencies": {
78
78
  "@applitools/core-base": "1.22.1",
79
79
  "@applitools/dom-capture": "11.5.4",
80
- "@applitools/dom-snapshot": "4.11.14",
81
- "@applitools/driver": "1.20.3",
82
- "@applitools/ec-client": "1.10.2",
80
+ "@applitools/dom-snapshot": "4.11.15",
81
+ "@applitools/driver": "1.20.4",
82
+ "@applitools/ec-client": "1.10.3",
83
83
  "@applitools/logger": "2.1.0",
84
- "@applitools/nml-client": "1.8.23",
84
+ "@applitools/nml-client": "1.8.24",
85
85
  "@applitools/req": "1.7.7",
86
- "@applitools/screenshoter": "3.10.4",
86
+ "@applitools/screenshoter": "3.10.5",
87
87
  "@applitools/snippets": "2.6.4",
88
88
  "@applitools/socket": "1.2.1",
89
- "@applitools/spec-driver-webdriver": "1.1.24",
90
- "@applitools/ufg-client": "1.16.1",
89
+ "@applitools/spec-driver-webdriver": "1.1.25",
90
+ "@applitools/ufg-client": "1.16.3",
91
91
  "@applitools/utils": "1.7.7",
92
92
  "@types/ws": "8.5.5",
93
93
  "abort-controller": "3.0.0",
@@ -101,8 +101,8 @@
101
101
  "devDependencies": {
102
102
  "@applitools/bongo": "^5.10.0",
103
103
  "@applitools/sea": "^1.0.0",
104
- "@applitools/spec-driver-puppeteer": "^1.4.23",
105
- "@applitools/spec-driver-selenium": "^1.5.94",
104
+ "@applitools/spec-driver-puppeteer": "^1.4.24",
105
+ "@applitools/spec-driver-selenium": "^1.5.95",
106
106
  "@applitools/test-server": "^1.2.2",
107
107
  "@applitools/test-utils": "^1.5.17",
108
108
  "@applitools/tunnel-client": "^1.6.1",