diff --git a/spiffworkflow-frontend/bin/cypress_pilot b/spiffworkflow-frontend/bin/cypress_pilot index 102411ad..650368bf 100755 --- a/spiffworkflow-frontend/bin/cypress_pilot +++ b/spiffworkflow-frontend/bin/cypress_pilot @@ -17,7 +17,12 @@ else shift fi -if [[ -z "${ATTEMPTS:-}" ]]; then +if [[ -n "${ATTEMPTS:-}" ]]; then + if [[ "$command" == "open" ]]; then + echo "ATTEMPTS is ignored when running cypress open" + ATTEMPTS=1 + fi +else ATTEMPTS=1 fi