Call beta login before starting cypress tests

This commit is contained in:
Ramon Wenger 2021-02-10 12:56:41 +01:00
parent 1f0be12486
commit c14a09dbd3
1 changed files with 3 additions and 2 deletions

View File

@ -58,9 +58,10 @@ aliases:
- npm run "install:cypress" --prefix client
- psql -U $DATABASE_USER -h $DATABASE_HOST -c "create database $DATABASE_NAME"
- python server/manage.py dummy_data
- python server/manage.py runserver &
- npm run dev --prefix client &
- python server/manage.py runserver > /dev/null 2>&1 &
- npm run dev --prefix client > /dev/null 2>&1 &
- cd client
- curl http://localhost:8000/beta-login
- npm run test:cypress
- &jest-test
name: run jest tests