From 149dc1e1c0aae98342bcb036fe38595b827451b2 Mon Sep 17 00:00:00 2001 From: Deepak Garg Date: Mon, 27 Oct 2025 17:10:46 +0530 Subject: [PATCH 1/3] fix(smoke): fix cypress test --- smoke-test/tests/cypress/cypress.config.js | 1 + smoke-test/tests/cypress/integration_test.py | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/smoke-test/tests/cypress/cypress.config.js b/smoke-test/tests/cypress/cypress.config.js index 78ac6281723506..b2e0ac8d3b4bd5 100644 --- a/smoke-test/tests/cypress/cypress.config.js +++ b/smoke-test/tests/cypress/cypress.config.js @@ -12,6 +12,7 @@ module.exports = defineConfig({ openMode: 0, }, video: false, + 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/smoke-test/tests/cypress/integration_test.py b/smoke-test/tests/cypress/integration_test.py index b1cfd147fff660..a1115220c2d603 100644 --- a/smoke-test/tests/cypress/integration_test.py +++ b/smoke-test/tests/cypress/integration_test.py @@ -263,7 +263,7 @@ def test_run_cypress(auth_session): print("Running Cypress tests with command") node_options = "--max-old-space-size=6000" - command = f'NO_COLOR=1 NODE_OPTIONS="{node_options}" npx cypress run {record_arg} {test_spec_arg} {tag_arg} --config numTestsKeptInMemory=2' + command = f'NO_COLOR=1 NODE_OPTIONS="{node_options}" npx cypress run {record_arg} {test_spec_arg} {tag_arg} --config numTestsKeptInMemory=1' print(command) # Add --headed --spec '**/mutations/mutations.js' (change spec name) # in case you want to see the browser for debugging From ccb1caeadef8a3073663a3ff2c9b1a6e946e5556 Mon Sep 17 00:00:00 2001 From: Deepak Garg Date: Mon, 27 Oct 2025 17:38:31 +0530 Subject: [PATCH 2/3] fix(smoke): fix cypress test --- smoke-test/tests/cypress/cypress.config.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/smoke-test/tests/cypress/cypress.config.js b/smoke-test/tests/cypress/cypress.config.js index b2e0ac8d3b4bd5..05413702ebc877 100644 --- a/smoke-test/tests/cypress/cypress.config.js +++ b/smoke-test/tests/cypress/cypress.config.js @@ -12,7 +12,7 @@ module.exports = defineConfig({ openMode: 0, }, video: false, - experimentalMemoryManagement: true + experimentalMemoryManagement: true, e2e: { // We've imported your old cypress plugins here. // You may want to clean this up later by importing these. From 6a340fd0a70b80d0036d9268902d6e2c642d974f Mon Sep 17 00:00:00 2001 From: Deepak Garg Date: Wed, 29 Oct 2025 15:17:32 +0530 Subject: [PATCH 3/3] fix(smoke): fix cypress test --- smoke-test/tests/cypress/integration_test.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/smoke-test/tests/cypress/integration_test.py b/smoke-test/tests/cypress/integration_test.py index a1115220c2d603..5d3e511c5d8dc2 100644 --- a/smoke-test/tests/cypress/integration_test.py +++ b/smoke-test/tests/cypress/integration_test.py @@ -262,8 +262,8 @@ def test_run_cypress(auth_session): test_spec_arg = f" --spec '{specs_str}' " print("Running Cypress tests with command") - node_options = "--max-old-space-size=6000" - command = f'NO_COLOR=1 NODE_OPTIONS="{node_options}" npx cypress run {record_arg} {test_spec_arg} {tag_arg} --config numTestsKeptInMemory=1' + node_options = "--max-old-space-size=8000" + command = f'NO_COLOR=1 NODE_OPTIONS="{node_options}" npx cypress run {record_arg} {test_spec_arg} {tag_arg} --config numTestsKeptInMemory=0' print(command) # Add --headed --spec '**/mutations/mutations.js' (change spec name) # in case you want to see the browser for debugging