Browse Source

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 <[email protected]>
trop[bot] 2 months ago
parent
commit
eb456ec5cd
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'));