Skip to content

Commit e8c0260

Browse files
authored
test: Only run flaky test detection for chromium (getsentry#15264)
This streamlines this a bit and should be good enough here.
1 parent acd8b00 commit e8c0260

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

.github/workflows/flaky-test-detector.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,8 @@ jobs:
5151

5252
- name: Install Playwright
5353
uses: ./.github/actions/install-playwright
54+
with:
55+
browsers: 'chromium'
5456

5557
- name: Determine changed tests
5658
uses: dorny/[email protected]

dev-packages/browser-integration-tests/scripts/detectFlakyTests.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,9 @@ ${changedPaths.join('\n')}
4646
try {
4747
await new Promise<void>((resolve, reject) => {
4848
const cp = childProcess.spawn(
49-
`npx playwright test ${testPaths.length ? testPaths.join(' ') : './suites'} --repeat-each ${repeatEachCount}`,
49+
`npx playwright test ${
50+
testPaths.length ? testPaths.join(' ') : './suites'
51+
} --repeat-each ${repeatEachCount} --project=chromium`,
5052
{ shell: true, cwd, stdio: 'inherit' },
5153
);
5254

0 commit comments

Comments
 (0)