From f7d231c74bacb4c6f379ac1c45f0e29e1472895a Mon Sep 17 00:00:00 2001 From: Samuel Reichert Date: Tue, 21 Apr 2026 16:02:47 +0200 Subject: [PATCH] chore(run-e2e): tune Playwright launch args and bump mxruntime shm_size for stability --- automation/run-e2e/docker/docker-compose.yml | 1 + automation/run-e2e/playwright.config.cjs | 23 +++++++++++++++++++- 2 files changed, 23 insertions(+), 1 deletion(-) diff --git a/automation/run-e2e/docker/docker-compose.yml b/automation/run-e2e/docker/docker-compose.yml index e3fb6aa4fb..32336ca6d6 100644 --- a/automation/run-e2e/docker/docker-compose.yml +++ b/automation/run-e2e/docker/docker-compose.yml @@ -29,6 +29,7 @@ services: # Starts after mxbuild completes; "docker compose up --wait" blocks until healthy. mxruntime: image: mxruntime:${MENDIX_VERSION:?MENDIX_VERSION is required} + shm_size: "2gb" depends_on: mxbuild: condition: service_completed_successfully diff --git a/automation/run-e2e/playwright.config.cjs b/automation/run-e2e/playwright.config.cjs index cbafb7f825..0c80130f21 100644 --- a/automation/run-e2e/playwright.config.cjs +++ b/automation/run-e2e/playwright.config.cjs @@ -41,7 +41,28 @@ module.exports = defineConfig({ baseURL: process.env.URL ? process.env.URL : "http://127.0.0.1:8080", /* Collect trace when retrying the failed test. See https://playwright.dev/docs/trace-viewer */ - trace: "on-first-retry" + trace: "on-first-retry", + + launchOptions: { + args: [ + "--disable-dev-shm-usage", + "--disable-extensions", + "--disable-background-networking", + "--disable-background-timer-throttling", + "--disable-renderer-backgrounding", + "--disable-sync", + "--disable-translate", + "--disable-default-apps", + "--disable-hang-monitor", + "--metrics-recording-only", + "--no-first-run", + "--font-render-hinting=none" + ] + }, + + contextOptions: { + reducedMotion: "reduce" + } }, /* Configure projects for major browsers */