@applitools/ec-client 1.7.3 → 1.7.5
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 +114 -0
- package/dist/commands/execute-script.js +2 -2
- package/dist/tunnels/manager.js +1 -1
- package/package.json +10 -10
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,119 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [1.7.5](https://github.com/applitools/eyes.sdk.javascript1/compare/js/ec-client@1.7.4...js/ec-client@1.7.5) (2023-08-18)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Code Refactoring
|
|
7
|
+
|
|
8
|
+
* refactored spec driver interface ([#1839](https://github.com/applitools/eyes.sdk.javascript1/issues/1839)) ([aa49ec2](https://github.com/applitools/eyes.sdk.javascript1/commit/aa49ec2a7d14b8529acc3a8a4c2baecfa113d98a))
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
### Dependencies
|
|
12
|
+
|
|
13
|
+
* @applitools/utils bumped to 1.5.1
|
|
14
|
+
#### Code Refactoring
|
|
15
|
+
|
|
16
|
+
* refactored spec driver interface ([#1839](https://github.com/applitools/eyes.sdk.javascript1/issues/1839)) ([aa49ec2](https://github.com/applitools/eyes.sdk.javascript1/commit/aa49ec2a7d14b8529acc3a8a4c2baecfa113d98a))
|
|
17
|
+
* @applitools/logger bumped to 2.0.8
|
|
18
|
+
#### Code Refactoring
|
|
19
|
+
|
|
20
|
+
* refactored spec driver interface ([#1839](https://github.com/applitools/eyes.sdk.javascript1/issues/1839)) ([aa49ec2](https://github.com/applitools/eyes.sdk.javascript1/commit/aa49ec2a7d14b8529acc3a8a4c2baecfa113d98a))
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
* @applitools/socket bumped to 1.1.8
|
|
25
|
+
#### Code Refactoring
|
|
26
|
+
|
|
27
|
+
* refactored spec driver interface ([#1839](https://github.com/applitools/eyes.sdk.javascript1/issues/1839)) ([aa49ec2](https://github.com/applitools/eyes.sdk.javascript1/commit/aa49ec2a7d14b8529acc3a8a4c2baecfa113d98a))
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
* @applitools/req bumped to 1.5.3
|
|
32
|
+
#### Code Refactoring
|
|
33
|
+
|
|
34
|
+
* refactored spec driver interface ([#1839](https://github.com/applitools/eyes.sdk.javascript1/issues/1839)) ([aa49ec2](https://github.com/applitools/eyes.sdk.javascript1/commit/aa49ec2a7d14b8529acc3a8a4c2baecfa113d98a))
|
|
35
|
+
|
|
36
|
+
|
|
37
|
+
|
|
38
|
+
* @applitools/image bumped to 1.1.3
|
|
39
|
+
#### Code Refactoring
|
|
40
|
+
|
|
41
|
+
* refactored spec driver interface ([#1839](https://github.com/applitools/eyes.sdk.javascript1/issues/1839)) ([aa49ec2](https://github.com/applitools/eyes.sdk.javascript1/commit/aa49ec2a7d14b8529acc3a8a4c2baecfa113d98a))
|
|
42
|
+
|
|
43
|
+
|
|
44
|
+
|
|
45
|
+
* @applitools/snippets bumped to 2.4.23
|
|
46
|
+
#### Code Refactoring
|
|
47
|
+
|
|
48
|
+
* refactored spec driver interface ([#1839](https://github.com/applitools/eyes.sdk.javascript1/issues/1839)) ([aa49ec2](https://github.com/applitools/eyes.sdk.javascript1/commit/aa49ec2a7d14b8529acc3a8a4c2baecfa113d98a))
|
|
49
|
+
* @applitools/spec-driver-webdriver bumped to 1.0.42
|
|
50
|
+
#### Code Refactoring
|
|
51
|
+
|
|
52
|
+
* refactored spec driver interface ([#1839](https://github.com/applitools/eyes.sdk.javascript1/issues/1839)) ([aa49ec2](https://github.com/applitools/eyes.sdk.javascript1/commit/aa49ec2a7d14b8529acc3a8a4c2baecfa113d98a))
|
|
53
|
+
|
|
54
|
+
|
|
55
|
+
|
|
56
|
+
* @applitools/driver bumped to 1.13.5
|
|
57
|
+
#### Bug Fixes
|
|
58
|
+
|
|
59
|
+
* optimize driver usage in close ([#1867](https://github.com/applitools/eyes.sdk.javascript1/issues/1867)) ([60dff6b](https://github.com/applitools/eyes.sdk.javascript1/commit/60dff6b160e69d3893c91a1125d668fa18b43072))
|
|
60
|
+
|
|
61
|
+
|
|
62
|
+
#### Code Refactoring
|
|
63
|
+
|
|
64
|
+
* refactored spec driver interface ([#1839](https://github.com/applitools/eyes.sdk.javascript1/issues/1839)) ([aa49ec2](https://github.com/applitools/eyes.sdk.javascript1/commit/aa49ec2a7d14b8529acc3a8a4c2baecfa113d98a))
|
|
65
|
+
|
|
66
|
+
|
|
67
|
+
|
|
68
|
+
* @applitools/tunnel-client bumped to 1.2.0
|
|
69
|
+
#### Features
|
|
70
|
+
|
|
71
|
+
* replace and destroy tunnels by tunnel id ([#1878](https://github.com/applitools/eyes.sdk.javascript1/issues/1878)) ([22bcc15](https://github.com/applitools/eyes.sdk.javascript1/commit/22bcc15b31457e3da56cdb6f73bee3dcb7e051a1))
|
|
72
|
+
|
|
73
|
+
|
|
74
|
+
#### Code Refactoring
|
|
75
|
+
|
|
76
|
+
* refactored spec driver interface ([#1839](https://github.com/applitools/eyes.sdk.javascript1/issues/1839)) ([aa49ec2](https://github.com/applitools/eyes.sdk.javascript1/commit/aa49ec2a7d14b8529acc3a8a4c2baecfa113d98a))
|
|
77
|
+
|
|
78
|
+
|
|
79
|
+
|
|
80
|
+
* @applitools/core-base bumped to 1.5.1
|
|
81
|
+
#### Code Refactoring
|
|
82
|
+
|
|
83
|
+
* refactored spec driver interface ([#1839](https://github.com/applitools/eyes.sdk.javascript1/issues/1839)) ([aa49ec2](https://github.com/applitools/eyes.sdk.javascript1/commit/aa49ec2a7d14b8529acc3a8a4c2baecfa113d98a))
|
|
84
|
+
|
|
85
|
+
|
|
86
|
+
|
|
87
|
+
|
|
88
|
+
## [1.7.4](https://github.com/applitools/eyes.sdk.javascript1/compare/js/ec-client@1.7.3...js/ec-client@1.7.4) (2023-08-03)
|
|
89
|
+
|
|
90
|
+
|
|
91
|
+
### Dependencies
|
|
92
|
+
|
|
93
|
+
* @applitools/core-base bumped to 1.5.0
|
|
94
|
+
#### Features
|
|
95
|
+
|
|
96
|
+
* add stuck request retries to all requests to UFG and Eyes ([#1826](https://github.com/applitools/eyes.sdk.javascript1/issues/1826)) ([5884d42](https://github.com/applitools/eyes.sdk.javascript1/commit/5884d428b230e3a832a2110a388ebe63a94006fc))
|
|
97
|
+
* mark session as component ([#1841](https://github.com/applitools/eyes.sdk.javascript1/issues/1841)) ([c579bb6](https://github.com/applitools/eyes.sdk.javascript1/commit/c579bb69de8f3bffc64e73ac8bd4fa646e96eb01))
|
|
98
|
+
|
|
99
|
+
|
|
100
|
+
#### Bug Fixes
|
|
101
|
+
|
|
102
|
+
* populate log event settings with env vars ([#1840](https://github.com/applitools/eyes.sdk.javascript1/issues/1840)) ([0a6af60](https://github.com/applitools/eyes.sdk.javascript1/commit/0a6af60b5b988f59b7adb03f6606b3417fbeb537))
|
|
103
|
+
* @applitools/driver bumped to 1.13.4
|
|
104
|
+
#### Bug Fixes
|
|
105
|
+
|
|
106
|
+
* extract device orientation from a browser for web executions ([d8d4e91](https://github.com/applitools/eyes.sdk.javascript1/commit/d8d4e919965fb9105915e762c397ec2cc57a8a71))
|
|
107
|
+
|
|
108
|
+
|
|
109
|
+
|
|
110
|
+
* @applitools/snippets bumped to 2.4.22
|
|
111
|
+
#### Bug Fixes
|
|
112
|
+
|
|
113
|
+
* improve orientation extraction for ios devices ([378d989](https://github.com/applitools/eyes.sdk.javascript1/commit/378d9894e4fbc7247087ccb8c46266dc4737e2e5))
|
|
114
|
+
* @applitools/spec-driver-webdriver bumped to 1.0.41
|
|
115
|
+
|
|
116
|
+
|
|
3
117
|
## [1.7.3](https://github.com/applitools/eyes.sdk.javascript1/compare/js/ec-client@1.7.2...js/ec-client@1.7.3) (2023-07-21)
|
|
4
118
|
|
|
5
119
|
|
|
@@ -43,12 +43,12 @@ function makeExecuteScript({ req, core }) {
|
|
|
43
43
|
session.tests.current = undefined;
|
|
44
44
|
}
|
|
45
45
|
const driver = await (0, driver_1.makeDriver)({
|
|
46
|
-
driver:
|
|
46
|
+
driver: {
|
|
47
47
|
sessionId: session.sessionId,
|
|
48
48
|
serverUrl: session.serverUrl,
|
|
49
49
|
capabilities: session.capabilities,
|
|
50
50
|
proxy: session.proxy,
|
|
51
|
-
}
|
|
51
|
+
},
|
|
52
52
|
spec,
|
|
53
53
|
logger,
|
|
54
54
|
});
|
package/dist/tunnels/manager.js
CHANGED
|
@@ -36,7 +36,7 @@ async function makeTunnelManager({ settings, logger, }) {
|
|
|
36
36
|
if (!pool) {
|
|
37
37
|
pool = makePool({
|
|
38
38
|
create: () => { var _a; return Promise.all(Array.from({ length: (_a = settings === null || settings === void 0 ? void 0 : settings.groupSize) !== null && _a !== void 0 ? _a : 1 }, () => client.create(credentials))); },
|
|
39
|
-
destroy: tunnels => Promise.all(tunnels.map(client.destroy)).then(() => undefined),
|
|
39
|
+
destroy: tunnels => Promise.all(tunnels.map(tunnel => client.destroy(tunnel.tunnelId))).then(() => undefined),
|
|
40
40
|
...settings === null || settings === void 0 ? void 0 : settings.pool,
|
|
41
41
|
});
|
|
42
42
|
pools.set(key, pool);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@applitools/ec-client",
|
|
3
|
-
"version": "1.7.
|
|
3
|
+
"version": "1.7.5",
|
|
4
4
|
"homepage": "https://applitools.com",
|
|
5
5
|
"bugs": {
|
|
6
6
|
"url": "https://github.com/applitools/eyes.sdk.javascript1/issues"
|
|
@@ -52,16 +52,16 @@
|
|
|
52
52
|
"test:it": "MOCHA_GROUP=it run --top-level mocha './test/it/*.spec.ts'"
|
|
53
53
|
},
|
|
54
54
|
"dependencies": {
|
|
55
|
-
"@applitools/core-base": "1.
|
|
56
|
-
"@applitools/driver": "1.13.
|
|
57
|
-
"@applitools/logger": "2.0.
|
|
58
|
-
"@applitools/req": "1.5.
|
|
59
|
-
"@applitools/socket": "1.1.
|
|
60
|
-
"@applitools/spec-driver-webdriver": "1.0.
|
|
61
|
-
"@applitools/tunnel-client": "1.
|
|
62
|
-
"@applitools/utils": "1.5.
|
|
55
|
+
"@applitools/core-base": "1.5.1",
|
|
56
|
+
"@applitools/driver": "1.13.5",
|
|
57
|
+
"@applitools/logger": "2.0.8",
|
|
58
|
+
"@applitools/req": "1.5.3",
|
|
59
|
+
"@applitools/socket": "1.1.8",
|
|
60
|
+
"@applitools/spec-driver-webdriver": "1.0.42",
|
|
61
|
+
"@applitools/tunnel-client": "1.2.0",
|
|
62
|
+
"@applitools/utils": "1.5.1",
|
|
63
63
|
"abort-controller": "3.0.0",
|
|
64
|
-
"webdriver": "7.
|
|
64
|
+
"webdriver": "7.31.1",
|
|
65
65
|
"yargs": "^17.7.2"
|
|
66
66
|
},
|
|
67
67
|
"devDependencies": {
|