diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 59b8459c60b6fb361bb7a94ce3fe20c5be68156a..0ff6e7afa53ab22d4c3bd4c98423d00e006427d5 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -1,7 +1,7 @@
 image: jhipster/jhipster:latest
 
 cache:
-  key: '$CI_COMMIT_REF_NAME'
+  key: '$CI_COMMIT_REF_SLUG'
   paths:
     - .maven/
     - .npm/
@@ -114,6 +114,7 @@ e2e-test:
     # - snap install chromium --beta
     # - apt-get update
     - npm install protractor
+    - webdriver-manager update
     - npm run e2e
 # sonar-analyze:
 #   stage: analyze