mirror of
https://github.com/discourse/discourse.git
synced 2026-08-06 13:08:40 +08:00
Backport of #41660 to release/2026.6. --- The example `spec/system/admin_dashboard_redesign/search_section_spec.rb` freezes time at 2026-05-14, then signs in the moderator inside the example. That creates an authentication cookie expiring 1,440 hours (exactly 60 days) later, i.e. **2026-07-13 12:00 UTC**. After that moment the real browser discards the already-expired cookie, `/admin` sees an anonymous visitor, and the spec times out (45s `SpecTimeoutError`). Fixes the `core system` failure currently blocking the #41668 security backport (#41671) on this branch. Co-authored-by: Penar Musaraj <pmusaraj@gmail.com> |
||
|---|---|---|
| .. | ||
| reports_section_spec.rb | ||
| search_section_spec.rb | ||
| site_advice_section_spec.rb | ||
| site_traffic_section_spec.rb | ||