mirror of
https://github.com/discourse/discourse.git
synced 2026-08-09 21:45:25 +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. |
||
|---|---|---|
| .. | ||
| backport.yml | ||
| check-pr-body.yml | ||
| dependabot-bundler-checksums.yml | ||
| dependabot-pnpm-dedupe.yml | ||
| developer-docs-lint.yml | ||
| developer-docs-publish.yml | ||
| labeler.yml | ||
| licenses.yml | ||
| linting.yml | ||
| migration-tests.yml | ||
| publish-assets.yml | ||
| publish-types.yml | ||
| release-branch-handler.yml | ||
| release-handler.yml | ||
| release-notes.yml | ||
| release-prepare-latest-bump.yml | ||
| stale-pr-closer.yml | ||
| tests.yml | ||
| upcoming-change-status-bump.yml | ||