Playwright is a framework for Web Testing and Automation. It allows testing Chromium, Firefox and WebKit with a single API.
TypeScript automationchromechromiume2e-testingelectronend-to-end-testingfirefoxjavascriptplaywrighttesttest-automationtestingtesting-toolswebwebkit
devops(mcp): one CI job per browser project (#40485)
Simon Knott4b85e422f0d0
diff --git a/.github/workflows/tests_mcp.yml b/.github/workflows/tests_mcp.ymlindex f2f449d9e7..3e1c7e7cbb 100644--- a/.github/workflows/tests_mcp.yml+++ b/.github/workflows/tests_mcp.yml@@ -31,15 +31,25 @@ env:jobs:test_mcp:- name: ${{ matrix.os }} - ${{ matrix.shardIndex }}/${{ matrix.shardTotal }}+ name: ${{ matrix.os }} - ${{ matrix.project }}# Used for authentication of flakiness uploadenvironment: ${{ github.event_name == 'push' && 'allow-uploading-flakiness-results' || null }}strategy:fail-fast: falsematrix:- os: [ubuntu-latest, macos-latest, windows-latest]- shardIndex: [1, 2]- shardTotal: [2]+ os: [ubuntu-latest, macos-latest]+ project: [chrome, chromium, firefox, webkit]+ include:+ - os: windows-latest+ project: chrome+ - os: windows-latest+ project: chromium+ - os: windows-latest+ project: firefox+ - os: windows-latest+ project: webkit+ - os: windows-latest+ project: msedgeruns-on: ${{ matrix.os }}permissions:id-token: write # This is required for OIDC login (azure/login) to succeed@@ -49,9 +59,8 @@ jobs:- uses: ./.github/actions/run-testwith:node-version: "22"- command: npm run test-mcp -- --shard ${{ matrix.shardIndex }}/${{ matrix.shardTotal }}- bot-name: "mcp-${{ matrix.os }}"- shard-index: ${{ matrix.shardIndex }}+ command: npm run test-mcp -- --project=${{ matrix.project }}+ bot-name: "mcp-${{ matrix.os }}-${{ matrix.project }}"flakiness-client-id: ${{ secrets.AZURE_FLAKINESS_DASHBOARD_CLIENT_ID }}flakiness-tenant-id: ${{ secrets.AZURE_FLAKINESS_DASHBOARD_TENANT_ID }}flakiness-subscription-id: ${{ secrets.AZURE_FLAKINESS_DASHBOARD_SUBSCRIPTION_ID }}