Wait for application start before using curl in e2e workflow

Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
This commit is contained in:
Tilman Vatteroth 2022-08-01 14:28:22 +02:00
parent 7ec9397bb2
commit 816dede9e2

View file

@ -113,7 +113,7 @@ jobs:
run: yarn start:ci &
- name: Wait for server
run: curl --max-time 120 http://127.0.0.1:3001/
run: "sleep 3 && curl --max-time 120 http://127.0.0.1:3001/"
- name: Run cypress
run: "yarn cy:run:${{ matrix.browser }} --record true --parallel --group \"UI - ${{ matrix.browser }}\""