Skip to content
Open
8 changes: 7 additions & 1 deletion .github/workflows/ci-frontend-e2e.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ jobs:
- run: |
npm ci
npx playwright install --with-deps
docker rmi node:22 node:20 node:18

- name: Start API Server for e2e tests
run: |
Expand All @@ -57,6 +58,8 @@ jobs:
make init
# Now run the seeding and populate commands
make db-seed-local-with-agencies populate-search-opportunities populate-search-agencies start
echo "LOGIN_FINAL_DESTINATION=http://localhost:3000/api/auth/callback" >> override.env
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If you echo this after you've run make start, I don't think it'll do anything.

echo "ENABLE_OPPORTUNITY_ATTACHMENT_PIPELINE=false" >> override.env
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We should probably just change this default in the local.env file, we aren't using the attachments in any way right now, and only have them enabled locally.

cd ../frontend
# Ensure the API wait script is executable
chmod +x ../api/bin/wait-for-api.sh
Expand All @@ -82,7 +85,7 @@ jobs:
run: |
npm run test:e2e

- name: Show API logs on failure
- name: Debug logging on failure
if: failure()
run: |
cd ../api
Expand All @@ -95,6 +98,9 @@ jobs:
echo "=== Container Status ==="
docker ps -a
echo ""
echo "=== Disk free ==="
df -h
echo ""
shell: bash

- name: Verify Blob Report Directory
Expand Down