summaryrefslogtreecommitdiffhomepage
path: root/gui/src
diff options
context:
space:
mode:
Diffstat (limited to 'gui/src')
-rw-r--r--gui/src/main/index.ts4
1 files changed, 3 insertions, 1 deletions
diff --git a/gui/src/main/index.ts b/gui/src/main/index.ts
index 06796a7be1..7503c24e01 100644
--- a/gui/src/main/index.ts
+++ b/gui/src/main/index.ts
@@ -422,7 +422,9 @@ class ApplicationMain
this.userInterface.showWindow();
}
- if (process.platform === 'linux') {
+ // For some reason playwright hangs on Linux if we call `window.setIcon`. Since the icon isn't
+ // needed for the tests this block has been disabled when running e2e tests.
+ if (process.platform === 'linux' && process.env.CI !== 'e2e') {
try {
const icon = await findIconPath('mullvad-vpn', ['png']);
if (icon) {