Fixes shell command execution in Docker

Ensures the shell command is properly executed within the Docker container by wrapping it in quotes. This resolves issues where the command was being misinterpreted or failing to execute as intended.
This commit is contained in:
maguire-arman 2025-07-10 13:45:35 -04:00
parent 0b71f997ca
commit ac92600b28

View file

@ -180,8 +180,8 @@ jobs:
--ipc=host \
--env-file "${{ parameters.envFileName }}" \
${{ parameters.dockerImageName }}:${{ parameters.imageTag }} \
npx --prefix $PLAYWRIGHT_PATH playwright test $PLAYWRIGHT_PATH --shard=$SHARD_NUMBER/$TOTAL_SHARDS --reporter=list,blob $FILTER \
)
"npx --prefix $PLAYWRIGHT_PATH playwright test $PLAYWRIGHT_PATH --shard=$SHARD_NUMBER/$TOTAL_SHARDS --reporter=list,blob $FILTER" \
)
fi
# Start container and stream logs
echo "Starting tests for shard $(shardNumber)..."