From 200834e08d2303a42f99b99d8e1904b5e176488c 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:57:33 +0100 Subject: [PATCH] working pipline --- .gitlab-ci.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 6880167..99cc5a4 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -6,6 +6,7 @@ test-frontend: image: node:latest stage: test script: + # Configure browser - apt-get update -yqqq - apt-get install -yqq xvfb - apt-get install iceweasel -yqq @@ -13,9 +14,13 @@ test-frontend: - Xvfb :99 -screen 0 1280x720x24 -ac & - export DISPLAY=:99 - export $(dbus-launch) + + # Install dependencies - npm install - npm install -g testcafe - testcafe --list-browsers + + # Run tests - testcafe firefox frontend-test.js --skip-js-errors test-backend: -- GitLab