From d9afd1142dc11f3c0906abe4d3cf0cd91ab9dc4c Mon Sep 17 00:00:00 2001 From: maguire-arman Date: Wed, 9 Jul 2025 16:27:59 -0400 Subject: [PATCH] Simplifies Playwright test command Removes redundant path specification in the Playwright test command within the CI configuration. This change streamlines the test execution process by eliminating unnecessary repetition of the Playwright path, improving readability and maintainability of the CI pipeline definition. --- 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 9f8db1d37..eec463d78 100644 --- a/temp/playwright-test.yml +++ b/temp/playwright-test.yml @@ -166,7 +166,7 @@ jobs: ${{ parameters.dockerImageName }}:${{ parameters.imageTag }} \ npx concurrently -k -n 'server,playwright' \ "npm --prefix $SERVE_PATH run serve -- --port=$port" \ - "npx --prefix $PLAYWRIGHT_PATH wait-on $TARGET_URL && npx --prefix $PLAYWRIGHT_PATH playwright test $PLAYWRIGHT_PATH --shard=$SHARD_NUMBER/$TOTAL_SHARDS --reporter=list,blob $FILTER" \ + "npx --prefix $PLAYWRIGHT_PATH wait-on $TARGET_URL && npx --prefix $PLAYWRIGHT_PATH playwright test --shard=$SHARD_NUMBER/$TOTAL_SHARDS --reporter=list,blob $FILTER" \ ) else TARGET_URL="$TARGET_URL" @@ -180,7 +180,7 @@ 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 --shard=$SHARD_NUMBER/$TOTAL_SHARDS --reporter=list,blob $FILTER \ ) fi # Start container and stream logs