update test step on ci

This commit is contained in:
Sam 2020-01-31 09:12:52 +01:00
parent 03b2fe4f65
commit 69bcda043d
2 changed files with 1 additions and 1 deletions

View File

@ -30,7 +30,6 @@ before_script:
- export DATABASE_TEST_URL=postgres://postgres:@localhost:5432/fittrackee_test - export DATABASE_TEST_URL=postgres://postgres:@localhost:5432/fittrackee_test
- export APP_SETTINGS=fittrackee_api.config.TestingConfig - export APP_SETTINGS=fittrackee_api.config.TestingConfig
- export REACT_APP_API_URL=http://127.0.0.1 - export REACT_APP_API_URL=http://127.0.0.1
- export REACT_APP_ALLOW_REGISTRATION=true
- export NODE_ENV=development - export NODE_ENV=development
- export TEST_URL=http://127.0.0.1 - export TEST_URL=http://127.0.0.1
- export DISPLAY=:99.0 - export DISPLAY=:99.0

View File

@ -13,6 +13,7 @@ inspect $? api
docker-compose -f docker-compose-ci.yml run fittrackee-api flask db upgrade docker-compose -f docker-compose-ci.yml run fittrackee-api flask db upgrade
docker-compose -f docker-compose-ci.yml run fittrackee-api flask initdata docker-compose -f docker-compose-ci.yml run fittrackee-api flask initdata
docker-compose -f docker-compose-ci.yml restart fittrackee-api
testcafe chrome fittrackee_client/e2e -e testcafe chrome fittrackee_client/e2e -e
inspect $? e2e inspect $? e2e