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 \