Skip to content

Commit 4e0705d

Browse files
chore(e2e): drop tray helper tweak outside PR3853 scope.
Co-authored-by: Cursor <cursoragent@cursor.com>
1 parent ed03837 commit 4e0705d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

e2e/helpers/tray.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ export async function showMainWindowIfHidden(app: ElectronApplication): Promise<
6060
const refs = (global as any).__e2eTestRefs;
6161
const mainWindow = refs?.MainWindow?.get?.();
6262
if (mainWindow && !mainWindow.isDestroyed() && !mainWindow.isVisible()) {
63-
mainWindow.show();
63+
refs?.MainWindow?.show?.();
6464
}
6565
}).catch(() => {});
6666
}

0 commit comments

Comments
 (0)