mirror of
https://github.com/electron/electron.git
synced 2026-02-07 13:45:08 -05:00
Wait for the focus event because checking focus status. BrowserWindow.show gives focus to the window but there is a moment where the window is shown but does not have the focus yet. And the test was failing at this moment.