diff --git a/.github/workflows/ci-frontend-a11y.yml b/.github/workflows/ci-frontend-a11y.yml index 9b3b5722e..76ee869d0 100644 --- a/.github/workflows/ci-frontend-a11y.yml +++ b/.github/workflows/ci-frontend-a11y.yml @@ -42,12 +42,22 @@ jobs: - name: Start server and log output run: npm run start & - - name: Wait for server to be ready + - name: Wait for frontend to be ready run: | # Ensure the server wait script is executable chmod +x ./bin/wait-for-frontend.sh ./bin/wait-for-frontend.sh + - name: Start API Server for e2e tests + run: | + cd ../api + make init db-seed-local start & + cd ../frontend + # Ensure the API wait script is executable + chmod +x ../api/bin/wait-for-api.sh + ../api/bin/wait-for-api.sh + shell: bash + - name: Run pa11y-ci run: | npm run test:pa11y