@applitools/eyes-cypress 3.50.1 → 3.50.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 +25 -0
- package/dist/plugin/server.js +2 -1
- package/package.json +5 -5
- package/src/plugin/server.ts +3 -1
- package/types/expose.d.ts +1 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,30 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [3.50.3](https://github.com/Applitools-Dev/sdk/compare/js/eyes-cypress@3.50.2...js/eyes-cypress@3.50.3) (2025-03-06)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Bug Fixes
|
|
7
|
+
|
|
8
|
+
* error message for using incorrect UFG environment ([#2767](https://github.com/Applitools-Dev/sdk/issues/2767)) ([5aabdb0](https://github.com/Applitools-Dev/sdk/commit/5aabdb047daed14ae53223c92e63d215d48286d3))
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
### Dependencies
|
|
12
|
+
|
|
13
|
+
* @applitools/core bumped to 4.32.2
|
|
14
|
+
#### Bug Fixes
|
|
15
|
+
|
|
16
|
+
* add environment variable aliases (_NAME suffix) ([#2791](https://github.com/Applitools-Dev/sdk/issues/2791)) ([67501a4](https://github.com/Applitools-Dev/sdk/commit/67501a4f5491319ca62949a56ee03face08a59e5))
|
|
17
|
+
* support test concurrency in offline mode ([#2831](https://github.com/Applitools-Dev/sdk/issues/2831)) ([3b7d137](https://github.com/Applitools-Dev/sdk/commit/3b7d137a9b34bb5c564e0a5c7d3fb2520ef8a167))
|
|
18
|
+
* @applitools/eyes bumped to 1.32.6
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
## [3.50.2](https://github.com/Applitools-Dev/sdk/compare/js/eyes-cypress@3.50.1...js/eyes-cypress@3.50.2) (2025-02-16)
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
### Bug Fixes
|
|
25
|
+
|
|
26
|
+
* add env variable for cypress host name to use different conventions of localhost ([#2793](https://github.com/Applitools-Dev/sdk/issues/2793)) ([8ad8b5b](https://github.com/Applitools-Dev/sdk/commit/8ad8b5ba6f8b9f06643c9c9ed119a25ce385482c))
|
|
27
|
+
|
|
3
28
|
## [3.50.1](https://github.com/Applitools-Dev/sdk/compare/js/eyes-cypress@3.50.0...js/eyes-cypress@3.50.1) (2025-02-10)
|
|
4
29
|
|
|
5
30
|
|
package/dist/plugin/server.js
CHANGED
|
@@ -20,7 +20,8 @@ function makeStartServer({ logger, eyesConfig }) {
|
|
|
20
20
|
key,
|
|
21
21
|
cert,
|
|
22
22
|
});
|
|
23
|
-
|
|
23
|
+
const hostName = process.env.APPLITOOLS_CYPRESS_HOST_NAME || undefined;
|
|
24
|
+
await (0, util_1.promisify)(https.listen.bind(https))(hostName ? { host: hostName, port: 0 } : undefined);
|
|
24
25
|
const port = https.address().port;
|
|
25
26
|
logger.log('cypress-sdk server is going to be created with port', port);
|
|
26
27
|
const wss = new ws_1.Server({ server: https, path: '/eyes', maxPayload: 254 * 1024 * 1024 });
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@applitools/eyes-cypress",
|
|
3
|
-
"version": "3.50.
|
|
3
|
+
"version": "3.50.3",
|
|
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.32.
|
|
57
|
+
"@applitools/core": "4.32.2",
|
|
58
|
+
"@applitools/eyes": "1.32.6",
|
|
59
59
|
"@applitools/functional-commons": "1.6.0",
|
|
60
|
-
"@applitools/logger": "2.1.
|
|
61
|
-
"@applitools/utils": "1.7.
|
|
60
|
+
"@applitools/logger": "2.1.1",
|
|
61
|
+
"@applitools/utils": "1.7.8",
|
|
62
62
|
"boxen": "5.1.2",
|
|
63
63
|
"chalk": "3.0.0",
|
|
64
64
|
"semver": "7.6.2",
|
package/src/plugin/server.ts
CHANGED
|
@@ -27,7 +27,9 @@ export default function makeStartServer({logger, eyesConfig}: {logger: Logger; e
|
|
|
27
27
|
key,
|
|
28
28
|
cert,
|
|
29
29
|
})
|
|
30
|
-
|
|
30
|
+
|
|
31
|
+
const hostName = process.env.APPLITOOLS_CYPRESS_HOST_NAME || undefined
|
|
32
|
+
await promisify(https.listen.bind(https))(hostName ? {host: hostName, port: 0} : undefined)
|
|
31
33
|
|
|
32
34
|
const port = (https.address() as AddressInfo).port
|
|
33
35
|
logger.log('cypress-sdk server is going to be created with port', port)
|
package/types/expose.d.ts
CHANGED
|
@@ -231,6 +231,7 @@ export type CypressCheckSettings = {
|
|
|
231
231
|
pageId?: string;
|
|
232
232
|
variationGroupId?: string;
|
|
233
233
|
densityMetrics?: { scaleRatio?: number; xdpi?: number; ydpi?: number; };
|
|
234
|
+
stitchMode?: "Scroll" | "CSS" | "Resize";
|
|
234
235
|
frames?: Array<{ frame: number | (Element | (Selector | { selector: Selector; type?: string; shadow?: EyesSelector<Selector>; frame?: EyesSelector<Selector>; })); scrollRootElement?: Element | (Selector | { selector: Selector; type?: string; shadow?: EyesSelector<Selector>; frame?: EyesSelector<Selector>; }); } | (number | (Element | (Selector | { selector: Selector; type?: string; shadow?: EyesSelector<Selector>; frame?: EyesSelector<Selector>; })))>;
|
|
235
236
|
webview?: string | boolean;
|
|
236
237
|
scrollRootElement?: Element | (Selector | { selector: Selector; type?: string; shadow?: EyesSelector<Selector>; frame?: EyesSelector<Selector>; });
|