Skip to content

Commit

Permalink
moved the 'wait for web server' back to just before run playwright tests
Browse files Browse the repository at this point in the history
  • Loading branch information
aasimsyed committed May 4, 2024
1 parent edb87a4 commit 8db240e
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/pr_ci_playwright_e2e.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,11 +29,6 @@ jobs:
- name: Run Docker Compose
run: docker compose --env-file .env.dev up --build -d

- name: Wait for web server to be ready
working-directory: ./frontend
run: |
curl --retry 20 --retry-delay 5 --retry-all-errors http://localhost:3000
- name: Setup Node environment
uses: actions/setup-node@v4
with:
Expand All @@ -49,6 +44,11 @@ jobs:
run: |
sudo yarn playwright install --with-deps
- name: Wait for web server to be ready
working-directory: ./frontend
run: |
curl --retry 20 --retry-delay 5 --retry-all-errors http://localhost:3000
- name: Run Playwright tests
working-directory: ./frontend
run: |
Expand Down

0 comments on commit 8db240e

Please sign in to comment.