From c14a09dbd3ead0d169fd3ab0836ee6b0904e9eea Mon Sep 17 00:00:00 2001 From: Ramon Wenger Date: Wed, 10 Feb 2021 12:56:41 +0100 Subject: [PATCH] Call beta login before starting cypress tests --- bitbucket-pipelines.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/bitbucket-pipelines.yml b/bitbucket-pipelines.yml index fe16f031..f3695fec 100644 --- a/bitbucket-pipelines.yml +++ b/bitbucket-pipelines.yml @@ -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