From 6efcc6810fa9e5ee882fa750c53b2a97f546c292 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Fri, 5 Jul 2024 16:05:22 -0400 Subject: [PATCH] added the mobile-header id back to fix breaking tests; update workflow --- .github/workflows/pr_ci_playwright_e2e.yaml | 6 +++--- frontend/components/header/HeaderWebsite.vue | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/pr_ci_playwright_e2e.yaml b/.github/workflows/pr_ci_playwright_e2e.yaml index 1637316e4..b7369f4ff 100644 --- a/.github/workflows/pr_ci_playwright_e2e.yaml +++ b/.github/workflows/pr_ci_playwright_e2e.yaml @@ -58,11 +58,11 @@ jobs: MAX_ATTEMPTS=3 WAIT_TIME=30 ATTEMPT=1 - while [[ $ATTEMPT -le $MAX_ATTEMPTS ]] - do + while [[ $ATTEMPT -le $MAX_ATTEMPTS ]]; do echo "Attempt $ATTEMPT of $MAX_ATTEMPTS" yarn wait-on http://localhost:3000 --timeout ${WAIT_TIME}000 - if [[ $? -eq 0 ]]; then + STATUS=$? + if [[ $STATUS -eq 0 ]]; then echo "Server is ready!" break else diff --git a/frontend/components/header/HeaderWebsite.vue b/frontend/components/header/HeaderWebsite.vue index efd4f34c4..835cab6e1 100644 --- a/frontend/components/header/HeaderWebsite.vue +++ b/frontend/components/header/HeaderWebsite.vue @@ -10,7 +10,7 @@ }" > -
+