@applitools/eyes-cypress 3.39.0 → 3.40.0

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,163 @@
1
1
  # Changelog
2
2
 
3
+ ## [3.40.0](https://github.com/applitools/eyes.sdk.javascript1/compare/js/eyes-cypress@3.39.1...js/eyes-cypress@3.40.0) (2023-11-21)
4
+
5
+
6
+ ### Features
7
+
8
+ * added notification about outdated sdk version ([#2012](https://github.com/applitools/eyes.sdk.javascript1/issues/2012)) ([0f0a646](https://github.com/applitools/eyes.sdk.javascript1/commit/0f0a6462a56e7c97f9a22173c3b63af91e220adb))
9
+
10
+
11
+ ### Bug Fixes
12
+
13
+ * don't throw error for missing configuration file ([#2034](https://github.com/applitools/eyes.sdk.javascript1/issues/2034)) ([d084e7b](https://github.com/applitools/eyes.sdk.javascript1/commit/d084e7bf6e1727e3969622b4e597881f18241eb3))
14
+
15
+
16
+ ### Dependencies
17
+
18
+ * @applitools/utils bumped to 1.6.3
19
+ #### Bug Fixes
20
+
21
+ * don't throw error for missing configuration file ([#2034](https://github.com/applitools/eyes.sdk.javascript1/issues/2034)) ([d084e7b](https://github.com/applitools/eyes.sdk.javascript1/commit/d084e7bf6e1727e3969622b4e597881f18241eb3))
22
+ * @applitools/logger bumped to 2.0.13
23
+
24
+ * @applitools/req bumped to 1.6.3
25
+
26
+ * @applitools/image bumped to 1.1.8
27
+
28
+ * @applitools/dom-snapshot bumped to 4.7.14
29
+ #### Bug Fixes
30
+
31
+ * preserve css declarations order in dom-snapshot ([#2037](https://github.com/applitools/eyes.sdk.javascript1/issues/2037)) ([1381851](https://github.com/applitools/eyes.sdk.javascript1/commit/1381851d46f28ea7e7724025c4eab33c81c4e144))
32
+ * @applitools/spec-driver-webdriver bumped to 1.0.50
33
+ #### Bug Fixes
34
+
35
+ * send devtool commands in chromium ([#2039](https://github.com/applitools/eyes.sdk.javascript1/issues/2039)) ([ff42043](https://github.com/applitools/eyes.sdk.javascript1/commit/ff42043c3d9f110eb7b22ab1a8448d77859923b4))
36
+
37
+
38
+
39
+ * @applitools/spec-driver-puppeteer bumped to 1.3.0
40
+ #### Features
41
+
42
+ * added notification about outdated sdk version ([#2012](https://github.com/applitools/eyes.sdk.javascript1/issues/2012)) ([0f0a646](https://github.com/applitools/eyes.sdk.javascript1/commit/0f0a6462a56e7c97f9a22173c3b63af91e220adb))
43
+
44
+
45
+
46
+ * @applitools/core-base bumped to 1.7.3
47
+ #### Bug Fixes
48
+
49
+ * remove connection timeout in case of a long running tasks ([#2006](https://github.com/applitools/eyes.sdk.javascript1/issues/2006)) ([49a596a](https://github.com/applitools/eyes.sdk.javascript1/commit/49a596ac1b022a66b5c07ecfee458cc061891ce0))
50
+ * return result when error in the ufg ([#2020](https://github.com/applitools/eyes.sdk.javascript1/issues/2020)) ([28cdcc5](https://github.com/applitools/eyes.sdk.javascript1/commit/28cdcc5a859641d0edde032165c5068fcc580c8d))
51
+
52
+
53
+
54
+ * @applitools/eyes bumped to 1.12.0
55
+ #### Features
56
+
57
+ * added `enableEyesLogs` configuration to the eyes service ([639ca8a](https://github.com/applitools/eyes.sdk.javascript1/commit/639ca8a021008d06fc09d19ca58ac3d00a18e4c3))
58
+ * added `useExecutionCloud` configuration to the eyes service ([#2033](https://github.com/applitools/eyes.sdk.javascript1/issues/2033)) ([639ca8a](https://github.com/applitools/eyes.sdk.javascript1/commit/639ca8a021008d06fc09d19ca58ac3d00a18e4c3))
59
+
60
+
61
+ #### Bug Fixes
62
+
63
+ * error to unknown type in exception ([#2035](https://github.com/applitools/eyes.sdk.javascript1/issues/2035)) ([16d78c3](https://github.com/applitools/eyes.sdk.javascript1/commit/16d78c3cce90a5cb50cc2aa4e9ab6a58b7b93f89))
64
+
65
+
66
+
67
+ * @applitools/socket bumped to 1.1.13
68
+
69
+ * @applitools/spec-driver-selenium bumped to 1.5.64
70
+
71
+ * @applitools/driver bumped to 1.15.1
72
+
73
+ * @applitools/screenshoter bumped to 3.8.16
74
+
75
+ * @applitools/nml-client bumped to 1.5.16
76
+
77
+ * @applitools/tunnel-client bumped to 1.3.1
78
+
79
+ * @applitools/ufg-client bumped to 1.9.8
80
+
81
+ * @applitools/ec-client bumped to 1.7.16
82
+
83
+ * @applitools/core bumped to 4.2.0
84
+ #### Features
85
+
86
+ * added notification about outdated sdk version ([#2012](https://github.com/applitools/eyes.sdk.javascript1/issues/2012)) ([0f0a646](https://github.com/applitools/eyes.sdk.javascript1/commit/0f0a6462a56e7c97f9a22173c3b63af91e220adb))
87
+ * log driver environment info to splank ([#2023](https://github.com/applitools/eyes.sdk.javascript1/issues/2023)) ([11d0546](https://github.com/applitools/eyes.sdk.javascript1/commit/11d0546e76962b4c231e140b0229b8402da27f69))
88
+
89
+
90
+ #### Bug Fixes
91
+
92
+ * return result when error in the ufg ([#2020](https://github.com/applitools/eyes.sdk.javascript1/issues/2020)) ([28cdcc5](https://github.com/applitools/eyes.sdk.javascript1/commit/28cdcc5a859641d0edde032165c5068fcc580c8d))
93
+
94
+
95
+
96
+
97
+ ## [3.39.1](https://github.com/applitools/eyes.sdk.javascript1/compare/js/eyes-cypress@3.39.0...js/eyes-cypress@3.39.1) (2023-11-07)
98
+
99
+
100
+ ### Dependencies
101
+
102
+ * @applitools/dom-shared bumped to 1.0.11
103
+ #### Bug Fixes
104
+
105
+ * (java/eyes-appium-java5): fix incorrect stitchMode mapping in checkSettings ([c70428e](https://github.com/applitools/eyes.sdk.javascript1/commit/c70428ec83e26b8b5e398ff11814f8376ca97d56))
106
+ * @applitools/dom-capture bumped to 11.2.4
107
+ #### Bug Fixes
108
+
109
+ * (java/eyes-appium-java5): fix incorrect stitchMode mapping in checkSettings ([c70428e](https://github.com/applitools/eyes.sdk.javascript1/commit/c70428ec83e26b8b5e398ff11814f8376ca97d56))
110
+
111
+
112
+
113
+ * @applitools/dom-snapshot bumped to 4.7.13
114
+ #### Bug Fixes
115
+
116
+ * (java/eyes-appium-java5): fix incorrect stitchMode mapping in checkSettings ([c70428e](https://github.com/applitools/eyes.sdk.javascript1/commit/c70428ec83e26b8b5e398ff11814f8376ca97d56))
117
+ * 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))
118
+
119
+
120
+
121
+ * @applitools/driver bumped to 1.15.0
122
+ #### Features
123
+
124
+ * 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))
125
+ * @applitools/screenshoter bumped to 3.8.15
126
+
127
+ * @applitools/nml-client bumped to 1.5.15
128
+
129
+ * @applitools/ufg-client bumped to 1.9.7
130
+ #### Bug Fixes
131
+
132
+ * added retries on ufg requests that respond with 503 status code ([7d78917](https://github.com/applitools/eyes.sdk.javascript1/commit/7d78917d559fa182c6723ca34cef2118cf08a036))
133
+ * @applitools/eyes bumped to 1.11.4
134
+ #### Bug Fixes
135
+
136
+ * 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))
137
+
138
+
139
+
140
+ * @applitools/spec-driver-webdriver bumped to 1.0.49
141
+
142
+ * @applitools/spec-driver-selenium bumped to 1.5.63
143
+
144
+ * @applitools/spec-driver-puppeteer bumped to 1.2.5
145
+
146
+ * @applitools/ec-client bumped to 1.7.15
147
+
148
+ * @applitools/core bumped to 4.1.0
149
+ #### Features
150
+
151
+ * 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))
152
+
153
+
154
+ #### Bug Fixes
155
+
156
+ * 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))
157
+
158
+
159
+
160
+
3
161
  ## [3.39.0](https://github.com/applitools/eyes.sdk.javascript1/compare/js/eyes-cypress-v3.38.1...js/eyes-cypress@3.39.0) (2023-10-30)
4
162
 
5
163
 
@@ -43,6 +43,7 @@ function makeConfig() {
43
43
  'eyesFetchConcurrency',
44
44
  'universalDebug',
45
45
  ],
46
+ strict: true,
46
47
  });
47
48
  if ((!config.batch || !config.batch.id) && !config.batchId) {
48
49
  config.batch = { id: uuid.v4(), ...config.batch };
@@ -11,6 +11,14 @@ function extractEnvironment(options) {
11
11
  catch {
12
12
  // NOTE: ignore error
13
13
  }
14
- return { versions, testingType: (_a = options === null || options === void 0 ? void 0 : options.testingType) !== null && _a !== void 0 ? _a : 'e2e' };
14
+ let sdk = undefined;
15
+ try {
16
+ const { name, version } = require('../../package.json');
17
+ sdk = { lang: 'js', name, currentVersion: version };
18
+ }
19
+ catch {
20
+ // NOTE: ignore error
21
+ }
22
+ return { versions, sdk, testingType: (_a = options === null || options === void 0 ? void 0 : options.testingType) !== null && _a !== void 0 ? _a : 'e2e' };
15
23
  }
16
24
  exports.extractEnvironment = extractEnvironment;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@applitools/eyes-cypress",
3
- "version": "3.39.0",
3
+ "version": "3.40.0",
4
4
  "homepage": "https://applitools.com/docs/api-ref/sdk-api/cypress/",
5
5
  "license": "SEE LICENSE IN LICENSE",
6
6
  "main": "./index.js",
@@ -53,11 +53,11 @@
53
53
  "setup": "run --top-level xvfb:setup"
54
54
  },
55
55
  "dependencies": {
56
- "@applitools/core": "4.0.2",
57
- "@applitools/eyes": "1.11.3",
56
+ "@applitools/core": "4.2.0",
57
+ "@applitools/eyes": "1.12.0",
58
58
  "@applitools/functional-commons": "1.6.0",
59
- "@applitools/logger": "2.0.12",
60
- "@applitools/utils": "1.6.2",
59
+ "@applitools/logger": "2.0.13",
60
+ "@applitools/utils": "1.6.3",
61
61
  "boxen": "5.1.2",
62
62
  "chalk": "3.0.0",
63
63
  "semver": "7.5.4",
@@ -66,8 +66,8 @@
66
66
  },
67
67
  "devDependencies": {
68
68
  "@applitools/api-extractor": "^1.2.22",
69
- "@applitools/bongo": "^5.7.0",
70
- "@applitools/generic": "^3.5.0",
69
+ "@applitools/bongo": "^5.7.6",
70
+ "@applitools/generic": "^3.5.2",
71
71
  "@applitools/snaptdout": "1.0.1",
72
72
  "@applitools/test-server": "^1.2.2",
73
73
  "@applitools/test-utils": "^1.5.17",
@@ -17,6 +17,7 @@ export default function makeConfig(): {config: any; eyesConfig: EyesPluginConfig
17
17
  'eyesFetchConcurrency',
18
18
  'universalDebug',
19
19
  ],
20
+ strict: true,
20
21
  })
21
22
 
22
23
  if ((!config.batch || !config.batch.id) && !config.batchId) {
@@ -6,5 +6,12 @@ export function extractEnvironment(options: Cypress.PluginConfigOptions): Record
6
6
  } catch {
7
7
  // NOTE: ignore error
8
8
  }
9
- return {versions, testingType: options?.testingType ?? 'e2e'}
9
+ let sdk = undefined as {lang: string; name: string; currentVersion: string} | undefined
10
+ try {
11
+ const {name, version} = require('../../package.json')
12
+ sdk = {lang: 'js', name, currentVersion: version}
13
+ } catch {
14
+ // NOTE: ignore error
15
+ }
16
+ return {versions, sdk, testingType: options?.testingType ?? 'e2e'}
10
17
  }