Skip to content

Commit

Permalink
Update pr_ci_playwright_e2e.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
aasimsyed authored Sep 28, 2024
1 parent bbda7b4 commit 48a13fe
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/pr_ci_playwright_e2e.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -62,11 +62,11 @@ jobs:
ATTEMPT=1
while [[ $ATTEMPT -le $MAX_ATTEMPTS ]]; do
echo "Attempt $ATTEMPT of $MAX_ATTEMPTS"
yarn wait-on http://localhost:3000 --timeout ${WAIT_TIME}000
(yarn wait-on http://localhost:3000 --timeout ${WAIT_TIME}000) || true
STATUS=$?
if [[ $STATUS -eq 0 ]]; then
echo "Server is ready!"
break
exit 0
else
echo "Server not ready, retrying..."
ATTEMPT=$((ATTEMPT + 1))
Expand Down

0 comments on commit 48a13fe

Please sign in to comment.