From 970c124260d92e771060e3414948cd83cac96359 Mon Sep 17 00:00:00 2001 From: OlegIvaniv Date: Fri, 24 Mar 2023 16:12:26 +0100 Subject: [PATCH] test(editor): Update Cypress and configure `numTestsKeptInMemory` and `experimentalMemoryManagement` (no-changelog) (#5778) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit test(editor): Update Cypress and configure `numTestsKeptInMemory` and `experimentalMemoryManagement` Co-authored-by: कारतोफ्फेलस्क्रिप्ट™ --- cypress.config.js | 2 ++ package.json | 2 +- pnpm-lock.yaml | 14 +++++++------- 3 files changed, 10 insertions(+), 8 deletions(-) diff --git a/cypress.config.js b/cypress.config.js index c38bcbc111..d1451fcd06 100644 --- a/cypress.config.js +++ b/cypress.config.js @@ -11,6 +11,8 @@ module.exports = defineConfig({ }, defaultCommandTimeout: 10000, requestTimeout: 12000, + numTestsKeptInMemory: 0, + experimentalMemoryManagement: true, e2e: { baseUrl: BASE_URL, video: true, diff --git a/package.json b/package.json index da6595f515..2e212a569a 100644 --- a/package.json +++ b/package.json @@ -42,7 +42,7 @@ "@types/jest": "^29.5.0", "@types/supertest": "^2.0.12", "cross-env": "^7.0.3", - "cypress": "^12.7.0", + "cypress": "^12.8.1", "cypress-real-events": "^1.7.6", "jest": "^29.5.0", "jest-environment-jsdom": "^29.5.0", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index affaa1999f..8a61bab863 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -36,7 +36,7 @@ importers: '@types/jest': ^29.5.0 '@types/supertest': ^2.0.12 cross-env: ^7.0.3 - cypress: ^12.7.0 + cypress: ^12.8.1 cypress-real-events: ^1.7.6 jest: ^29.5.0 jest-environment-jsdom: ^29.5.0 @@ -62,8 +62,8 @@ importers: '@types/jest': 29.5.0 '@types/supertest': 2.0.12 cross-env: 7.0.3 - cypress: 12.7.0 - cypress-real-events: 1.7.6_cypress@12.7.0 + cypress: 12.8.1 + cypress-real-events: 1.7.6_cypress@12.8.1 jest: 29.5.0 jest-environment-jsdom: 29.5.0 jest-mock: 29.5.0 @@ -9556,16 +9556,16 @@ packages: nub: 0.0.0 dev: false - /cypress-real-events/1.7.6_cypress@12.7.0: + /cypress-real-events/1.7.6_cypress@12.8.1: resolution: {integrity: sha512-yP6GnRrbm6HK5q4DH6Nnupz37nOfZu/xn1xFYqsE2o4G73giPWQOdu6375QYpwfU1cvHNCgyD2bQ2hPH9D7NMw==} peerDependencies: cypress: ^4.x || ^5.x || ^6.x || ^7.x || ^8.x || ^9.x || ^10.x || ^11.x || ^12.x dependencies: - cypress: 12.7.0 + cypress: 12.8.1 dev: true - /cypress/12.7.0: - resolution: {integrity: sha512-7rq+nmhzz0u6yabCFyPtADU2OOrYt6pvUau9qV7xyifJ/hnsaw/vkr0tnLlcuuQKUAOC1v1M1e4Z0zG7S0IAvA==} + /cypress/12.8.1: + resolution: {integrity: sha512-lIFbKdaSYAOarNLHNFa2aPZu6YSF+8UY4VRXMxJrFUnk6RvfG0AWsZ7/qle/aIz30TNUD4aOihz2ZgS4vuQVSA==} engines: {node: ^14.0.0 || ^16.0.0 || >=18.0.0} hasBin: true dependencies: