@applitools/eyes-webdriverio 5.50.5 → 5.50.6

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
@@ -1,5 +1,55 @@
1
1
  # Changelog
2
2
 
3
+ ## [5.50.6](https://github.com/applitools/eyes.sdk.javascript1/compare/js/eyes-webdriverio@5.50.5...js/eyes-webdriverio@5.50.6) (2024-01-16)
4
+
5
+
6
+ ### Bug Fixes
7
+
8
+ * made service to work with older wdio runner versions versions ([#2140](https://github.com/applitools/eyes.sdk.javascript1/issues/2140)) ([151c729](https://github.com/applitools/eyes.sdk.javascript1/commit/151c729d0016fbbe4b5dd6b719d59c087a2f3144))
9
+
10
+
11
+ ### Dependencies
12
+
13
+ * @applitools/dom-snapshot bumped to 4.7.16
14
+ #### Bug Fixes
15
+
16
+ * handle unparsable values of media attribute in dom snapshot ([a2afe2e](https://github.com/applitools/eyes.sdk.javascript1/commit/a2afe2e18508f44f9c046270da0c1e09fb9aea03))
17
+ * @applitools/nml-client bumped to 1.6.4
18
+ #### Bug Fixes
19
+
20
+ * remove local environment id ([#2152](https://github.com/applitools/eyes.sdk.javascript1/issues/2152)) ([59aaeae](https://github.com/applitools/eyes.sdk.javascript1/commit/59aaeaed474fbde78b76ae7ac803960e3ecd8166))
21
+ * @applitools/core bumped to 4.6.0
22
+ #### Features
23
+
24
+ * added possibility to provide `fallbackBaselineId` in environment objects ([#2146](https://github.com/applitools/eyes.sdk.javascript1/issues/2146)) ([f0782ea](https://github.com/applitools/eyes.sdk.javascript1/commit/f0782ea4c38935f97fc47248ed6a5b67f87b0634))
25
+
26
+
27
+ #### Bug Fixes
28
+
29
+ * add environment variable for setting ufg server ufg ([#2147](https://github.com/applitools/eyes.sdk.javascript1/issues/2147)) ([cfc701f](https://github.com/applitools/eyes.sdk.javascript1/commit/cfc701f7a43fed0fe252d4090b9c1dc490063c76))
30
+ * remove local environment id ([#2152](https://github.com/applitools/eyes.sdk.javascript1/issues/2152)) ([59aaeae](https://github.com/applitools/eyes.sdk.javascript1/commit/59aaeaed474fbde78b76ae7ac803960e3ecd8166))
31
+
32
+
33
+
34
+ * @applitools/ec-client bumped to 1.7.22
35
+
36
+ * @applitools/core-base bumped to 1.9.0
37
+ #### Features
38
+
39
+ * added possibility to provide `fallbackBaselineId` in environment objects ([#2146](https://github.com/applitools/eyes.sdk.javascript1/issues/2146)) ([f0782ea](https://github.com/applitools/eyes.sdk.javascript1/commit/f0782ea4c38935f97fc47248ed6a5b67f87b0634))
40
+
41
+
42
+ #### Bug Fixes
43
+
44
+ * add environment variable for setting ufg server ufg ([#2147](https://github.com/applitools/eyes.sdk.javascript1/issues/2147)) ([cfc701f](https://github.com/applitools/eyes.sdk.javascript1/commit/cfc701f7a43fed0fe252d4090b9c1dc490063c76))
45
+ * @applitools/eyes bumped to 1.13.5
46
+ #### Bug Fixes
47
+
48
+ * fixed default value in `useSystemScreenshot` method of check settings ([42a773c](https://github.com/applitools/eyes.sdk.javascript1/commit/42a773cc57e8e5de528a049b376159615892003b))
49
+
50
+
51
+
52
+
3
53
  ## [5.50.5](https://github.com/applitools/eyes.sdk.javascript1/compare/js/eyes-webdriverio@5.50.4...js/eyes-webdriverio@5.50.5) (2024-01-02)
4
54
 
5
55
 
package/dist/service.js CHANGED
@@ -38,6 +38,11 @@ class EyesService {
38
38
  if (options.enableEyesLogs || this._config.enableEyesLogs) {
39
39
  this._eyes.setLogHandler({ type: 'console' });
40
40
  }
41
+ }
42
+ async before() {
43
+ var _a;
44
+ var _b;
45
+ (_a = (_b = this._eyes.configuration).viewportSize) !== null && _a !== void 0 ? _a : (_b.viewportSize = { width: 800, height: 600 });
41
46
  browser.addCommand('getEyes', () => {
42
47
  return this._eyes;
43
48
  });
@@ -84,11 +89,6 @@ class EyesService {
84
89
  return this._eyes.getIsOpen();
85
90
  });
86
91
  }
87
- async before() {
88
- var _a;
89
- var _b;
90
- (_a = (_b = this._eyes.configuration).viewportSize) !== null && _a !== void 0 ? _a : (_b.viewportSize = { width: 800, height: 600 });
91
- }
92
92
  async beforeTest(test) {
93
93
  var _a, _b, _c, _d, _e;
94
94
  var _f, _g;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@applitools/eyes-webdriverio",
3
- "version": "5.50.5",
3
+ "version": "5.50.6",
4
4
  "description": "Applitools Eyes SDK for WebdriverIO",
5
5
  "keywords": [
6
6
  "eyes-webdriverio",
@@ -68,11 +68,11 @@
68
68
  "test:service": "MOCHA_GROUP=service wdio run ./test/service/config/basic.config.js --autoCompileOpts.autoCompile=0 && wdio run ./test/service/config/ec.config.js --autoCompileOpts.autoCompile=0",
69
69
  "test:coverage": "APPLITOOLS_SHOW_LOGS=true APPLITOOLS_LOG_FILE=\"./logs/$(uuidgen).log\" APPLITOOLS_BATCH_NAME='JS Coverage Tests: eyes-webdriverio' APPLITOOLS_BATCH_ID=$(uuidgen) MOCHA_GROUP=coverage run --top-level mocha './test/generated-coverage/*.spec.js' --parallel --jobs ${MOCHA_JOBS:-15} --exit",
70
70
  "setup": "run --top-level browsers:setup",
71
- "up:framework": "echo \"$(jq '.devDependencies.webdriverio = $ENV.APPLITOOLS_FRAMEWORK_VERSION' ./package.json)\" > ./package.json"
71
+ "up:framework": "echo \"$(jq '.devDependencies |= . + ([\"webdriverio\", \"@wdio/cli\", \"@wdio/local-runner\", \"@wdio/mocha-framework\"] | with_entries({key: .value, value: $ENV.APPLITOOLS_FRAMEWORK_VERSION}))' ./package.json)\" > ./package.json"
72
72
  },
73
73
  "dependencies": {
74
74
  "@applitools/driver": "1.16.1",
75
- "@applitools/eyes": "1.13.4",
75
+ "@applitools/eyes": "1.13.5",
76
76
  "@applitools/spec-driver-webdriver": "1.0.54"
77
77
  },
78
78
  "devDependencies": {
@@ -82,7 +82,6 @@
82
82
  "@applitools/test-utils": "^1.5.17",
83
83
  "@types/node": "^16.18.14",
84
84
  "@wdio/cli": "^8.14.4",
85
- "@wdio/dot-reporter": "^8.14.0",
86
85
  "@wdio/globals": "^8.14.3",
87
86
  "@wdio/local-runner": "^8.14.3",
88
87
  "@wdio/mocha-framework": "^8.14.0",
package/types/index.d.ts CHANGED
@@ -215,7 +215,7 @@ export class CheckSettingsAutomation {
215
215
  nmgOptions(options: { [key: string]: any; }): CheckSettingsAutomation;
216
216
  visualGridOption(key: string, value: any): CheckSettingsAutomation;
217
217
  visualGridOptions(options: { [key: string]: any; }): CheckSettingsAutomation;
218
- useSystemScreenshot(useSystemScreenshot: boolean): CheckSettingsAutomation;
218
+ useSystemScreenshot(useSystemScreenshot?: undefined | boolean): CheckSettingsAutomation;
219
219
  timeout(timeout: number): CheckSettingsAutomation;
220
220
  waitBeforeCapture(waitBeforeCapture: number): CheckSettingsAutomation;
221
221
  lazyLoad(options?: undefined | boolean): CheckSettingsAutomation;