@applitools/eyes-webdriverio 5.34.4 → 5.34.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 CHANGED
@@ -3,6 +3,13 @@
3
3
  ## Unreleased
4
4
 
5
5
 
6
+ ## 5.34.5 - 2021/12/20
7
+
8
+ - updated to @applitools/eyes-sdk-core@12.24.7 (from 12.24.6)
9
+ - updated to @applitools/spec-driver-webdriverio@1.2.3 (from 1.2.2)
10
+ - updated to @applitools/visual-grid-client@15.8.53 (from 15.8.52)
11
+ - updated to @applitools/spec-driver-webdriverio@1.2.5 (from 1.2.3)
12
+
6
13
  ## 5.34.4 - 2021/12/17
7
14
 
8
15
  - updated to @applitools/eyes-sdk-core@12.24.6 (from 12.24.5)
package/dist/service.js CHANGED
@@ -59,6 +59,17 @@ class EyesService {
59
59
  config.hideScrollbars = true;
60
60
  this._eyes = new EyesOverride(useVisualGrid ? new api_1.VisualGridRunner({ testConcurrency: concurrency }) : new api_1.ClassicRunner(), config);
61
61
  }
62
+ async _eyesOpen() {
63
+ if (!this._eyes.isOpen) {
64
+ this._testResults = null;
65
+ await this._eyes.open(browser);
66
+ }
67
+ }
68
+ async _eyesClose() {
69
+ if (this._eyes.isOpen) {
70
+ this._testResults = await this._eyes.close(false);
71
+ }
72
+ }
62
73
  beforeSession(config) {
63
74
  this._appName = this._eyes.configuration.appName;
64
75
  if (config.enableEyesLogs) {
@@ -107,7 +118,7 @@ class EyesService {
107
118
  const configuration = this._eyes.getConfiguration();
108
119
  configuration.setTestName((_a = test.title) !== null && _a !== void 0 ? _a : test.description);
109
120
  if (!this._appName) {
110
- 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));
121
+ configuration.setAppName((_b = test.parent) !== null && _b !== void 0 ? _b : (_c = test.fullName) === null || _c === void 0 ? void 0 : _c.replace(` ${test.description}`, ''));
111
122
  }
112
123
  if (!configuration.getViewportSize()) {
113
124
  configuration.setViewportSize({ width: 800, height: 600 });
@@ -122,16 +133,5 @@ class EyesService {
122
133
  await this._eyes.runner.getAllTestResults(false);
123
134
  await this._eyes.abort();
124
135
  }
125
- async _eyesOpen() {
126
- if (!this._eyes.isOpen) {
127
- this._testResults = null;
128
- await this._eyes.open(browser);
129
- }
130
- }
131
- async _eyesClose() {
132
- if (this._eyes.isOpen) {
133
- this._testResults = await this._eyes.close(false);
134
- }
135
- }
136
136
  }
137
137
  module.exports = EyesService;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@applitools/eyes-webdriverio",
3
- "version": "5.34.4",
3
+ "version": "5.34.5",
4
4
  "description": "Applitools Eyes SDK for WebdriverIO",
5
5
  "keywords": [
6
6
  "eyes-webdriverio",
@@ -109,9 +109,9 @@
109
109
  },
110
110
  "dependencies": {
111
111
  "@applitools/eyes-api": "1.1.6",
112
- "@applitools/eyes-sdk-core": "12.24.6",
113
- "@applitools/spec-driver-webdriverio": "1.2.2",
114
- "@applitools/visual-grid-client": "15.8.52"
112
+ "@applitools/eyes-sdk-core": "12.24.7",
113
+ "@applitools/spec-driver-webdriverio": "1.2.5",
114
+ "@applitools/visual-grid-client": "15.8.53"
115
115
  },
116
116
  "devDependencies": {
117
117
  "@applitools/api-extractor": "1.2.3",
@@ -127,6 +127,7 @@
127
127
  "@wdio/dot-reporter": "^7.16.4",
128
128
  "@wdio/local-runner": "^7.16.5",
129
129
  "@wdio/mocha-framework": "^7.16.4",
130
+ "@wdio/types": "^7.16.11",
130
131
  "chromedriver": "^95.0.0",
131
132
  "eslint": "^7.9.0",
132
133
  "eslint-config-prettier": "^7.2.0",