@applitools/eyes 1.11.2 → 1.11.4

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,77 @@
1
1
  # Changelog
2
2
 
3
+ ## [1.11.4](https://github.com/applitools/eyes.sdk.javascript1/compare/js/eyes@1.11.3...js/eyes@1.11.4) (2023-11-07)
4
+
5
+
6
+ ### Bug Fixes
7
+
8
+ * fixed issue when w3c properties were added to legacy capabilities object in `Eyes.setMobileCapabilities` method ([94d785f](https://github.com/applitools/eyes.sdk.javascript1/commit/94d785f0428df101c207d6f09a55c46f2bdbf19e))
9
+
10
+
11
+ ### Dependencies
12
+
13
+ * @applitools/dom-shared bumped to 1.0.11
14
+ #### Bug Fixes
15
+
16
+ * (java/eyes-appium-java5): fix incorrect stitchMode mapping in checkSettings ([c70428e](https://github.com/applitools/eyes.sdk.javascript1/commit/c70428ec83e26b8b5e398ff11814f8376ca97d56))
17
+ * @applitools/dom-capture bumped to 11.2.4
18
+ #### Bug Fixes
19
+
20
+ * (java/eyes-appium-java5): fix incorrect stitchMode mapping in checkSettings ([c70428e](https://github.com/applitools/eyes.sdk.javascript1/commit/c70428ec83e26b8b5e398ff11814f8376ca97d56))
21
+
22
+
23
+
24
+ * @applitools/dom-snapshot bumped to 4.7.13
25
+ #### Bug Fixes
26
+
27
+ * (java/eyes-appium-java5): fix incorrect stitchMode mapping in checkSettings ([c70428e](https://github.com/applitools/eyes.sdk.javascript1/commit/c70428ec83e26b8b5e398ff11814f8376ca97d56))
28
+ * handled duplicated style properties in inline style tags ([#2014](https://github.com/applitools/eyes.sdk.javascript1/issues/2014)) ([2f8bada](https://github.com/applitools/eyes.sdk.javascript1/commit/2f8bada9cd44c65a69e54cbd08f57534632f12d2))
29
+
30
+
31
+
32
+ * @applitools/driver bumped to 1.15.0
33
+ #### Features
34
+
35
+ * added warning when driver used with capabilities that may conflict with applitools lib workflow ([#2011](https://github.com/applitools/eyes.sdk.javascript1/issues/2011)) ([081006d](https://github.com/applitools/eyes.sdk.javascript1/commit/081006d879894db03a2713129b66586496b6eb02))
36
+ * @applitools/screenshoter bumped to 3.8.15
37
+
38
+ * @applitools/nml-client bumped to 1.5.15
39
+
40
+ * @applitools/ufg-client bumped to 1.9.7
41
+ #### Bug Fixes
42
+
43
+ * added retries on ufg requests that respond with 503 status code ([7d78917](https://github.com/applitools/eyes.sdk.javascript1/commit/7d78917d559fa182c6723ca34cef2118cf08a036))
44
+ * @applitools/spec-driver-webdriver bumped to 1.0.49
45
+
46
+ * @applitools/spec-driver-selenium bumped to 1.5.63
47
+
48
+ * @applitools/spec-driver-puppeteer bumped to 1.2.5
49
+
50
+ * @applitools/ec-client bumped to 1.7.15
51
+
52
+ * @applitools/core bumped to 4.1.0
53
+ #### Features
54
+
55
+ * added warning when driver used with capabilities that may conflict with applitools lib workflow ([#2011](https://github.com/applitools/eyes.sdk.javascript1/issues/2011)) ([081006d](https://github.com/applitools/eyes.sdk.javascript1/commit/081006d879894db03a2713129b66586496b6eb02))
56
+
57
+
58
+ #### Bug Fixes
59
+
60
+ * fixed issue that caused dom snapshots to be taken for different viewport sizes when layout breakpoints were explicitly turned off ([4121876](https://github.com/applitools/eyes.sdk.javascript1/commit/4121876189f133b6023cfea52ca91c02c31079fb))
61
+
62
+
63
+
64
+
65
+ ## [1.11.3](https://github.com/applitools/eyes.sdk.javascript1/compare/js/eyes@1.11.2...js/eyes@1.11.3) (2023-10-30)
66
+
67
+
68
+ ### Dependencies
69
+
70
+ * @applitools/core bumped to 4.0.2
71
+ #### Bug Fixes
72
+
73
+ * generate safe selectors as close as possible to taking dom snapshot ([#1987](https://github.com/applitools/eyes.sdk.javascript1/issues/1987)) ([102208b](https://github.com/applitools/eyes.sdk.javascript1/commit/102208b909c0b149808f6e4c24a0a662305b1b78))
74
+
3
75
  ## [1.11.2](https://github.com/applitools/eyes.sdk.javascript1/compare/js/eyes@1.11.1...js/eyes@1.11.2) (2023-10-25)
4
76
 
5
77
 
package/dist/Eyes.js CHANGED
@@ -75,9 +75,11 @@ class Eyes {
75
75
  url.password = config.proxy.password;
76
76
  envs.APPLITOOLS_PROXY_URL = url.toString();
77
77
  }
78
+ const isW3C = Object.keys(capabilities).some(capability => capability.includes(':'));
79
+ const prefix = isW3C ? 'appium:' : '';
78
80
  return Object.assign(capabilities, {
79
- 'appium:optionalIntentArguments': `--es APPLITOOLS '${JSON.stringify(envs)}'`,
80
- 'appium:processArguments': JSON.stringify({
81
+ [`${prefix}optionalIntentArguments`]: `--es APPLITOOLS '${JSON.stringify(envs)}'`,
82
+ [`${prefix}processArguments`]: JSON.stringify({
81
83
  args: [],
82
84
  env: {
83
85
  DYLD_INSERT_LIBRARIES: '@executable_path/Frameworks/Applitools_iOS.xcframework/ios-arm64/Applitools_iOS.framework/Applitools_iOS:@executable_path/Frameworks/Applitools_iOS.xcframework/ios-arm64_x86_64-simulator/Applitools_iOS.framework/Applitools_iOS',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@applitools/eyes",
3
- "version": "1.11.2",
3
+ "version": "1.11.4",
4
4
  "keywords": [
5
5
  "applitools",
6
6
  "eyes",
@@ -45,7 +45,7 @@
45
45
  "test": "run --top-level mocha './test/**/*.spec.ts'"
46
46
  },
47
47
  "dependencies": {
48
- "@applitools/core": "4.0.1",
48
+ "@applitools/core": "4.1.0",
49
49
  "@applitools/logger": "2.0.12",
50
50
  "@applitools/utils": "1.6.2"
51
51
  },