Browse Source

chore: disable 'should lock the keyboard' test on macOS (#45681)

Charles Kerr 2 months ago
parent
commit
670e0ca076
1 changed files with 1 additions and 1 deletions
  1. 1 1
      spec/chromium-spec.ts

+ 1 - 1
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'));