diff --git a/cypress/plugins/index.js b/cypress/plugins/index.js index b1c8fa6c..83005e78 100644 --- a/cypress/plugins/index.js +++ b/cypress/plugins/index.js @@ -176,12 +176,5 @@ module.exports = async (on, config) => { }, }); - on('before:browser:launch', (browser = {}, launchOptions) => { - if (browser.name === 'chrome') { - launchOptions.args.push('--disable-dev-shm-usage'); - return launchOptions; - } - }); - addMatchImageSnapshotPlugin(on, config); }; diff --git a/package.json b/package.json index f5c96c7a..0467514c 100644 --- a/package.json +++ b/package.json @@ -121,7 +121,7 @@ "copy-webpack-plugin": "^6.0.0", "cross-env": "^7.0.0", "css-loader": "^3.0.0", - "cypress": "^5.4.0", + "cypress": "^6.0.0", "cypress-file-upload": "^4.0.0", "cypress-image-snapshot": "^4.0.0", "cypress-jest-adapter": "^0.1.1", diff --git a/yarn.lock b/yarn.lock index 74618775..09ca72d1 100644 --- a/yarn.lock +++ b/yarn.lock @@ -6801,10 +6801,10 @@ cypress-plugin-tab@^1.0.0: dependencies: ally.js "^1.4.1" -cypress@^5.4.0: - version "5.6.0" - resolved "https://registry.yarnpkg.com/cypress/-/cypress-5.6.0.tgz#6781755c3ddfd644ce3179fcd7389176c0c82280" - integrity sha512-cs5vG3E2JLldAc16+5yQxaVRLLqMVya5RlrfPWkC72S5xrlHFdw7ovxPb61s4wYweROKTyH01WQc2PFzwwVvyQ== +cypress@^6.0.0: + version "6.0.0" + resolved "https://registry.yarnpkg.com/cypress/-/cypress-6.0.0.tgz#57050773c61e8fe1e5c9871cc034c616fcacded9" + integrity sha512-A/w9S15xGxX5UVeAQZacKBqaA0Uqlae9e5WMrehehAdFiLOZj08IgSVZOV8YqA9OH9Z0iBOnmsEkK3NNj43VrA== dependencies: "@cypress/listr-verbose-renderer" "^0.4.1" "@cypress/request" "^2.88.5"