mirror of
https://github.com/discourse/discourse.git
synced 2026-08-06 13:08:40 +08:00
This PR enables the Playwright soft reset optimization for every system test target on CI, not just `core` and `chat`. The soft reset path (`PlaywrightSoftReset` in `spec/support/system/capybara_patches.rb`, gated on the `CAPYBARA_PLAYWRIGHT_SOFT_RESET` env var) reuses the browser context between examples instead of tearing it down, speeding up system specs. It was previously scoped to only the `core` and `chat` targets in `.github/workflows/tests.yml` while it was proven out; the other system targets still paid the full-reset cost. Key changes: * Set `CAPYBARA_PLAYWRIGHT_SOFT_RESET` to `1` for all `system` build types, dropping the `core`/`chat` target condition, now that the approach has proven stable on those targets. |
||
|---|---|---|
| .. | ||
| actions/setup-release-environment | ||
| instructions | ||
| workflows | ||
| dependabot.yml | ||
| labeler.yml | ||