diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index efe21cade552144e47abce353a690e3c41969c6c..b0c94eff69f0efd5f3d70e6ea67453af19b0631a 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -6,6 +6,13 @@ test-frontend: image: node:latest stage: test script: + - apt-get update -yqqq + - apt-get install -yqq xvfb + - apt-get install iceweasel -yqq + - apt-get install dbus-x11 -yqq + - Xvfb :99 -screen 0 1280x720x24 -ac & + - export DISPLAY=:99 + - export $(dbus-launch) - npm install - npm install -g testcafe - testcafe --list-browsers