From 5553caf2bb4586f6574a06e9f11122d40c0e9d7f Mon Sep 17 00:00:00 2001 From: Thibaut Sardan <33178835+Tbaut@users.noreply.github.com> Date: Mon, 2 Aug 2021 16:10:21 +0200 Subject: [PATCH] Upgarde to cypress v8.1 (#1386) * upgarde to v8.1 * no pipe in storage * lingui extract Co-authored-by: GitHub Actions --- packages/files-ui/package.json | 6 ++-- packages/storage-ui/package.json | 6 ++-- yarn.lock | 52 ++++++++++++++++++++++++++++++++ 3 files changed, 58 insertions(+), 6 deletions(-) diff --git a/packages/files-ui/package.json b/packages/files-ui/package.json index 456e2dacc0..9a03b8f223 100644 --- a/packages/files-ui/package.json +++ b/packages/files-ui/package.json @@ -65,8 +65,8 @@ "@types/yup": "^0.29.9", "@types/zxcvbn": "^4.4.0", "babel-plugin-macros": "^2.8.0", - "cypress": "^7.6.0", - "cypress-file-upload": "^5.0.7", + "cypress": "^8.1.0", + "cypress-file-upload": "^5.0.8", "cypress-pipe": "^2.0.0" }, "scripts": { @@ -76,7 +76,7 @@ "sentry": "(export REACT_APP_SENTRY_RELEASE=$(sentry-cli releases propose-version); node scripts/sentry.js)", "release": "(export REACT_APP_SENTRY_RELEASE=$(sentry-cli releases propose-version); yarn compile && yarn build && node scripts/sentry.js)", "test": "yarn test:clean && cypress open", - "test:ci": "yarn test:clean && cypress run --browser chrome", + "test:ci": "yarn test:clean && cypress run", "test:clean": "rimraf cypress/fixtures/storage", "analyze": "source-map-explorer 'build/static/js/*.js'", "extract": "lingui extract", diff --git a/packages/storage-ui/package.json b/packages/storage-ui/package.json index be32212e0d..a35d981d24 100644 --- a/packages/storage-ui/package.json +++ b/packages/storage-ui/package.json @@ -64,8 +64,8 @@ "@types/yup": "^0.29.9", "@types/zxcvbn": "^4.4.0", "babel-plugin-macros": "^2.8.0", - "cypress": "^7.6.0", - "cypress-file-upload": "^5.0.7" + "cypress": "^8.1.0", + "cypress-file-upload": "^5.0.8" }, "scripts": { "postinstall": "yarn compile", @@ -74,7 +74,7 @@ "sentry": "(export REACT_APP_SENTRY_RELEASE=$(sentry-cli releases propose-version); node scripts/sentry.js)", "release": "(export REACT_APP_SENTRY_RELEASE=$(sentry-cli releases propose-version); yarn compile && yarn build && node scripts/sentry.js)", "test": "yarn test:clean && cypress open", - "test:ci": "yarn test:clean && cypress run --browser chrome", + "test:ci": "yarn test:clean && cypress run", "test:clean": "rimraf cypress/fixtures/storage", "analyze": "source-map-explorer 'build/static/js/*.js'", "extract": "lingui extract", diff --git a/yarn.lock b/yarn.lock index 59e2cd48b5..1f26e97730 100644 --- a/yarn.lock +++ b/yarn.lock @@ -10118,6 +10118,11 @@ cypress-file-upload@^5.0.7: resolved "https://registry.yarnpkg.com/cypress-file-upload/-/cypress-file-upload-5.0.7.tgz#acf24fe08a92b2d0c892a58b56811fb933d34ea9" integrity sha512-cgWsWx7igxjyyVm9/VJ9ukdy69jL00I7z0lrwUWtXXLPvX4neO+8JAZ054Ax8Xf+mdV9OerenXzb9nqRoafjHA== +cypress-file-upload@^5.0.8: + version "5.0.8" + resolved "https://registry.yarnpkg.com/cypress-file-upload/-/cypress-file-upload-5.0.8.tgz#d8824cbeaab798e44be8009769f9a6c9daa1b4a1" + integrity sha512-+8VzNabRk3zG6x8f8BWArF/xA/W0VK4IZNx3MV0jFWrJS/qKn8eHfa5nU73P9fOQAgwHFJx7zjg4lwOnljMO8g== + cypress-pipe@^2.0.0: version "2.0.0" resolved "https://registry.yarnpkg.com/cypress-pipe/-/cypress-pipe-2.0.0.tgz#577df7a70a8603d89a96dfe4092a605962181af8" @@ -10170,6 +10175,53 @@ cypress@^7.6.0: url "^0.11.0" yauzl "^2.10.0" +cypress@^8.1.0: + version "8.1.0" + resolved "https://registry.yarnpkg.com/cypress/-/cypress-8.1.0.tgz#9aaed7fb2a4d1876528b72d437f97bc824db0735" + integrity sha512-GXjlqPjY/6HPbQwAp3AvlA1Mk/NoJTAmqVSUhQsuM/1xDpd/FQHkxVuq5h6O6RrAoCXSgpZPXFsVtdqE+FwEJw== + dependencies: + "@cypress/request" "^2.88.5" + "@cypress/xvfb" "^1.2.4" + "@types/node" "^14.14.31" + "@types/sinonjs__fake-timers" "^6.0.2" + "@types/sizzle" "^2.3.2" + arch "^2.2.0" + blob-util "^2.0.2" + bluebird "^3.7.2" + cachedir "^2.3.0" + chalk "^4.1.0" + check-more-types "^2.24.0" + cli-cursor "^3.1.0" + cli-table3 "~0.6.0" + commander "^5.1.0" + common-tags "^1.8.0" + dayjs "^1.10.4" + debug "^4.3.2" + enquirer "^2.3.6" + eventemitter2 "^6.4.3" + execa "4.1.0" + executable "^4.1.1" + extract-zip "2.0.1" + figures "^3.2.0" + fs-extra "^9.1.0" + getos "^3.2.1" + is-ci "^3.0.0" + is-installed-globally "~0.4.0" + lazy-ass "^1.6.0" + listr2 "^3.8.3" + lodash "^4.17.21" + log-symbols "^4.0.0" + minimist "^1.2.5" + ospath "^1.2.2" + pretty-bytes "^5.6.0" + ramda "~0.27.1" + request-progress "^3.0.0" + supports-color "^8.1.1" + tmp "~0.2.1" + untildify "^4.0.0" + url "^0.11.0" + yauzl "^2.10.0" + d@1, d@^1.0.1: version "1.0.1" resolved "https://registry.yarnpkg.com/d/-/d-1.0.1.tgz#8698095372d58dbee346ffd0c7093f99f8f9eb5a"