diff --git a/spec/api-browser-window-spec.ts b/spec/api-browser-window-spec.ts index a44a248b918a..55737c44c286 100644 --- a/spec/api-browser-window-spec.ts +++ b/spec/api-browser-window-spec.ts @@ -5536,14 +5536,13 @@ describe('BrowserWindow module', () => { expect(w.isFullScreen()).to.be.false('isFullScreen'); }); - // FIXME: https://github.com/electron/electron/issues/30140 - xit('multiple windows inherit correct fullscreen state', async () => { + it('multiple windows inherit correct fullscreen state', async () => { const w = new BrowserWindow(); const enterFullScreen = once(w, 'enter-full-screen'); w.setFullScreen(true); await enterFullScreen; expect(w.isFullScreen()).to.be.true('isFullScreen'); - await setTimeout(); + await setTimeout(1000); const w2 = new BrowserWindow({ show: false }); const enterFullScreen2 = once(w2, 'enter-full-screen'); w2.show();