ci: TEMP smoke-test single Playwright spec to validate MSRC plumbing

Reduces the Playwright matrix to 1 shard and restricts the run to a single test in the searchableDropdown component fixture on Chrome. The fixture hits the local dev server only, so no Cosmos auth and no token captures happen \u2014 isolates the smoke test to the new Azure Storage upload/download/zip/PR-comment plumbing.

REVERT THIS COMMIT before merging the parent PR.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
This commit is contained in:
Sung-Hyun Kang
2026-06-10 14:17:17 -05:00
parent b288ed7374
commit 308005f02b
+7 -4
View File
@@ -166,8 +166,9 @@ jobs:
strategy: strategy:
fail-fast: false fail-fast: false
matrix: matrix:
shardIndex: [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20] # TEMP: smoke-testing MSRC ci.yml changes. Revert to [1..20] / [20] before merging.
shardTotal: [20] shardIndex: [1]
shardTotal: [1]
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@v4
- name: Use Node.js 18.x - name: Use Node.js 18.x
@@ -296,9 +297,11 @@ jobs:
echo "::add-mask::$MONGO_READONLY_TESTACCOUNT_TOKEN" echo "::add-mask::$MONGO_READONLY_TESTACCOUNT_TOKEN"
echo MONGO_READONLY_TESTACCOUNT_TOKEN=$MONGO_READONLY_TESTACCOUNT_TOKEN >> $GITHUB_ENV echo MONGO_READONLY_TESTACCOUNT_TOKEN=$MONGO_READONLY_TESTACCOUNT_TOKEN >> $GITHUB_ENV
- name: List test files for shard ${{ matrix['shardIndex'] }} of ${{ matrix['shardTotal']}} - name: List test files for shard ${{ matrix['shardIndex'] }} of ${{ matrix['shardTotal']}}
run: npx playwright test --shard=${{ matrix.shardIndex }}/${{ matrix.shardTotal }} --list # TEMP: smoke-testing MSRC ci.yml changes. Revert before merging.
run: npx playwright test test/component-fixtures/searchableDropdown/searchableDropdown.spec.ts --project="Google Chrome" --grep "renders subscription dropdown with label and placeholder" --list
- name: Run test shard ${{ matrix['shardIndex'] }} of ${{ matrix['shardTotal']}} - name: Run test shard ${{ matrix['shardIndex'] }} of ${{ matrix['shardTotal']}}
run: npx playwright test --shard=${{ matrix.shardIndex }}/${{ matrix.shardTotal }} --workers=3 # TEMP: smoke-testing MSRC ci.yml changes. Revert before merging.
run: npx playwright test test/component-fixtures/searchableDropdown/searchableDropdown.spec.ts --project="Google Chrome" --grep "renders subscription dropdown with label and placeholder" --workers=1
- name: Upload shard blob-report to Azure Storage - name: Upload shard blob-report to Azure Storage
if: ${{ !cancelled() }} if: ${{ !cancelled() }}
env: env: