diff --git a/wdio.conf.ts b/wdio.conf.ts index 39ccb82..4f8d717 100644 --- a/wdio.conf.ts +++ b/wdio.conf.ts @@ -86,8 +86,12 @@ export const config: Options.Testrunner = { process.platform === "win32" ? "win-unpacked" : `${process.platform}-unpacked`, process.platform === "linux" ? "wordwyrm" : process.platform === "win32" ? "Wordwyrm.exe" : "Wordwyrm", ), - // custom application args - appArgs: [], + // https://peter.sh/experiments/chromium-command-line-switches/ + // no-sandbox: disable chrome's sandbox for testing + // headless: does not seem to affect electron tests? + // disable-dev-shm-usage: overcome low resource issues + // remote-debugging-pipe: disables DevToolsActivePort + appArgs: ["no-sandbox", "headless", "disable-dev-shm-usage", "remote-debugging-pipe", "disable-extensions"], }, "wdio:chromedriverOptions": { binary: path.join(