Skip to content

Local-first AI coding agent desktop: Electron + Rust host core + pi Agent Harness + user-installable plugins

test(plugins): align card action assertion with restored panel button

Linuxdazhaoe2a0e325fbdb
diff --git a/apps/desktop/test/extensions-page.test.mjs b/apps/desktop/test/extensions-page.test.mjs
index 8d43bebba..134fc40e3 100644
--- a/apps/desktop/test/extensions-page.test.mjs
+++ b/apps/desktop/test/extensions-page.test.mjs
@@ -129,8 +129,8 @@ test("installed plugin rows keep secondary detail behind a disclosure", () => {
});
test("extension row actions stay visible and labelled", () => {
- // Remaining card actions stay visible and accessible; panels open from the launcher.
- assert.doesNotMatch(pageSrc, /t\("plugins\.openPanel"\)/);
+ // Installed cards expose a labelled panel action alongside settings and overflow.
+ assert.match(pageSrc, /t\("plugins\.openPanel"\)/);
assert.match(pageSrc, /<TooltipButton[\s\S]*?tooltip=\{t\("plugins\.openSettings"\)\}/);
assert.match(pageSrc, /<TooltipButton[\s\S]*?tooltip=\{t\("plugins\.rowActions", \{ name: plugin\.name \}\)\}/);
assert.match(styles, /\.ui-tooltip\s*\{[\s\S]*?position:\s*fixed;/);