Skip to content

Commit

Permalink
test: Only run flaky test detection for chromium (#15264)
Browse files Browse the repository at this point in the history
This streamlines this a bit and should be good enough here.
  • Loading branch information
mydea authored Feb 3, 2025
1 parent acd8b00 commit e8c0260
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .github/workflows/flaky-test-detector.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,8 @@ jobs:

- name: Install Playwright
uses: ./.github/actions/install-playwright
with:
browsers: 'chromium'

- name: Determine changed tests
uses: dorny/[email protected]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,9 @@ ${changedPaths.join('\n')}
try {
await new Promise<void>((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' },
);

Expand Down

0 comments on commit e8c0260

Please sign in to comment.