Deactivate Cross-Browser E2E Tests in CI
- Deciders: Julian Bäume
- Date: 2026-02-24
Status
Accepted
Context
The Playwright E2E test suite runs all tests against three browser engines: Chromium, Firefox, and WebKit. This triples the total number of test executions (76 tests x 3 browsers = 228 executions per CI run) and proportionally increases CI resource consumption across 6 parallel shards.
Despite officially supporting Firefox and Safari, cross-browser bugs have been extremely rare in practice. The additional test runs have not justified their cost in bug detection value.
Additionally, the cross-browser coverage was already incomplete:
- WebKit (Safari): 9 tests skipped due to
getByRole('paragraph').fill()not working in contenteditable elements (a Playwright interaction model limitation, not a user-facing bug) - Firefox: 4 tests skipped due to
page.reload()hanging and TipTap contenteditable behavior differences
These skips indicate that the non-Chromium test coverage was partial and required ongoing maintenance of browser-specific workarounds in test code.
Alternatives Considered
1. Keep all three browsers (status quo)
- Pros: Maximum automated cross-browser coverage
- Cons: ~3x runtime cost, 9 browser-specific skips to maintain, historically low bug detection value
2. Run cross-browser tests on a schedule (e.g., nightly)
- Pros: Retains coverage without slowing merge request pipelines
- Cons: Delayed feedback, still requires maintaining browser-specific test workarounds
3. Chromium-only in CI, all browsers locally (chosen)
- Pros: Fast CI, developers still get cross-browser feedback locally
- Cons: CI pipeline doesn't catch cross-browser regressions
Decision
We will run E2E tests against Chromium only in CI (process.env.CI). Local development runs continue to test all three browsers (Chromium, Firefox, WebKit). This leverages the existing CI environment variable that already controls retries, workers, and reporters.
All browser-specific test.fixme() and test.skip() blocks referencing browserName have been removed from test files, simplifying test authoring.
Consequences
Positive
- ~3x reduction in CI test execution time and proportional resource savings
- Simpler test code: No
browserNameconditionals, no browser-specific skip annotations - Lower maintenance burden: New tests don't need cross-browser workarounds
- Local cross-browser coverage preserved: Developers catch issues before pushing
Negative
- No automated cross-browser coverage in CI -- regressions may reach merge requests uncaught
- Removed skip annotations no longer serve as documentation of known browser-specific issues
Operational Impact
- CI runs Chromium only automatically (no configuration changes needed)
- Local
pnpm e2eruns all three browsers - Developers can run a single browser locally via
npx playwright test --project=chromium

