mirror of
https://github.com/electron/electron.git
synced 2026-01-09 15:38:08 -05:00
chore: disable 'should lock the keyboard' test on macOS (#45681)
This commit is contained in:
@@ -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'));
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user