mirror of
https://github.com/Ocelot-Social-Community/Ocelot-Social.git
synced 2026-01-19 11:21:26 +00:00
wait instead of sleep
This commit is contained in:
parent
d6a5daad1d
commit
356e415c3b
8
.github/workflows/test-e2e.yml
vendored
8
.github/workflows/test-e2e.yml
vendored
@ -143,7 +143,13 @@ jobs:
|
||||
docker load < /tmp/mailserver.tar
|
||||
docker load < /tmp/webapp.tar
|
||||
docker compose -f docker-compose.yml -f docker-compose.test.yml up --detach backend mailserver webapp
|
||||
sleep 90s
|
||||
|
||||
- name: Wait for webapp to be ready
|
||||
uses: jakejarvis/wait-action@v0.1.0
|
||||
with:
|
||||
url: http://localhost:3000
|
||||
timeout: 120000
|
||||
|
||||
- name: Full stack tests | run tests
|
||||
id: e2e-tests
|
||||
run: yarn run cypress:run --spec $(cypress/parallel-features.sh ${{ matrix.job }} ${{ env.jobs }} )
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user