Add diagnostics to integration test workflow
Add diagnostic checks before running tests to verify: - Environment variables reach the container (PULSE_AUTH_USER/PASS) - Security status endpoint returns correct hasAuthentication value - Startup logs contain auth configuration messages This will help identify where authentication configuration is failing. Related to #695
This commit is contained in:
parent
3b80ec9e84
commit
8d17460167
1 changed files with 8 additions and 0 deletions
8
.github/workflows/release.yml
vendored
8
.github/workflows/release.yml
vendored
|
|
@ -125,6 +125,14 @@ jobs:
|
|||
fi
|
||||
done
|
||||
|
||||
echo "Diagnosing authentication configuration..."
|
||||
echo "Environment variables in container:"
|
||||
docker exec pulse-test-server env | grep PULSE_AUTH || echo "No PULSE_AUTH variables found"
|
||||
echo "Security status endpoint:"
|
||||
curl -s http://localhost:7655/api/security/status | jq . || echo "Failed to query security status"
|
||||
echo "Container startup logs (looking for auth messages):"
|
||||
docker logs pulse-test-server 2>&1 | grep -i "auth\|overriding\|hashed" || echo "No auth-related messages in logs"
|
||||
|
||||
echo "Running integration tests..."
|
||||
npx playwright test tests/01-happy-path.spec.ts tests/02-bad-checksums.spec.ts --reporter=list
|
||||
docker-compose -f docker-compose.test.yml down -v
|
||||
|
|
|
|||
Loading…
Reference in a new issue