diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 6880167c4df4093d2f65da6badd1a4bd7b89767b..99cc5a46507adb3a11e85314771c8f59dd1a5f28 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: