From d4e73370417b3300392d55cded9eabe49615c210 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Deli-Szab=C3=B3=20S=C3=A1ndor?= Date: Fri, 12 Jul 2024 21:01:34 +0200 Subject: [PATCH] EMA-150 auto test memory optimizing --- dev/testv2/cypress.config.js | 2 +- dev/testv2/package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/dev/testv2/cypress.config.js b/dev/testv2/cypress.config.js index eecbf05..1d6f87c 100644 --- a/dev/testv2/cypress.config.js +++ b/dev/testv2/cypress.config.js @@ -22,8 +22,8 @@ module.exports = defineConfig({ launchOptions.args.push("--disable-gl-drawing-for-tests"); launchOptions.args.push("--disable-gpu"); } - launchOptions.args.push("--js-flags=--max-old-space-size=3500"); } + launchOptions.args.push("--js-flags=--max-old-space-size=3500"); return launchOptions; }); diff --git a/dev/testv2/package.json b/dev/testv2/package.json index 5a561aa..c896cee 100644 --- a/dev/testv2/package.json +++ b/dev/testv2/package.json @@ -5,7 +5,7 @@ "scripts": { "postinstall": "if [ -d \"./../../.git\" ]; then npm run copy-git-hooks; fi", "test": "npm run mocha && npm run code-style", - "e2e": "cypress run --browser chrome --headless", + "e2e": "cypress run --browser electron --headless", "e2e:ci": "cypress run --browser electron --headless --record --key 80ddf60c-0dca-4075-8074-31207092e038", "e2e:debug": "DEBUG=cypress:* cypress run --browser electron --headless", "quick-test": "npm run mocha",