We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4ca0334 commit 24e9014Copy full SHA for 24e9014
ui-tests/cypress.config.sample.js
@@ -8,6 +8,7 @@ module.exports = defineConfig({
8
viewportWidth: 2000,
9
viewportHeight: 1100,
10
numTestsKeptInMemory: 0,
11
+ experimentalMemoryManagement: true,
12
projectId: "000000",
13
chromeWebSecurity: true,
14
watchForFileChanges: true,
@@ -27,6 +28,15 @@ module.exports = defineConfig({
27
28
}
29
30
});
31
+ // before:browser:launch event for custom Chrome options
32
+ on("before:browser:launch", (browser = {}, launchOptions) => {
33
+ if (browser.family === "chromium") {
34
+ launchOptions.args.push('--js-flags="--max_old_space_size=1024 --max_semi_space_size=1024"');
35
+ }
36
+ return launchOptions;
37
+ });
38
},
39
40
41
+
42
0 commit comments