Skip to content

Playwright is a framework for Web Testing and Automation. It allows testing Chromium, Firefox and WebKit with a single API.

test: limit workers to one for Firefox on Windows (#27514)

Dmitry Gozman39f92e82f633
diff --git a/.github/workflows/tests_secondary.yml b/.github/workflows/tests_secondary.yml
index 5bb5cf0591..61429074c2 100644
--- a/.github/workflows/tests_secondary.yml
+++ b/.github/workflows/tests_secondary.yml
@@ -102,7 +102,13 @@ jobs:
PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD: 1
- run: npm run build
- run: npx playwright install --with-deps ${{ matrix.browser }} chromium
+ - run: npm run test -- --project=${{ matrix.browser }} --workers=1
+ if: matrix.browser == 'firefox'
+ shell: bash
+ env:
+ PWTEST_BLOB_REPORT_NAME: "${{ matrix.browser }}-windows-latest"
- run: npm run test -- --project=${{ matrix.browser }}
+ if: matrix.browser != 'firefox'
shell: bash
env:
PWTEST_BLOB_REPORT_NAME: "${{ matrix.browser }}-windows-latest"
@@ -441,7 +447,7 @@ jobs:
PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD: 1
- run: npm run build
- run: npx playwright install --with-deps firefox-beta chromium
- - run: npm run ftest
+ - run: npm run ftest -- --workers=1
shell: bash
env:
PWTEST_CHANNEL: firefox-beta