Skip to content

Commit

Permalink
fix: wait until db exists before seeding it
Browse files Browse the repository at this point in the history
  • Loading branch information
ojeytonwilliams committed May 3, 2024
1 parent 2119e76 commit df867f0
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions .github/workflows/e2e-with-new-api.yml
Original file line number Diff line number Diff line change
Expand Up @@ -149,15 +149,17 @@ jobs:
- name: Install playwright dependencies
run: npx playwright install --with-deps

- name: Seed Database with Certified User
run: pnpm run seed:certified-user

- name: Run playwright tests
- name: Start apps
run: |
docker compose up -d
sleep 10
docker compose logs
npx playwright test --project=${{ matrix.browsers }}
- name: Seed Database with Certified User
run: pnpm run seed:certified-user

- name: Run playwright tests
run: npx playwright test --project=${{ matrix.browsers }}

- uses: actions/upload-artifact@v4
if: ${{ !cancelled() }}
Expand Down

0 comments on commit df867f0

Please sign in to comment.