Skip to content
Snippets Groups Projects
Commit 200834e0 authored by Vegard Murvold Sporstøl's avatar Vegard Murvold Sporstøl Committed by Irina Kera Gundersen
Browse files

working pipline

parent 70f24839
No related branches found
No related tags found
2 merge requests!11Testing,!10Testing
......@@ -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:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment