From 30d475918c07bcae0fb00c721e1fca91e18b48bc Mon Sep 17 00:00:00 2001 From: Azvya Erstevan I Date: Fri, 19 Apr 2024 21:31:23 +0700 Subject: [PATCH] Allow HiDPI Screen running wayland to use cypress window/browser --- cli/lib/exec/spawn.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cli/lib/exec/spawn.js b/cli/lib/exec/spawn.js index e132b964e0a3..63c7312677b3 100644 --- a/cli/lib/exec/spawn.js +++ b/cli/lib/exec/spawn.js @@ -155,7 +155,7 @@ module.exports = { const { onStderrData } = overrides const envOverrides = util.getEnvOverrides(options) - const electronArgs = [] + const electronArgs = ['--ozone-platform=auto'] const node11WindowsFix = isPlatform('win32') let startScriptPath