Skip to content

Commit 1394e9d

Browse files
committed
(#17) Added call to restore() to fix issues on macOS
1 parent cf18af3 commit 1394e9d

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ beforeAll(async () => {
2020
beforeEach(async () => {
2121
if (app && app.isRunning()) {
2222
await app.browserWindow.minimize();
23+
await app.browserWindow.restore();
2324
await app.browserWindow.focus();
2425
await app.client.waitUntil(async () => {
2526
return await app.browserWindow.isFocused();

0 commit comments

Comments
 (0)