@toptal/davinci-qa 18.2.2 → 18.3.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,13 @@
1
1
  # Change Log
2
2
 
3
+ ## 18.3.0
4
+
5
+ ### Minor Changes
6
+
7
+ - [#2588](https://github.com/toptal/davinci/pull/2588) [`0085a62`](https://github.com/toptal/davinci/commit/0085a62c3d8ea2b98723bbb99bd1a783b64faf9a) Thanks [@sashuk](https://github.com/sashuk)!
8
+ - update happo.js dependencies
9
+ - disable Happo configuration in Cypress if Happo configuration variables are not set
10
+
3
11
  ## 18.2.2
4
12
 
5
13
  ### Patch Changes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@toptal/davinci-qa",
3
- "version": "18.2.2",
3
+ "version": "18.3.0",
4
4
  "keywords": [
5
5
  "qa",
6
6
  "testing"
@@ -55,10 +55,10 @@
55
55
  "babel-jest": "^28.1.3",
56
56
  "fs-extra": "^11.1.1",
57
57
  "glob": "^8.0.3",
58
- "happo-cypress": "^4.1.1",
59
- "happo-e2e": "^2.2.2",
60
- "happo-plugin-storybook": "^4.3.1",
61
- "happo.io": "^8.4.4",
58
+ "happo-cypress": "^4.3.1",
59
+ "happo-e2e": "^5.0.0",
60
+ "happo-plugin-storybook": "^4.4.3",
61
+ "happo.io": "^12.2.1",
62
62
  "jest": "^29.7.0",
63
63
  "jest-environment-jsdom": "^29.7.0",
64
64
  "jest-html-reporters": "^3.1.4",
@@ -30,7 +30,18 @@ export default {
30
30
 
31
31
  // generate code coverage
32
32
  registerCodeCoverageTasks(on, config)
33
- happoTask.register(on)
33
+
34
+ if (
35
+ process.env.HAPPO_API_KEY &&
36
+ process.env.HAPPO_API_SECRET &&
37
+ process.env.HAPPO_PROJECT
38
+ ) {
39
+ happoTask.register(on)
40
+ } else {
41
+ console.warn(
42
+ 'HAPPO_API_KEY, HAPPO_API_SECRET, HAPPO_PROJECT are not set, skipping happo configuration in Cypress.component.config.js'
43
+ )
44
+ }
34
45
 
35
46
  // split spec files in CI
36
47
  parallelization(config)
@@ -8,7 +8,18 @@ export default {
8
8
  setupNodeEvents(on, config) {
9
9
  // generate code coverage
10
10
  registerCodeCoverageTasks(on, config)
11
- happoTask.register(on)
11
+
12
+ if (
13
+ process.env.HAPPO_API_KEY &&
14
+ process.env.HAPPO_API_SECRET &&
15
+ process.env.HAPPO_PROJECT
16
+ ) {
17
+ happoTask.register(on)
18
+ } else {
19
+ console.warn(
20
+ 'HAPPO_API_KEY, HAPPO_API_SECRET, HAPPO_PROJECT are not set, skipping happo configuration in Cypress.e2e.config.js'
21
+ )
22
+ }
12
23
 
13
24
  // split spec files in CI
14
25
  parallelization(config)