From ac92600b2897549a7d75f80e100a2c13c7fc5d5c Mon Sep 17 00:00:00 2001 From: maguire-arman Date: Thu, 10 Jul 2025 13:45:35 -0400 Subject: [PATCH] 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. --- 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 4e2ebf45c..2e9d95831 100644 --- a/temp/playwright-test.yml +++ b/temp/playwright-test.yml @@ -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)..."