Skip to content

Commit

Permalink
(#17) Add call to minimize before calling focus to fix window focus, …
Browse files Browse the repository at this point in the history
  • Loading branch information
s1hofmann committed Aug 6, 2020
1 parent f108dd6 commit 3bd63cc
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions test/window-integration-tests/test.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ beforeAll(async () => {

beforeEach(async () => {
if (app && app.isRunning()) {
await app.browserWindow.minimize();
await app.browserWindow.focus();
}
});
Expand Down

0 comments on commit 3bd63cc

Please sign in to comment.