Skip to content

Commit 3bd63cc

Browse files
committed
(#17) Add call to minimize before calling focus to fix window focus, following electron/electron#2867 (comment)
1 parent f108dd6 commit 3bd63cc

File tree

1 file changed

+1
-0
lines changed
  • test/window-integration-tests

1 file changed

+1
-0
lines changed

test/window-integration-tests/test.js

+1
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ beforeAll(async () => {
1919

2020
beforeEach(async () => {
2121
if (app && app.isRunning()) {
22+
await app.browserWindow.minimize();
2223
await app.browserWindow.focus();
2324
}
2425
});

0 commit comments

Comments
 (0)