diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index dc71aac136ed3beb158aa5504d97f8f1982ecd1c..55f83cf64ed36e90652a871ef5560ae5bd3a86ae 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -112,11 +112,11 @@ e2e-test:
     - npm install
     - apt-get update
     - apt-get install -y default-jre
+    - wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | apt-key add -
+    - sh -c 'echo "deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main" >> /etc/apt/sources.list.d/google.list'
+    - apt-get install -y google-chrome-stable
     # - apt-get install -y google-chrome-stable libxss1
     # - node --version
-    - wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb
-    - curl -sS -o - https://dl.google.com/linux/linux_signing_key.pub | apt-key add -
-    - apt install -y ./google-chrome-stable_current_amd64.deb
     - export JHI_E2E_HEADLESS=true
     - npm run e2e --host=selenium__standalone-chrome
 # sonar-analyze: