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: run the Windows tests on the 64-core runner with 16 workers (#43565)
Pavel Feldman6e2c003f16e0
diff --git a/.github/workflows/tests_bidi.yml b/.github/workflows/tests_bidi.ymlindex b3d2f66aa0..513f64712e 100644--- a/.github/workflows/tests_bidi.yml+++ b/.github/workflows/tests_bidi.yml@@ -24,7 +24,7 @@ env:jobs:test_bidi:name: BiDi- runs-on: ubuntu-24.04+ runs-on: playwright-x64-ubuntu24-64-corepermissions:contents: read # This is required for actions/checkout to succeedstrategy:@@ -57,7 +57,7 @@ jobs:sudo apt-get install -y libavcodec60echo "BIDI_FFPATH=$(npx -y @puppeteer/browsers install firefox@nightly | tail -n1 | sed 's/^[^ ]* *//')" >> "$GITHUB_ENV"- name: Run tests- run: xvfb-run --auto-servernum --server-args="-screen 0 1280x960x24" -- npm run biditest -- --retries=${{ matrix.isPullRequest && 2 || 0 }} --project=${{ matrix.channel }}*+ run: xvfb-run --auto-servernum --server-args="-screen 0 1280x960x24" -- npm run biditest -- --retries=${{ matrix.isPullRequest && 2 || 0 }} --project=${{ matrix.channel }}* --workers 16env:PWTEST_USE_BIDI_EXPECTATIONS: ${{ matrix.isPullRequest && '1' || '' }}- name: Upload csv report to GitHubdiff --git a/.github/workflows/tests_primary.yml b/.github/workflows/tests_primary.ymlindex f18b0cf223..ed7bd75a67 100644--- a/.github/workflows/tests_primary.yml+++ b/.github/workflows/tests_primary.yml@@ -122,14 +122,14 @@ jobs:fail-fast: falsematrix:package: [html-reporter, web]- runs-on: ubuntu-latest+ runs-on: playwright-x64-ubuntu24-64-coresteps:- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1- uses: ./.github/actions/run-testwith:node-version: 22browsers-to-install: chromium- command: npm run test-${{ matrix.package }}+ command: npm run test-${{ matrix.package }} -- --workers 16bot-name: "web-components-${{ matrix.package }}"test_vscode_extension:diff --git a/.github/workflows/tests_secondary.yml b/.github/workflows/tests_secondary.ymlindex 09fd5b8035..5c82e9ad78 100644--- a/.github/workflows/tests_secondary.yml+++ b/.github/workflows/tests_secondary.yml@@ -39,20 +39,21 @@ jobs:bot-name: "${{ matrix.browser }}-${{ matrix.os }}"test_win:- name: "Windows"+ name: windows-large - ${{ matrix.browser }}if: ${{ github.event_name == 'push' || github.event.label.name == 'CQ1' }}strategy:fail-fast: falsematrix:browser: [chromium, firefox, webkit]- runs-on: windows-latest+ os: [playwright-x64-server2025-64-core]+ runs-on: ${{ matrix.os }}steps:- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1- uses: ./.github/actions/run-testwith:browsers-to-install: ${{ matrix.browser }} chromium- command: npm run test -- --project=${{ matrix.browser }}-* ${{ matrix.browser == 'firefox' && '--workers 1' || '' }}- bot-name: "${{ matrix.browser }}-windows-latest"+ command: npm run test -- --project=${{ matrix.browser }}-* --workers 16+ bot-name: "${{ matrix.browser }}-${{ matrix.os }}"test-package-installations-other-node-versions:name: "Installation Test ${{ matrix.os }} (${{ matrix.node_version }})"@@ -175,19 +176,19 @@ jobs:- channel: chromeruns-on: macos-latest- channel: chrome- runs-on: windows-latest+ runs-on: playwright-x64-server2025-64-core- channel: chrome-betaruns-on: ubuntu-22.04- channel: msedge- runs-on: windows-latest+ runs-on: playwright-x64-server2025-64-core- channel: msedge-dev- runs-on: windows-latest+ runs-on: playwright-x64-server2025-64-coresteps:- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1- uses: ./.github/actions/run-testwith:browsers-to-install: ${{ matrix.channel }}- command: npm run ctest+ command: npm run ctest -- ${{ startsWith(matrix.runs-on, 'playwright-') && '--workers 16' || '' }}bot-name: ${{ matrix.channel }}-${{ matrix.runs-on }}env:PWTEST_CHANNEL: ${{ matrix.channel }}