0
0
Fork 0
mirror of https://github.com/discourse/discourse.git synced 2026-08-09 21:45:25 +08:00
discourse/.github/workflows
Alan Guo Xiang Tan e63c1c2480
DEV: Enable Playwright soft reset on CI for all system tests (#41573)
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.
2026-07-09 10:02:42 +08:00
..
backport.yml DEPS: Bump actions/checkout from 6 to 7 (#41156) 2026-06-24 21:54:51 +02:00
check-pr-body.yml DEPS: Bump actions/checkout from 6 to 7 (#41156) 2026-06-24 21:54:51 +02:00
dependabot-bundler-checksums.yml DEPS: Bump actions/checkout from 6 to 7 (#41156) 2026-06-24 21:54:51 +02:00
dependabot-pnpm-dedupe.yml DEPS: Bump actions/checkout from 6 to 7 (#41156) 2026-06-24 21:54:51 +02:00
developer-docs-lint.yml DEPS: Bump actions/checkout from 6 to 7 (#41156) 2026-06-24 21:54:51 +02:00
developer-docs-publish.yml DEPS: Bump actions/checkout from 6 to 7 (#41156) 2026-06-24 21:54:51 +02:00
labeler.yml Build(deps): Bump actions/labeler from 5 to 6 (#34761) 2025-09-15 17:58:31 +02:00
licenses.yml DEPS: Bump actions/checkout from 6 to 7 (#41156) 2026-06-24 21:54:51 +02:00
linting.yml DEPS: Bump actions/checkout from 6 to 7 (#41156) 2026-06-24 21:54:51 +02:00
migration-tests.yml DEV: Run the migrations gems CI job on self-hosted runners 2026-06-25 17:45:23 +02:00
publish-assets.yml DEPS: Bump actions/checkout from 6 to 7 (#41156) 2026-06-24 21:54:51 +02:00
publish-types.yml DEPS: Bump actions/checkout from 6 to 7 (#41156) 2026-06-24 21:54:51 +02:00
release-branch-handler.yml DEPS: Bump actions/checkout from 6 to 7 (#41156) 2026-06-24 21:54:51 +02:00
release-handler.yml DEPS: Bump actions/checkout from 6 to 7 (#41156) 2026-06-24 21:54:51 +02:00
release-notes.yml DEPS: Bump actions/checkout from 6 to 7 (#41156) 2026-06-24 21:54:51 +02:00
release-prepare-latest-bump.yml DEPS: Bump actions/checkout from 6 to 7 (#41156) 2026-06-24 21:54:51 +02:00
stale-pr-closer.yml Build(deps): Bump actions/stale from 9 to 10 (#34762) 2025-09-15 17:56:44 +02:00
tests.yml DEV: Enable Playwright soft reset on CI for all system tests (#41573) 2026-07-09 10:02:42 +08:00
upcoming-change-status-bump.yml DEPS: Bump actions/checkout from 6 to 7 (#41156) 2026-06-24 21:54:51 +02:00