From eb456ec5cdc898d7bb86ceae5bb6ae3ff0327587 Mon Sep 17 00:00:00 2001 From: "trop[bot]" <37223003+trop[bot]@users.noreply.github.com> Date: Wed, 19 Feb 2025 15:21:38 -0500 Subject: [PATCH] chore: disable 'should lock the keyboard' test on macOS (#45689) Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com> Co-authored-by: Charles Kerr --- spec/chromium-spec.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spec/chromium-spec.ts b/spec/chromium-spec.ts index a925e5b05529..ae1004554a9f 100644 --- a/spec/chromium-spec.ts +++ b/spec/chromium-spec.ts @@ -654,7 +654,7 @@ describe('chromium features', () => { expect(size).to.be.a('number'); }); - it('should lock the keyboard', async () => { + ifit(process.platform !== 'darwin')('should lock the keyboard', async () => { const w = new BrowserWindow({ show: true }); await w.loadFile(path.join(fixturesPath, 'pages', 'modal.html'));