diff --git a/.github/workflows/flaky-test-detector.yml b/.github/workflows/flaky-test-detector.yml index a232e1e735b1..c24f306c98ea 100644 --- a/.github/workflows/flaky-test-detector.yml +++ b/.github/workflows/flaky-test-detector.yml @@ -51,6 +51,8 @@ jobs: - name: Install Playwright uses: ./.github/actions/install-playwright + with: + browsers: 'chromium' - name: Determine changed tests uses: dorny/paths-filter@v3.0.1 diff --git a/dev-packages/browser-integration-tests/scripts/detectFlakyTests.ts b/dev-packages/browser-integration-tests/scripts/detectFlakyTests.ts index 6fa8e8ddd416..1105346562c9 100644 --- a/dev-packages/browser-integration-tests/scripts/detectFlakyTests.ts +++ b/dev-packages/browser-integration-tests/scripts/detectFlakyTests.ts @@ -46,7 +46,9 @@ ${changedPaths.join('\n')} try { await new Promise((resolve, reject) => { const cp = childProcess.spawn( - `npx playwright test ${testPaths.length ? testPaths.join(' ') : './suites'} --repeat-each ${repeatEachCount}`, + `npx playwright test ${ + testPaths.length ? testPaths.join(' ') : './suites' + } --repeat-each ${repeatEachCount} --project=chromium`, { shell: true, cwd, stdio: 'inherit' }, );