Test Dismissal (test-dismissal/page.tsx)
Client QA for persistent banner dismissal.
Behavior
- Reads
localStorage.dismissedAlertsevery 2s into UI state. - Surfaces
window.__bannerDebug()when injected by banner runtime. - Actions: clear dismissed list via
__clearDismissedAlertsor directlocalStorageremove; buttons to re-fire test banners (see source).
Use to confirm dismissal keys sync with banner manager and that cleared state allows banners to reappear.
Sources: src/app/test-dismissal/page.tsx