From 61f602aa32f60f86a3b835d85dfb6040bbb5901a Mon Sep 17 00:00:00 2001 From: kyle Date: Thu, 24 Oct 2024 12:29:38 -0400 Subject: [PATCH] last little bits --- .github/workflows/Playwright.yml | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/.github/workflows/Playwright.yml b/.github/workflows/Playwright.yml index 34533b5f..0272c7c2 100644 --- a/.github/workflows/Playwright.yml +++ b/.github/workflows/Playwright.yml @@ -15,15 +15,12 @@ jobs: with: node-version-file: ".nvmrc" - - name: Install Cucumber + - name: Install Test Dependencies run: npm i @cucumber/cucumber@8.11.1 @playwright/test@1.29.1 - name: Install Playwright run: npx playwright install --with-deps - - name: Install Dependencies - run: npm i - - name: Build app run: NODE_ENV=test npm run build @@ -35,11 +32,11 @@ jobs: run: | RETRIES=6 until curl --output /dev/null --silent --head --fail http://localhost:3000 || [ $((RETRIES--)) -eq 0 ]; do - echo "Waiting for server..." + echo "Waiting for http://localhost:3000" sleep 5 done if [ $RETRIES -lt 0 ]; then - echo "Server failed to start within the timeout period." + echo "Failed to connect to http://localhost:3000" exit 1 fi shell: bash