@applitools/eyes-cypress 3.47.1 → 3.48.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 +110 -0
- package/dist/plugin/server.js +5 -0
- package/package.json +5 -5
- package/src/plugin/server.ts +5 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,115 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [3.48.1](https://github.com/Applitools-Dev/sdk/compare/js/eyes-cypress@3.48.0...js/eyes-cypress@3.48.1) (2024-12-22)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Dependencies
|
|
7
|
+
|
|
8
|
+
* @applitools/core-base bumped to 1.21.1
|
|
9
|
+
#### Bug Fixes
|
|
10
|
+
|
|
11
|
+
* add regions round up to the client set regions as well coded one ([#2413](https://github.com/Applitools-Dev/sdk/issues/2413)) ([85d4d2d](https://github.com/Applitools-Dev/sdk/commit/85d4d2ddd0166802c7ca9a5c11a1f52962284a5b))
|
|
12
|
+
* @applitools/ec-client bumped to 1.9.18
|
|
13
|
+
|
|
14
|
+
* @applitools/core bumped to 4.27.1
|
|
15
|
+
#### Bug Fixes
|
|
16
|
+
|
|
17
|
+
* add env variable for universal host name to use different conventions of localhost ([#2689](https://github.com/Applitools-Dev/sdk/issues/2689)) ([24d6713](https://github.com/Applitools-Dev/sdk/commit/24d671313dba0bba00e2f86875920e0431cf1234))
|
|
18
|
+
* add regions round up to the client set regions as well coded one ([#2413](https://github.com/Applitools-Dev/sdk/issues/2413)) ([85d4d2d](https://github.com/Applitools-Dev/sdk/commit/85d4d2ddd0166802c7ca9a5c11a1f52962284a5b))
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
* @applitools/eyes bumped to 1.29.4
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
## [3.48.0](https://github.com/Applitools-Dev/sdk/compare/js/eyes-cypress-v3.47.2...js/eyes-cypress@3.48.0) (2024-12-18)
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
### Features
|
|
29
|
+
|
|
30
|
+
* 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))
|
|
31
|
+
* check for new ufg balancer - cache result in getAccountInfo instead of makeCoreRequests ([#2692](https://github.com/Applitools-Dev/sdk/issues/2692)) ([e2a9705](https://github.com/Applitools-Dev/sdk/commit/e2a970594ffa6527798c5fac7a72188e30da986d))
|
|
32
|
+
|
|
33
|
+
|
|
34
|
+
### Bug Fixes
|
|
35
|
+
|
|
36
|
+
* better handling of stale elements ([cab10ff](https://github.com/Applitools-Dev/sdk/commit/cab10ff1ae1e6f9560a7d278c710b3fa03f58c83))
|
|
37
|
+
* don't throw error on stale/missing non-target regions ([#2598](https://github.com/Applitools-Dev/sdk/issues/2598)) ([ae39ad9](https://github.com/Applitools-Dev/sdk/commit/ae39ad9fdb129a3f987ee5076660071b66dc1342))
|
|
38
|
+
* eyesGetResults returns a single result ([#2378](https://github.com/Applitools-Dev/sdk/issues/2378)) ([0ed182a](https://github.com/Applitools-Dev/sdk/commit/0ed182ace6fe0d1e1c63d84b4e4512feb53ba795))
|
|
39
|
+
* isStaleElement error ([#2567](https://github.com/Applitools-Dev/sdk/issues/2567)) ([2675086](https://github.com/Applitools-Dev/sdk/commit/2675086aa28589082249e2958942ee29a5f2ef12))
|
|
40
|
+
* provide a clear "stale element" exception message when passing detached regions to `check` ([#2590](https://github.com/Applitools-Dev/sdk/issues/2590)) ([1e5b49e](https://github.com/Applitools-Dev/sdk/commit/1e5b49e9aec6b8caf89f2cdb1f8e81a237d52896))
|
|
41
|
+
* remove environments from close settings ([#2384](https://github.com/Applitools-Dev/sdk/issues/2384)) ([16fdcb5](https://github.com/Applitools-Dev/sdk/commit/16fdcb565249e775701c0a969cdce85245f41b9e))
|
|
42
|
+
* stale layout breakpoints elements ([#2479](https://github.com/Applitools-Dev/sdk/issues/2479)) ([f5e4b5a](https://github.com/Applitools-Dev/sdk/commit/f5e4b5ac8077b8c4b7ba67a38c4e58050a55ce75))
|
|
43
|
+
* update ws dependency in eyes-cypress ([#2443](https://github.com/Applitools-Dev/sdk/issues/2443)) ([00c40a5](https://github.com/Applitools-Dev/sdk/commit/00c40a5ca7771f6926d0e5ab1f286641c2be4d44))
|
|
44
|
+
|
|
45
|
+
|
|
46
|
+
### Dependencies
|
|
47
|
+
|
|
48
|
+
* @applitools/utils bumped to 1.7.6
|
|
49
|
+
#### Bug Fixes
|
|
50
|
+
|
|
51
|
+
* support webdriver.io 9 ([baee5ce](https://github.com/Applitools-Dev/sdk/commit/baee5ce96e8220c337b007e3a517b5546ce0fedc))
|
|
52
|
+
* @applitools/logger bumped to 2.0.20
|
|
53
|
+
|
|
54
|
+
* @applitools/dom-snapshot bumped to 4.11.12
|
|
55
|
+
|
|
56
|
+
* @applitools/socket bumped to 1.1.20
|
|
57
|
+
|
|
58
|
+
* @applitools/req bumped to 1.7.5
|
|
59
|
+
|
|
60
|
+
* @applitools/image bumped to 1.1.15
|
|
61
|
+
|
|
62
|
+
* @applitools/driver bumped to 1.20.1
|
|
63
|
+
|
|
64
|
+
* @applitools/spec-driver-webdriver bumped to 1.1.21
|
|
65
|
+
#### Bug Fixes
|
|
66
|
+
|
|
67
|
+
* support webdriver.io 9 ([baee5ce](https://github.com/Applitools-Dev/sdk/commit/baee5ce96e8220c337b007e3a517b5546ce0fedc))
|
|
68
|
+
|
|
69
|
+
|
|
70
|
+
|
|
71
|
+
* @applitools/core-base bumped to 1.21.0
|
|
72
|
+
#### Features
|
|
73
|
+
|
|
74
|
+
* check for new ufg balancer - cache result in getAccountInfo instead of makeCoreRequests ([#2692](https://github.com/Applitools-Dev/sdk/issues/2692)) ([e2a9705](https://github.com/Applitools-Dev/sdk/commit/e2a970594ffa6527798c5fac7a72188e30da986d))
|
|
75
|
+
* check for new ufg balancer ([#2683](https://github.com/Applitools-Dev/sdk/issues/2683)) ([60ca9f9](https://github.com/Applitools-Dev/sdk/commit/60ca9f98d37374c918e9c634af46d7f8266b95fc))
|
|
76
|
+
|
|
77
|
+
|
|
78
|
+
#### Bug Fixes
|
|
79
|
+
|
|
80
|
+
* move apiKey from query param to request header ([d1d2642](https://github.com/Applitools-Dev/sdk/commit/d1d26424c64d8e03981b1482ca49870a866bc164))
|
|
81
|
+
|
|
82
|
+
|
|
83
|
+
|
|
84
|
+
* @applitools/spec-driver-selenium bumped to 1.5.92
|
|
85
|
+
|
|
86
|
+
* @applitools/spec-driver-puppeteer bumped to 1.4.21
|
|
87
|
+
|
|
88
|
+
* @applitools/screenshoter bumped to 3.10.1
|
|
89
|
+
|
|
90
|
+
* @applitools/nml-client bumped to 1.8.20
|
|
91
|
+
|
|
92
|
+
* @applitools/tunnel-client bumped to 1.5.11
|
|
93
|
+
|
|
94
|
+
* @applitools/ufg-client bumped to 1.15.1
|
|
95
|
+
|
|
96
|
+
* @applitools/ec-client bumped to 1.9.17
|
|
97
|
+
|
|
98
|
+
* @applitools/core bumped to 4.27.0
|
|
99
|
+
#### Features
|
|
100
|
+
|
|
101
|
+
* check for new ufg balancer - cache result in getAccountInfo instead of makeCoreRequests ([#2692](https://github.com/Applitools-Dev/sdk/issues/2692)) ([e2a9705](https://github.com/Applitools-Dev/sdk/commit/e2a970594ffa6527798c5fac7a72188e30da986d))
|
|
102
|
+
|
|
103
|
+
|
|
104
|
+
#### Bug Fixes
|
|
105
|
+
|
|
106
|
+
* support webdriver.io 9 ([baee5ce](https://github.com/Applitools-Dev/sdk/commit/baee5ce96e8220c337b007e3a517b5546ce0fedc))
|
|
107
|
+
|
|
108
|
+
|
|
109
|
+
|
|
110
|
+
* @applitools/eyes bumped to 1.29.3
|
|
111
|
+
|
|
112
|
+
|
|
3
113
|
## [3.47.1](https://github.com/Applitools-Dev/sdk/compare/js/eyes-cypress@3.47.0...js/eyes-cypress@3.47.1) (2024-11-27)
|
|
4
114
|
|
|
5
115
|
|
package/dist/plugin/server.js
CHANGED
|
@@ -22,8 +22,13 @@ function makeStartServer({ logger, eyesConfig }) {
|
|
|
22
22
|
});
|
|
23
23
|
await (0, util_1.promisify)(https.listen.bind(https))();
|
|
24
24
|
const port = https.address().port;
|
|
25
|
+
logger.log('cypress-sdk server is going to be created with port', port);
|
|
25
26
|
const wss = new ws_1.Server({ server: https, path: '/eyes', maxPayload: 254 * 1024 * 1024 });
|
|
27
|
+
wss.on('error', err => {
|
|
28
|
+
logger.log('cypress-sdk server error', err);
|
|
29
|
+
});
|
|
26
30
|
wss.on('close', () => {
|
|
31
|
+
logger.log('cypress-sdk server is closed');
|
|
27
32
|
https.close();
|
|
28
33
|
closeUniversalServer();
|
|
29
34
|
});
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@applitools/eyes-cypress",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.48.1",
|
|
4
4
|
"homepage": "https://applitools.com/docs/api-ref/sdk-api/cypress/",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE",
|
|
6
6
|
"main": "./index.js",
|
|
@@ -54,11 +54,11 @@
|
|
|
54
54
|
"setup": "run --top-level xvfb:setup"
|
|
55
55
|
},
|
|
56
56
|
"dependencies": {
|
|
57
|
-
"@applitools/core": "4.
|
|
58
|
-
"@applitools/eyes": "1.
|
|
57
|
+
"@applitools/core": "4.27.1",
|
|
58
|
+
"@applitools/eyes": "1.29.4",
|
|
59
59
|
"@applitools/functional-commons": "1.6.0",
|
|
60
|
-
"@applitools/logger": "2.0.
|
|
61
|
-
"@applitools/utils": "1.7.
|
|
60
|
+
"@applitools/logger": "2.0.20",
|
|
61
|
+
"@applitools/utils": "1.7.6",
|
|
62
62
|
"boxen": "5.1.2",
|
|
63
63
|
"chalk": "3.0.0",
|
|
64
64
|
"semver": "7.6.2",
|
package/src/plugin/server.ts
CHANGED
|
@@ -30,9 +30,14 @@ export default function makeStartServer({logger, eyesConfig}: {logger: Logger; e
|
|
|
30
30
|
await promisify(https.listen.bind(https))()
|
|
31
31
|
|
|
32
32
|
const port = (https.address() as AddressInfo).port
|
|
33
|
+
logger.log('cypress-sdk server is going to be created with port', port)
|
|
33
34
|
const wss = new WSServer({server: https, path: '/eyes', maxPayload: 254 * 1024 * 1024})
|
|
34
35
|
|
|
36
|
+
wss.on('error', err => {
|
|
37
|
+
logger.log('cypress-sdk server error', err)
|
|
38
|
+
})
|
|
35
39
|
wss.on('close', () => {
|
|
40
|
+
logger.log('cypress-sdk server is closed')
|
|
36
41
|
https.close()
|
|
37
42
|
closeUniversalServer()
|
|
38
43
|
})
|