JUnit reporting attempt #2

This commit is contained in:
Chase King 2025-03-06 16:20:36 -05:00
parent 4fe9570dfb
commit 5ef75ad148

View file

@ -160,10 +160,8 @@ stages:
$(dockerImageName):$(imageTag) \
bash -c "echo \"Moving Playwright reports out of subfolders...\" &&
find ./playwright-reports/ -mindepth 2 -type f -exec mv {} ./playwright-reports/ \; &&
PLAYWRIGHT_JUNIT_OUTPUT_DIR='/app/test_results'
PLAYWRIGHT_JUNIT_OUTPUT_NAME='junit_results.xml'
echo \"Merging reports...\" &&
npx playwright merge-reports --reporter=ortoni-report,junit ./playwright-reports
PLAYWRIGHT_JUNIT_OUTPUT_DIR='/app/test_results' PLAYWRIGHT_JUNIT_OUTPUT_NAME='junit_results.xml' npx playwright merge-reports --reporter=ortoni-report,junit ./playwright-reports
echo \"Contents of ortoni-report:\" && ls ./ortoni-report &&
echo 'Current dir: ' && pwd
echo 'Contents of current dir: ' && ls