From f6c4f110650826e3dc2a0e977ea9409b2d15edc1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Herv=C3=A9=20Dombya?= <135591453+hervedombya@users.noreply.github.com> Date: Mon, 6 Jan 2025 14:27:48 +0100 Subject: [PATCH] Enable experimental memory management and update Cypress integration test command to use Chrome browser --- ui/cypress.config.ts | 1 + ui/package.json | 3 +-- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ui/cypress.config.ts b/ui/cypress.config.ts index 112d429372..9373a5fe60 100644 --- a/ui/cypress.config.ts +++ b/ui/cypress.config.ts @@ -21,6 +21,7 @@ export default defineConfig({ viewportHeight: 900, defaultCommandTimeout: 30000, experimentalFetchPolyfill: true, + experimentalMemoryManagement: true, e2e: { // We've imported your old cypress plugins here. // You may want to clean this up later by importing these. diff --git a/ui/package.json b/ui/package.json index 18ce6cb966..ec73385c70 100644 --- a/ui/package.json +++ b/ui/package.json @@ -42,8 +42,7 @@ "test:watch": "jest --watch", "test:coverage": "jest --coverage --ci", "test:nowatch": "CI=true jest --env=jsdom --reporters=default --reporters=jest-junit", - "test:integration": "cypress run 'cypress/integration/**/*.cy.js'", - "test:e2e": "cypress run --spec 'cypress/integration/e2e/**/*.feature'", + "test:integration": "cypress run --browser chrome 'cypress/integration/**/*.cy.js'", "jest-preview": "jest-preview", "rsstart": "rspack serve -c rspack.config.ts", "rsbuild": "rspack build -c rspack.config.ts"