diff --git a/.travis.yml b/.travis.yml
index 7fb7008f4d9aab3e92856d78a495f3ebd1153637..a66acf960ccdee4b86e797ced99844544c8c8faf 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -48,16 +48,15 @@ jobs:
     - stage: local e2e
       # type = api - should only be activated by API
       # when send API, ensure to set env TEST_SUITE=e2e-local to explicitly trigger this build
-      if: type = api
+      if: (type = api) AND (env(TEST_SUITE) IS present)
       name: e2e (local)
       install:
       - npm i
       - npm run wd -- update --versions.chrome=${CHROMIUM_VERSION}
       - npm i --no-save puppeteer@${PPTR_VERSION}
       script:
-      - ATLAS_URL=$TEST_SUITE
-      - echo Running test against $ATLAS_URL
-      - npm run e2e
+      - echo Running test against $TEST_SUITE
+      - ATLAS_URL=$TEST_SUITE npm run e2e
       env:
       - CHROMIUM_VERSION=80.0.3987.106
       - PPTR_VERSION=2.1.0