mirror of
https://github.com/rcourtman/Pulse.git
synced 2026-10-25 21:20:00 +00:00
ac75d4425a
The drawer tab-retention proof (#1723) and the PBS host history correlation proof share browser-tests/pbs-host-history-correlation.tsx. That fixture mounted the Backups table without the app runtime context the drawer Overview reads alerts from, so both proofs threw before the drawer rendered and had silently stopped proving anything. The fixture now supplies an explicit offline WebSocket and dark-mode context and a router, as the other drawer fixtures do. The correlation proof follows the drawer's current shape: history charts sit on Overview, so it checks that Overview stays selected with stable chart paths across refreshes. Since the Identity card shows each identifier once, the Metrics Target row may be absent; when present it must name the host series, and the intercepted history request still must. Both proofs pass at 1280 and 390px on every topology. Negative controls fail as they should: resetting the tab when the metrics target drops breaks the retention proof, and charting the PBS service key breaks the correlation proof.