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

This commit is contained in:
Charles Kerr 2025-02-19 00:00:01 +00:00 committed by GitHub
parent ee67bc7dcb
commit 670e0ca076
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -654,7 +654,7 @@ describe('chromium features', () => {
expect(size).to.be.a('number'); 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 }); const w = new BrowserWindow({ show: true });
await w.loadFile(path.join(fixturesPath, 'pages', 'modal.html')); await w.loadFile(path.join(fixturesPath, 'pages', 'modal.html'));