From 83d75823730f03dae54a6b1b547ddfd8a1ab242c Mon Sep 17 00:00:00 2001 From: Tiago Teixeira Date: Mon, 24 Jun 2024 11:06:40 +0100 Subject: [PATCH] chore: fix visual testing workflow (#1023) # What ## Code Quality Checklist - [ ] Lint and unit tests pass locally with my changes - [ ] I have added tests that prove my fix is effective or that my feature works (if appropriate) - [ ] I have added necessary documentation (if appropriate) - [ ] I have updated storybook (if appropriate) - [ ] I have ran `yarn set-peer-dep` when adding an icon as a dependency of another component (if appropriate) [read more](https://carlsberggbs.atlassian.net/wiki/spaces/DSM/pages/4697162121/Components+as+peer+dependency) ## Jira Card Not Applicable --- package.json | 4 ++-- yarn.lock | 31 +++++++++++++------------------ 2 files changed, 15 insertions(+), 20 deletions(-) diff --git a/package.json b/package.json index af11517c2..5e0ea6d01 100644 --- a/package.json +++ b/package.json @@ -96,8 +96,8 @@ "@typescript-eslint/parser": "^5.53.0", "babel-jest": "^29.4.1", "babel-loader": "^9.1.2", - "cypress": "13.6.4", - "cypress-visual-regression": "^5.0.0", + "cypress": "13.12.0", + "cypress-visual-regression": "^5.0.2", "dotenv": "^16.4.4", "eslint": "^8.35.0", "eslint-config-airbnb": "^19.0.4", diff --git a/yarn.lock b/yarn.lock index f707b5148..946ffca23 100644 --- a/yarn.lock +++ b/yarn.lock @@ -5177,7 +5177,7 @@ buffer-from@^1.0.0: resolved "https://registry.yarnpkg.com/buffer-from/-/buffer-from-1.1.2.tgz#2b146a6fd72e80b4f55d255f35ed59a3a9a41bd5" integrity sha512-E+XQCRwSbaaiChtv6k6Dwgc+bx+Bs6vuKJHHl5kox/BaKbhiXzqQOwK4cO22yElGp2OCmjwVhT3HmxgyPGnJfQ== -buffer@^5.5.0, buffer@^5.6.0: +buffer@^5.5.0, buffer@^5.7.1: version "5.7.1" resolved "https://registry.yarnpkg.com/buffer/-/buffer-5.7.1.tgz#ba62e7c13133053582197160851a8f648e99eed0" integrity sha512-EHcyIPBQ4BSGlvjB16k5KgAJ27CIsHY/2JBmCRReo48y9rQ3MaUzWX3KVlBa4U7MyX02HdVj0K7C3WaB3ju7FQ== @@ -5349,11 +5349,6 @@ chalk@^4.0.0, chalk@^4.0.2, chalk@^4.1.0, chalk@^4.1.1, chalk@^4.1.2: ansi-styles "^4.1.0" supports-color "^7.1.0" -chalk@^5.3.0: - version "5.3.0" - resolved "https://registry.yarnpkg.com/chalk/-/chalk-5.3.0.tgz#67c20a7ebef70e7f3970a01f90fa210cb6860385" - integrity sha512-dLitG79d+GV1Nb/VYcCDFivJeK1hiukt9QjRNVOsUtTy1rR1YJsmpGGTZ3qJos+uw7WmWF4wUwBd9jxjocFC2w== - char-regex@^1.0.2: version "1.0.2" resolved "https://registry.yarnpkg.com/char-regex/-/char-regex-1.0.2.tgz#d744358226217f981ed58f479b1d6bcc29545dcf" @@ -5949,20 +5944,20 @@ csstype@^3.0.2: resolved "https://registry.yarnpkg.com/csstype/-/csstype-3.1.3.tgz#d80ff294d114fb0e6ac500fbf85b60137d7eff81" integrity sha512-M1uQkMl8rQK/szD0LNhtqxIPLpimGm8sOBwU7lLnCpSbTyY3yeU1Vc7l4KT5zT4s/yOxHH5O7tIuuLOCnLADRw== -cypress-visual-regression@^5.0.0: - version "5.0.1" - resolved "https://registry.yarnpkg.com/cypress-visual-regression/-/cypress-visual-regression-5.0.1.tgz#dd731a114ba7574a50df711a9c7677539062d34d" - integrity sha512-XWBmWdjouARkyrfhYy8NYpoix0ZHzIJQn+tZfwZVPmf8thl0kRzbbjCnHomLMDVm47xsAdMb9kML69uOvabLoQ== +cypress-visual-regression@^5.0.2: + version "5.0.2" + resolved "https://registry.yarnpkg.com/cypress-visual-regression/-/cypress-visual-regression-5.0.2.tgz#1681543e0859525cc09baba9de6a367c6c0dbfa5" + integrity sha512-Rr/W2uSw1KxG5AE9q6MT8yZfT81GaLVO0z/QyKg9pCZ7XvObUklyh9j5gWe7yUzDnY/2g9XpczZKNKL2zZ2PAg== dependencies: - chalk "^5.3.0" + chalk "^4.1.2" pixelmatch "^5.2.1" pngjs "^6.0.0" sanitize-filename "^1.6.3" -cypress@13.6.4: - version "13.6.4" - resolved "https://registry.yarnpkg.com/cypress/-/cypress-13.6.4.tgz#42c88d3ee0342f1681abfacabf9c1f082676bc53" - integrity sha512-pYJjCfDYB+hoOoZuhysbbYhEmNW7DEDsqn+ToCLwuVowxUXppIWRr7qk4TVRIU471ksfzyZcH+mkoF0CQUKnpw== +cypress@13.12.0: + version "13.12.0" + resolved "https://registry.yarnpkg.com/cypress/-/cypress-13.12.0.tgz#1a4ea89b7fa6855e32bc02eaf5e25fc45b9e273f" + integrity sha512-udzS2JilmI9ApO/UuqurEwOvThclin5ntz7K0BtnHBs+tg2Bl9QShLISXpSEMDv/u8b6mqdoAdyKeZiSqKWL8g== dependencies: "@cypress/request" "^3.0.0" "@cypress/xvfb" "^1.2.4" @@ -5971,7 +5966,7 @@ cypress@13.6.4: arch "^2.2.0" blob-util "^2.0.2" bluebird "^3.7.2" - buffer "^5.6.0" + buffer "^5.7.1" cachedir "^2.3.0" chalk "^4.1.0" check-more-types "^2.24.0" @@ -5989,7 +5984,7 @@ cypress@13.6.4: figures "^3.2.0" fs-extra "^9.1.0" getos "^3.2.1" - is-ci "^3.0.0" + is-ci "^3.0.1" is-installed-globally "~0.4.0" lazy-ass "^1.6.0" listr2 "^3.8.3" @@ -8469,7 +8464,7 @@ is-callable@^1.1.3, is-callable@^1.1.4, is-callable@^1.2.7: resolved "https://registry.yarnpkg.com/is-callable/-/is-callable-1.2.7.tgz#3bc2a85ea742d9e36205dcacdd72ca1fdc51b055" integrity sha512-1BC0BVFhS/p0qtw6enp8e+8OD0UrK0oFLztSjNzhcKA3WDuJxxAPXzPuPtKkjEY9UUoEWlX/8fgKeu2S8i9JTA== -is-ci@3.0.1, is-ci@^3.0.0: +is-ci@3.0.1, is-ci@^3.0.1: version "3.0.1" resolved "https://registry.yarnpkg.com/is-ci/-/is-ci-3.0.1.tgz#db6ecbed1bd659c43dac0f45661e7674103d1867" integrity sha512-ZYvCgrefwqoQ6yTyYUbQu64HsITZ3NfKX1lzaEYdkTDcfKzzCI/wthRRYKkdjHKFVgNiXKAKm65Zo1pk2as/QQ==