diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 1b55afe7b9c13d2de179a2ea3009618fa9456eb1..6f1ec99b89bc93a6c57e9ff3e11281d4f3b27a93 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -112,7 +112,7 @@ e2e-test:
   #   - frontend-test
   script:
     - apt-get update
-    - apt-get install default-jre
+    - apt-get install -y default-jre
     - apt-get -f install
     - npm run e2e
 # sonar-analyze: