From d053a49f4140cf85052f65b178f44ebd6a3ee0e1 Mon Sep 17 00:00:00 2001 From: maguire-arman Date: Mon, 14 Jul 2025 13:40:22 -0400 Subject: [PATCH] Passes JIRA card number to merge-reports Ensures the JIRA card number is available as an environment variable during the playwright merge-reports process. This allows the reports to be tagged with the correct JIRA ticket. --- temp/playwright-test.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/temp/playwright-test.yml b/temp/playwright-test.yml index 7b140298b..ab275f7d4 100644 --- a/temp/playwright-test.yml +++ b/temp/playwright-test.yml @@ -256,8 +256,9 @@ jobs: echo 'Moving Playwright reports out of subfolders...' find ./playwright-reports/ -mindepth 2 -type f -exec mv {} ./playwright-reports/ \; echo 'Merging reports...' - PLAYWRIGHT_JUNIT_OUTPUT_DIR='/app/test-results' PLAYWRIGHT_JUNIT_OUTPUT_NAME='junit_results.xml' npx --prefix $PLAYWRIGHT_PATH playwright merge-reports --config=$PLAYWRIGHT_PATH/playwright.config.ts ./playwright-reports - " + echo 'Value of JIRA_CARD_NUMBER in bash -c command: $JIRA_CARD_NUMBER' + JIRA_CARD_NUMBER='$JIRA_CARD_NUMBER' PLAYWRIGHT_JUNIT_OUTPUT_DIR='/app/test-results' PLAYWRIGHT_JUNIT_OUTPUT_NAME='junit_results.xml' npx --prefix $PLAYWRIGHT_PATH playwright merge-reports --config=$PLAYWRIGHT_PATH/playwright.config.ts ./playwright-reports + " ) # Start container and stream logs