From 4841c5b969d7a5e3025e2ea854077f4bc6386ff6 Mon Sep 17 00:00:00 2001 From: YONGJAE LEE Date: Sun, 26 Jul 2026 00:55:26 +0900 Subject: [PATCH] [e2e] Drop the faked Windows user agent from the chromium project --- zeppelin-web-angular/playwright.config.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/zeppelin-web-angular/playwright.config.js b/zeppelin-web-angular/playwright.config.js index 6633e6cd55c..292dbc3cab1 100644 --- a/zeppelin-web-angular/playwright.config.js +++ b/zeppelin-web-angular/playwright.config.js @@ -42,6 +42,10 @@ module.exports = defineConfig({ name: 'chromium', use: { ...devices['Desktop Chrome'], + // Monaco reads the UA to pick its keybinding platform; the faked Windows string + // breaks Ctrl+P/N and Meta+A on macOS. https://playwright.dev/docs/emulation#devices + // webkit must keep its mac UA — the page objects' Meta+A branch relies on it. + userAgent: undefined, permissions: ['clipboard-read', 'clipboard-write'], storageState: 'playwright/.auth/user.json' },