🧪 test: improve failure filtering to show only specific test names
Some checks failed
CI/CD Pipeline / Build Docker Cache (push) Successful in 8s
CI/CD Pipeline / CI Pipeline (push) Has been cancelled

This commit is contained in:
2026-04-10 15:10:52 +02:00
parent 65b842b070
commit dfac8f995e

View File

@@ -161,10 +161,11 @@ else
echo "Detailed BDD Failure Log (first 20 lines):"
echo "=========================================="
# Show only the relevant failure lines with actual test names
grep -E "(FAIL.*Test|--- FAIL)" "$BDD_FAILURE_LOG" | head -20
echo
echo "Full failure log saved in: $BDD_FAILURE_LOG"
# Filter out non-specific failures (no '/' means not a specific test)
grep -E "(FAIL.*Test|--- FAIL)" "$BDD_FAILURE_LOG" | \
grep -v "dance-lessons-coach/features" | \
grep "/" | \
head -20
fi
echo