From 62d84d8f9de9c97fdd65fc70bd68ba7e0ba561e9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vegard=20Sporst=C3=B8l?= <vegarms@stud.ntnu.no> Date: Mon, 15 Mar 2021 13:33:31 +0100 Subject: [PATCH] update testcafe pipeline --- .gitlab-ci.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index efe21ca..b0c94ef 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 -- GitLab