treat open differently

This commit is contained in:
burnettk 2023-03-24 11:19:24 -04:00
parent 9b5f4c8243
commit 729d3e9566
1 changed files with 4 additions and 1 deletions

View File

@ -56,6 +56,9 @@ for attempt in $(seq 1 "$ATTEMPTS" ); do
formatted_end_time=$(date "-d@${end_time}" +"%Y-%m-%dT%H-%M-%S")
fi
echo "${success},$(( end_time - start_time )),${formatted_start_time},${formatted_end_time},${frontend_url}" >>"$cypress_run_file"
if [[ "$command" != "open" ]]; then
echo "Recording stats to ${cypress_run_file}"
echo "${success},$(( end_time - start_time )),${formatted_start_time},${formatted_end_time},${frontend_url}" >>"$cypress_run_file"
fi
done
echo "Recorded stats to ${cypress_run_file}"