Update e2e tests

This commit is contained in:
Andras Schmelczer 2025-08-25 19:25:03 +01:00
parent 81b81e30ff
commit 43311ed30b
No known key found for this signature in database
GPG key ID: FC8F2C3D3D1A718C
3 changed files with 31 additions and 13 deletions

View file

@ -15,6 +15,7 @@ process_count=$1
mkdir -p logs
cd frontend
npm ci
npm run build
../scripts/utils/wait-for-server.sh
@ -33,7 +34,7 @@ print_failed_log() {
# Get the exit code of the process
wait ${pids[$i-1]}
exit_code=$?
# Only consider non-zero exit codes as failures
if [ $exit_code -ne 0 ]; then
cat "$(pwd)/logs/log_${i}.log"