Commit e8a18754 authored by Vegard Murvold Sporstøl's avatar Vegard Murvold Sporstøl Committed by Irina Kera Gundersen
Browse files

update testcafe pipeline

parent d7c87a89
stages:
- test
- staging
before_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)
test-frontend:
image: python:3.8
stage: test
script:
- apt-get update -qy
- pip install -r requirements.txt
- testcafe chrome frontend-test.js
test-frontend:
image: node:7.7.4
stage: test
script:
- npm install
- npm install -g testcafe
- testcafe --list-browsers
- testcafe firefox frontend-test.js
test-backend:
image: python:3.8
stage: test
script:
# this configures Django application to use attached postgres database that is run on `postgres` host
- cd backend/secfit
- apt-get update -qy
- pip install -r requirements.txt
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment