You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
feat(ui): add deterministic visual-smoke fixture + DOM contract for BrowserPanel renderer chrome #819
From the #546 Artifact pane + browser panel closure audit. BrowserPanel (apps/desktop/src/renderer/browser-panel.tsx) is the renderer chrome over a native Electron WebContentsView; the native page itself can't be captured in a deterministic fixture, but the chrome — toolbar (back / forward / reload-stop / close enabled/disabled states), address bar, empty state, loading marker, address-validation toast — is renderer DOM.
The renderer chrome states have no deterministic visual or DOM/computed-style coverage, so layout/a11y regressions in the chrome (e.g. the narrow-layout defect fixed in #818) can only be caught by manual real-window smoke.
Proposal
Add a deterministic visual-smoke fixture scenario that seeds a session with a live browser view (via the existing browser:live / liveBrowserSessionIds path) driving a loopback fixture page (the smoke:browser script already hosts one), so the renderer chrome can be screenshotted in the empty / loading / loaded / nav states at 1280px and 990px, light/dark, motion/reduced. Add a DOM/computed-style contract test (symmetric to artifact-pane-layout.test.ts) locking the chrome invariants that don't need a screenshot:
Activity
feat(ui): add BrowserPanel chrome visual-smoke fixture + source contr…
feat(ui): add BrowserPanel chrome visual-smoke fixture + source contr…