From 2a6ad14284bbcdeffbd083f6f8fb9704abb8c60a Mon Sep 17 00:00:00 2001 From: Anthony Coughlin Date: Wed, 18 Dec 2024 10:35:32 +0000 Subject: [PATCH] Spec file debugger 13 --- .github/workflows/test.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 98b2b2ade1..57cb7a57d2 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -54,7 +54,7 @@ jobs: echo "Test Files: $TEST_FILES" # Generate the list of spec files for this container and trim trailing comma - cd ./frontend && SPEC_FILES=$(echo "$TEST_FILES" | tr ',' '\n' | awk -v container="$CONTAINER_INDEX" 'NR % 5 == container - 1' | sed 's|^frontend/||' | tr '\n' ',' | sed 's/,$//') + SPEC_FILES=$(echo "$TEST_FILES" | tr ',' '\n' | awk -v container="$CONTAINER_INDEX" 'NR % 5 == container - 1' | sed 's|^frontend/||' | tr '\n' ',' | sed 's/,$//') # Check if SPEC_FILES is empty if [ -z "$SPEC_FILES" ]; then @@ -62,5 +62,5 @@ jobs: exit 0 else echo "Spec files for this container- $SPEC_FILES" - cd ./frontend && CYPRESS_SPEC_PATTERN="$SPEC_FILES" npm run test:cypress-ci + cd frontend && CYPRESS_SPEC_PATTERN="$SPEC_FILES" npm run test:cypress-ci fi