@applitools/eyes-cypress 3.39.1 → 3.40.1

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,156 @@
1
1
  # Changelog
2
2
 
3
+ ## [3.40.1](https://github.com/applitools/eyes.sdk.javascript1/compare/js/eyes-cypress@3.40.0...js/eyes-cypress@3.40.1) (2023-12-05)
4
+
5
+
6
+ ### Dependencies
7
+
8
+ * @applitools/utils bumped to 1.7.0
9
+ #### Features
10
+
11
+ * add Eyes.getResults method ([#2046](https://github.com/applitools/eyes.sdk.javascript1/issues/2046)) ([#2069](https://github.com/applitools/eyes.sdk.javascript1/issues/2069)) ([4d263e1](https://github.com/applitools/eyes.sdk.javascript1/commit/4d263e19cb5e5708790a1a7ef90ff8f3eee50d91))
12
+ * @applitools/core-base bumped to 1.7.4
13
+ #### Bug Fixes
14
+
15
+ * do not block concurrency when server response is 503 ([#2049](https://github.com/applitools/eyes.sdk.javascript1/issues/2049)) ([f285009](https://github.com/applitools/eyes.sdk.javascript1/commit/f2850098f7522776c0d0a98bb1d958303628b149))
16
+
17
+
18
+
19
+ * @applitools/eyes bumped to 1.13.0
20
+ #### Features
21
+
22
+ * add Eyes.getResults method ([#2046](https://github.com/applitools/eyes.sdk.javascript1/issues/2046)) ([#2069](https://github.com/applitools/eyes.sdk.javascript1/issues/2069)) ([4d263e1](https://github.com/applitools/eyes.sdk.javascript1/commit/4d263e19cb5e5708790a1a7ef90ff8f3eee50d91))
23
+
24
+
25
+
26
+ * @applitools/logger bumped to 2.0.14
27
+
28
+ * @applitools/socket bumped to 1.1.14
29
+
30
+ * @applitools/req bumped to 1.6.4
31
+
32
+ * @applitools/image bumped to 1.1.9
33
+
34
+ * @applitools/spec-driver-webdriver bumped to 1.0.51
35
+
36
+ * @applitools/spec-driver-selenium bumped to 1.5.65
37
+
38
+ * @applitools/spec-driver-puppeteer bumped to 1.3.1
39
+
40
+ * @applitools/driver bumped to 1.15.2
41
+
42
+ * @applitools/screenshoter bumped to 3.8.17
43
+
44
+ * @applitools/nml-client bumped to 1.5.17
45
+
46
+ * @applitools/tunnel-client bumped to 1.3.2
47
+
48
+ * @applitools/ufg-client bumped to 1.9.9
49
+
50
+ * @applitools/ec-client bumped to 1.7.17
51
+
52
+ * @applitools/core bumped to 4.3.0
53
+ #### Features
54
+
55
+ * add Eyes.getResults method ([#2046](https://github.com/applitools/eyes.sdk.javascript1/issues/2046)) ([#2069](https://github.com/applitools/eyes.sdk.javascript1/issues/2069)) ([4d263e1](https://github.com/applitools/eyes.sdk.javascript1/commit/4d263e19cb5e5708790a1a7ef90ff8f3eee50d91))
56
+
57
+
58
+
59
+
60
+ ## [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)
61
+
62
+
63
+ ### Features
64
+
65
+ * 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))
66
+
67
+
68
+ ### Bug Fixes
69
+
70
+ * 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))
71
+
72
+
73
+ ### Dependencies
74
+
75
+ * @applitools/utils bumped to 1.6.3
76
+ #### Bug Fixes
77
+
78
+ * 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))
79
+ * @applitools/logger bumped to 2.0.13
80
+
81
+ * @applitools/req bumped to 1.6.3
82
+
83
+ * @applitools/image bumped to 1.1.8
84
+
85
+ * @applitools/dom-snapshot bumped to 4.7.14
86
+ #### Bug Fixes
87
+
88
+ * 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))
89
+ * @applitools/spec-driver-webdriver bumped to 1.0.50
90
+ #### Bug Fixes
91
+
92
+ * 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))
93
+
94
+
95
+
96
+ * @applitools/spec-driver-puppeteer bumped to 1.3.0
97
+ #### Features
98
+
99
+ * 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))
100
+
101
+
102
+
103
+ * @applitools/core-base bumped to 1.7.3
104
+ #### Bug Fixes
105
+
106
+ * 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))
107
+ * 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))
108
+
109
+
110
+
111
+ * @applitools/eyes bumped to 1.12.0
112
+ #### Features
113
+
114
+ * added `enableEyesLogs` configuration to the eyes service ([639ca8a](https://github.com/applitools/eyes.sdk.javascript1/commit/639ca8a021008d06fc09d19ca58ac3d00a18e4c3))
115
+ * 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))
116
+
117
+
118
+ #### Bug Fixes
119
+
120
+ * 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))
121
+
122
+
123
+
124
+ * @applitools/socket bumped to 1.1.13
125
+
126
+ * @applitools/spec-driver-selenium bumped to 1.5.64
127
+
128
+ * @applitools/driver bumped to 1.15.1
129
+
130
+ * @applitools/screenshoter bumped to 3.8.16
131
+
132
+ * @applitools/nml-client bumped to 1.5.16
133
+
134
+ * @applitools/tunnel-client bumped to 1.3.1
135
+
136
+ * @applitools/ufg-client bumped to 1.9.8
137
+
138
+ * @applitools/ec-client bumped to 1.7.16
139
+
140
+ * @applitools/core bumped to 4.2.0
141
+ #### Features
142
+
143
+ * 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))
144
+ * 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))
145
+
146
+
147
+ #### Bug Fixes
148
+
149
+ * 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))
150
+
151
+
152
+
153
+
3
154
  ## [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)
4
155
 
5
156
 
@@ -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.1",
3
+ "version": "3.40.1",
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.1.0",
57
- "@applitools/eyes": "1.11.4",
56
+ "@applitools/core": "4.3.0",
57
+ "@applitools/eyes": "1.13.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.14",
60
+ "@applitools/utils": "1.7.0",
61
61
  "boxen": "5.1.2",
62
62
  "chalk": "3.0.0",
63
63
  "semver": "7.5.4",
@@ -66,7 +66,7 @@
66
66
  },
67
67
  "devDependencies": {
68
68
  "@applitools/api-extractor": "^1.2.22",
69
- "@applitools/bongo": "^5.7.4",
69
+ "@applitools/bongo": "^5.7.6",
70
70
  "@applitools/generic": "^3.5.2",
71
71
  "@applitools/snaptdout": "1.0.1",
72
72
  "@applitools/test-server": "^1.2.2",
@@ -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
  }