diff --git a/.github/workflows/test_e2e.yml b/.github/workflows/test_e2e.yml index a016fa4f2..ba981860d 100644 --- a/.github/workflows/test_e2e.yml +++ b/.github/workflows/test_e2e.yml @@ -48,6 +48,12 @@ jobs: cd e2e-tests/ yarn + - name: Wait for the frontend to be ready + run: | + for i in {1..10}; do + curl -s http://localhost:3000/login && break || sleep 5 + done + - name: End-to-end tests | run tests id: e2e-tests run: |