mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2024-11-22 01:36:29 -05:00
Wait for application start before using curl in e2e workflow
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
This commit is contained in:
parent
7ec9397bb2
commit
816dede9e2
1 changed files with 1 additions and 1 deletions
2
.github/workflows/e2e.yml
vendored
2
.github/workflows/e2e.yml
vendored
|
@ -113,7 +113,7 @@ jobs:
|
||||||
run: yarn start:ci &
|
run: yarn start:ci &
|
||||||
|
|
||||||
- name: Wait for server
|
- 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
|
- name: Run cypress
|
||||||
run: "yarn cy:run:${{ matrix.browser }} --record true --parallel --group \"UI - ${{ matrix.browser }}\""
|
run: "yarn cy:run:${{ matrix.browser }} --record true --parallel --group \"UI - ${{ matrix.browser }}\""
|
||||||
|
|
Loading…
Reference in a new issue