@applitools/eyes-webdriverio 5.34.2 → 5.34.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 +6 -0
- package/dist/api.js +2 -1
- package/dist/service.js +4 -2
- package/package.json +4 -4
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,12 @@
|
|
|
3
3
|
## Unreleased
|
|
4
4
|
|
|
5
5
|
|
|
6
|
+
## 5.34.3 - 2021/12/7
|
|
7
|
+
|
|
8
|
+
- updated to @applitools/eyes-sdk-core@12.24.5 (from 12.24.2)
|
|
9
|
+
- updated to @applitools/visual-grid-client@15.8.49 (from 15.8.47)
|
|
10
|
+
- updated to @applitools/spec-driver-webdriverio@1.2.2 (from 1.2.1)
|
|
11
|
+
|
|
6
12
|
## 5.34.2 - 2021/11/18
|
|
7
13
|
|
|
8
14
|
- updated to @applitools/eyes-sdk-core@12.24.2 (from 12.24.1)
|
package/dist/api.js
CHANGED
|
@@ -27,9 +27,10 @@ const eyes_sdk_core_1 = require("@applitools/eyes-sdk-core");
|
|
|
27
27
|
const api = __importStar(require("@applitools/eyes-api"));
|
|
28
28
|
const spec = __importStar(require("@applitools/spec-driver-webdriverio"));
|
|
29
29
|
const sdk = (0, eyes_sdk_core_1.makeSDK)({
|
|
30
|
-
name: 'eyes
|
|
30
|
+
name: 'eyes-webdriverio',
|
|
31
31
|
version: require('../package.json').version,
|
|
32
32
|
spec,
|
|
33
|
+
cwd: process.cwd(),
|
|
33
34
|
VisualGridClient: require('@applitools/visual-grid-client'),
|
|
34
35
|
});
|
|
35
36
|
__exportStar(require("@applitools/eyes-api"), exports);
|
package/dist/service.js
CHANGED
|
@@ -45,6 +45,7 @@ const sdk = (0, eyes_sdk_core_1.makeSDK)({
|
|
|
45
45
|
name: 'eyes-webdriverio-service',
|
|
46
46
|
version: require('../package.json').version,
|
|
47
47
|
spec,
|
|
48
|
+
cwd: process.cwd(),
|
|
48
49
|
VisualGridClient: require('@applitools/visual-grid-client'),
|
|
49
50
|
});
|
|
50
51
|
class EyesOverride extends api_1.Eyes {
|
|
@@ -103,10 +104,11 @@ class EyesService {
|
|
|
103
104
|
});
|
|
104
105
|
}
|
|
105
106
|
beforeTest(test) {
|
|
107
|
+
var _a, _b, _c;
|
|
106
108
|
const configuration = this._eyes.getConfiguration();
|
|
107
|
-
configuration.setTestName(test.title
|
|
109
|
+
configuration.setTestName((_a = test.title) !== null && _a !== void 0 ? _a : test.description);
|
|
108
110
|
if (!this._appName) {
|
|
109
|
-
configuration.setAppName(test.parent || test.id);
|
|
111
|
+
configuration.setAppName((_b = test.parent) !== null && _b !== void 0 ? _b : (((_c = test.fullName) === null || _c === void 0 ? void 0 : _c.replace(` ${test.description}`, '')) || test.id));
|
|
110
112
|
}
|
|
111
113
|
if (!configuration.getViewportSize()) {
|
|
112
114
|
configuration.setViewportSize({ width: 800, height: 600 });
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@applitools/eyes-webdriverio",
|
|
3
|
-
"version": "5.34.
|
|
3
|
+
"version": "5.34.3",
|
|
4
4
|
"description": "Applitools Eyes SDK for WebdriverIO",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"eyes-webdriverio",
|
|
@@ -107,9 +107,9 @@
|
|
|
107
107
|
},
|
|
108
108
|
"dependencies": {
|
|
109
109
|
"@applitools/eyes-api": "1.1.6",
|
|
110
|
-
"@applitools/eyes-sdk-core": "12.24.
|
|
111
|
-
"@applitools/spec-driver-webdriverio": "1.2.
|
|
112
|
-
"@applitools/visual-grid-client": "15.8.
|
|
110
|
+
"@applitools/eyes-sdk-core": "12.24.5",
|
|
111
|
+
"@applitools/spec-driver-webdriverio": "1.2.2",
|
|
112
|
+
"@applitools/visual-grid-client": "15.8.49"
|
|
113
113
|
},
|
|
114
114
|
"devDependencies": {
|
|
115
115
|
"@applitools/api-extractor": "1.2.3",
|