0
0
Fork 0
mirror of https://github.com/discourse/discourse.git synced 2026-08-06 13:08:40 +08:00
discourse/spec/system/admin_dashboard_redesign
Gabriel Grubba c48b212b56
DEV: Fix failing admin dashboard spec [backport 2026.6] (#41677)
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>
2026-07-13 15:52:42 -03:00
..
reports_section_spec.rb FIX: Disable the last down-arrow in manage reports modal on mobile (#40540) 2026-06-04 15:38:21 +03:00
search_section_spec.rb DEV: Fix failing admin dashboard spec [backport 2026.6] (#41677) 2026-07-13 15:52:42 -03:00
site_advice_section_spec.rb FEATURE: Add Site Advice section to the redesigned admin dashboard (#40969) 2026-06-23 11:57:49 +02:00
site_traffic_section_spec.rb FEATURE: Add direct traffic KPI to the Site Traffic dashboard (#41274) 2026-06-30 14:30:28 +08:00