Fix integration tests (#1080)

* Fix integration tests

Signed-off-by: Lauri Nevala <lauri.nevala@gmail.com>

* Update integration/helpers/utils.ts

Co-authored-by: Sebastian Malton <sebastian@malton.name>
Signed-off-by: Lauri Nevala <lauri.nevala@gmail.com>

Co-authored-by: Sebastian Malton <sebastian@malton.name>
This commit is contained in:
Lauri NevalaandSebastian Malton authored and GitHub committed 2020-10-14 17:33:28 +03:00
1 parent 3c668c47bf
commit 00f8f030d5
3 files changed
+6 -6

No files matched your search

+1 -1
View File
@@ -87,7 +87,7 @@ app.on("activate", (event, hasVisibleWindows) => {
app.on("will-quit", (event) => {
logger.info('APP:QUIT');
event.preventDefault(); // prevent app's default shutdown (e.g. required for telemetry, etc.)
clusterManager?.stop(); // close cluster connections
if (userStore.preferences.trayEnabled) {
return; // with tray the app remains open
} else {
+1 -1
View File
@@ -71,7 +71,7 @@ export class WindowManager {
if (showSplash) await this.showSplash();
await this.mainWindow.loadURL(this.mainUrl);
this.mainWindow.show();
this.splashWindow?.hide();
this.splashWindow?.close();
} catch (err) {
dialog.showErrorBox("ERROR!", err.toString())
}