Local-first AI coding agent desktop: Electron + Rust host core + pi Agent Harness + user-installable plugins
TypeScript ai-agentcoding-agentdesktop-appelectronglobali18nlocal-firstmcppipi-agentpi-desktoppluginsreactrusttypescript
test(composer): cover preview blocking in panel assertions
zszz3cf364f113918
diff --git a/apps/desktop/test/plugin-work-panel-views.test.mjs b/apps/desktop/test/plugin-work-panel-views.test.mjsindex 59fa0e015..09e1dc84c 100644--- a/apps/desktop/test/plugin-work-panel-views.test.mjs+++ b/apps/desktop/test/plugin-work-panel-views.test.mjs@@ -97,7 +97,7 @@ test("plugin views reach the panel body and the empty state", () => {});test("the native surface keeps its full bounds while the launcher is active", () => {- assert.match(panelSource, /blocked=\{\s*exiting \|\| panelBlocked\s*\}/s);+ assert.match(panelSource, /blocked=\{\s*exiting \|\| panelBlocked \|\| blockingOverlayActive\s*\}/s);assert.doesNotMatch(panelSource, /avoid: pluginSurface/);assert.doesNotMatch(panelSource, /menuOpen|work-panel-new-menu|placeWorkPanelMenu/);assert.doesNotMatch(viewTabSource, /occludedById/);diff --git a/apps/desktop/test/work-panel.test.mjs b/apps/desktop/test/work-panel.test.mjsindex 98b0c0ef9..403189001 100644--- a/apps/desktop/test/work-panel.test.mjs+++ b/apps/desktop/test/work-panel.test.mjs@@ -183,7 +183,7 @@ test("work panel uses the fixed-window internal dock", () => {// guest clamped to the plugin view is gone before the dock CSS animation.assert.match(panelSource,- /blocked=\{\s*exiting \|\| panelBlocked\s*\}/,+ /blocked=\{\s*exiting \|\| panelBlocked \|\| blockingOverlayActive\s*\}/,);assert.match(panelSource, /nativeSurfaceReadyForExit/);assert.match(panelSource, /is-exit-pending/);@@ -259,7 +259,7 @@ test("work panel header exposes a scrollable tab strip and direct new-page actioconst pluginSurface = panelSource.slice(pluginSurfaceStart, pluginSurfaceEnd);assert.match(pluginSurface,- /blocked=\{\s*exiting \|\| panelBlocked\s*\}/s,+ /blocked=\{\s*exiting \|\| panelBlocked \|\| blockingOverlayActive\s*\}/s,);assert.doesNotMatch(pluginSurface, /isResizing/);assert.doesNotMatch(panelSource, /createPortal|newTabMenuRef|menuOpen/);