0
0
Fork 0
mirror of https://github.com/discourse/discourse.git synced 2026-08-06 13:08:40 +08:00
discourse/.github
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
..
actions/setup-release-environment DEV: Perform release workflows as discoursebot (#40339) 2026-05-28 09:29:54 +01:00
instructions DEV: align bin/lint to use lefthook (#34247) 2025-08-13 12:49:14 +10:00
workflows DEV: Enable Playwright soft reset on CI for all system tests (#41573) 2026-07-09 10:02:42 +08:00
dependabot.yml DEV: Remove ember-template-lint (#40077) 2026-05-15 20:54:13 +01:00
labeler.yml DEV: Label discourse-rewind prs (#36956) 2026-01-06 14:42:55 +08:00