From 77680ecf266a860bfb896a48f2e1beb05d774bb2 Mon Sep 17 00:00:00 2001 From: Antonis Lilis Date: Tue, 19 Nov 2024 14:27:51 +0200 Subject: [PATCH] Skip maestro if SENTRY_AUTH_TOKEN is unavailable or empty (#4288) --- dev-packages/e2e-tests/cli.mjs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dev-packages/e2e-tests/cli.mjs b/dev-packages/e2e-tests/cli.mjs index 68c658c4d..cb910ef93 100755 --- a/dev-packages/e2e-tests/cli.mjs +++ b/dev-packages/e2e-tests/cli.mjs @@ -231,8 +231,8 @@ if (actions.includes('test')) { execFileSync('adb', ['install', '-r', '-d', testApp]); } - if (sentryAuthToken === undefined) { - console.log('Skipping maestro test due to unavailable SENTRY_AUTH_TOKEN'); + if (!sentryAuthToken) { + console.log('Skipping maestro test due to unavailable or empty SENTRY_AUTH_TOKEN'); } else { execSync( `maestro test maestro \