From 59cdc9cb89ac89ff92005e9378e5b08277e99a02 Mon Sep 17 00:00:00 2001 From: Eduard Frankford <e.frankford@student.uibk.ac.at> Date: Sun, 29 May 2022 18:52:55 +0200 Subject: [PATCH] testing --- .gitlab-ci.yml | 3 +++ src/test/javascript/protractor.conf.js | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 1458c5176..10b77143b 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -111,6 +111,9 @@ e2e-test: # dependencies: # - frontend-test script: + - apt-get update + - apt-get install -y default-jre + - apt-get install chromium -y - npm run e2e # sonar-analyze: # stage: analyze diff --git a/src/test/javascript/protractor.conf.js b/src/test/javascript/protractor.conf.js index fa56a9241..b34b4e3ee 100644 --- a/src/test/javascript/protractor.conf.js +++ b/src/test/javascript/protractor.conf.js @@ -12,7 +12,7 @@ exports.config = { browserName: 'chrome', chromeOptions: { args: process.env.JHI_E2E_HEADLESS - ? ['--headless', '--disable-gpu', '--window-size=1920,1080', '--start-maximized'] + ? ['--headless', '--disable-gpu', '--window-size=1920,1080', '--start-maximized', '--no-sandbox'] : ['--disable-gpu', '--window-size=800,600'], }, }, -- GitLab