From eb64c5105e504031609d7b079e6d8308d37bb373 Mon Sep 17 00:00:00 2001 From: maguire-arman Date: Wed, 9 Jul 2025 14:32:31 -0400 Subject: [PATCH] Adds "@" prefix to Jira card number grep filter. Updates the grep filter for Jira card numbers to include the "@" prefix, ensuring accurate filtering by test case tag. This ensures that only tests specifically tagged with the Jira card number are executed. --- temp/playwright-test.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/temp/playwright-test.yml b/temp/playwright-test.yml index 7510834ad..903834dad 100644 --- a/temp/playwright-test.yml +++ b/temp/playwright-test.yml @@ -127,13 +127,13 @@ jobs: FILTER="" if [[ -n "${{ parameters.filterTags }}" && -n "$JIRA_CARD_NUMBER" ]]; then echo "Filtering by filterTags and Jira Card Number..." - FILTER="--grep '$JIRA_CARD_NUMBER|${{ parameters.filterTags }}'" + FILTER="--grep '@$JIRA_CARD_NUMBER|${{ parameters.filterTags }}'" elif [[ -n "${{ parameters.filterTags }}" ]]; then echo "Filtering by filterTags only..." FILTER="--grep '${{ parameters.filterTags }}'" elif [[ -n "$JIRA_CARD_NUMBER" ]]; then echo "Filtering by Jira card number only..." - FILTER="--grep '$JIRA_CARD_NUMBER'" + FILTER="--grep '@$JIRA_CARD_NUMBER'" else echo "No filter. Running all test cases..." FILTER=""