File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -262,8 +262,12 @@ def test_run_cypress(auth_session):
262262 test_spec_arg = f" --spec '{ specs_str } ' "
263263
264264 print ("Running Cypress tests with command" )
265- node_options = "--max-old-space-size=5000"
266- command = f'NO_COLOR=1 NODE_OPTIONS="{ node_options } " npx cypress run { record_arg } { test_spec_arg } { tag_arg } --config numTestsKeptInMemory=0'
265+ #node_options = "--max-old-space-size=5000"
266+ #command = f'NO_COLOR=1 NODE_OPTIONS="{node_options}" npx cypress run {record_arg} {test_spec_arg} {tag_arg} --config numTestsKeptInMemory=0'
267+
268+ node_options = "--max-old-space-size=4000"
269+ electron_args = "ELECTRON_EXTRA_LAUNCH_ARGS=\" --js-flags='--max-old-space-size=9596' --disable-dev-shm-usage --disable-gpu\" "
270+ command = f'{ electron_args } NO_COLOR=1 NODE_OPTIONS="{ node_options } " npx cypress run { record_arg } { test_spec_arg } { tag_arg } '
267271 print (command )
268272 # Add --headed --spec '**/mutations/mutations.js' (change spec name)
269273 # in case you want to see the browser for debugging
You can’t perform that action at this time.
0 commit comments