Files
Pulse/tests/qualification/mobile-alert-history
pulse-triage[bot] d60da624c8 test(web): qualify mobile alert focus return in Chromium and WebKit
The integrated removed-row focus repair had only jsdom coverage. Exercise populated Timeline and Resource dialogs with production styles in two browser engines so focus trapping, dismissal and fallback regressions are observable without live credentials or customer data. This is synthetic component qualification, not backend delivery evidence.

Change-source: pulse-maintainer
2026-09-05 03:44:17 +01:00
..

Mobile alert history browser qualification

From the repository root, after npm ci and npm --prefix frontend-modern ci:

pulse-heavy-run -- node tests/qualification/mobile-alert-history/run.mjs

Requires Playwright's Chromium and WebKit browsers and their system libraries. The runner starts a loopback-only Vite server on an ephemeral port and closes it and both browsers on completion. No backend, credentials or live data are used.

The fixture renders the production mobile history list and dialog with synthetic history and incident events. At 390×844 it checks both Timeline and Resource investigations, Tab containment, Escape dismissal, focus return to the surviving trigger or list when the row disappears, and page overflow. A computed-style assertion guards against accidentally testing without production Tailwind CSS.

This is component-browser evidence, not whole-application, physical-device, screen-reader, persistence or notification-delivery qualification. Fixture callbacks do not implement note saving, filtering or network operations. The fallback case should fail if return action ?? list in AlertHistoryMobileList is changed to return action ?? null.