Adds debug logging for test execution

Enhances debugging capabilities during test execution by adding logging to capture directory contents. This helps diagnose potential issues related to file access or environment setup within the test environment.
This commit is contained in:
maguire-arman 2025-07-10 10:27:10 -04:00
parent db8efa267d
commit 6b410c432c

View file

@ -245,6 +245,17 @@ jobs:
JIRA_CARD_NUMBER="${branch_name##*/}"
echo "Extracted JIRA Card number: '$JIRA_CARD_NUMBER'"
export PLAYWRIGHT_PATH="${{ parameters.playwrightTestsPath }}"
echo "📁 Current directory: $(pwd)"
echo "📂 Contents of current directory:"
ls -al
echo "📂 Contents of ./ortoni-report (if exists):"
ls -al ./ortoni-report || echo "No ortoni-report directory found"
echo "📂 Contents of /app/test-results (if mounted later):"
ls -al /app/test-results || echo "No /app/test-results directory found"
container_id=$(docker create \
--ipc=host \
--env-file "${{ parameters.envFileName }}" \