Call beta login before starting cypress tests
This commit is contained in:
parent
1f0be12486
commit
c14a09dbd3
|
|
@ -58,9 +58,10 @@ aliases:
|
||||||
- npm run "install:cypress" --prefix client
|
- npm run "install:cypress" --prefix client
|
||||||
- psql -U $DATABASE_USER -h $DATABASE_HOST -c "create database $DATABASE_NAME"
|
- psql -U $DATABASE_USER -h $DATABASE_HOST -c "create database $DATABASE_NAME"
|
||||||
- python server/manage.py dummy_data
|
- python server/manage.py dummy_data
|
||||||
- python server/manage.py runserver &
|
- python server/manage.py runserver > /dev/null 2>&1 &
|
||||||
- npm run dev --prefix client &
|
- npm run dev --prefix client > /dev/null 2>&1 &
|
||||||
- cd client
|
- cd client
|
||||||
|
- curl http://localhost:8000/beta-login
|
||||||
- npm run test:cypress
|
- npm run test:cypress
|
||||||
- &jest-test
|
- &jest-test
|
||||||
name: run jest tests
|
name: run jest tests
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue