Browser-based graphical shell and control plane for a Linux server you own — real terminal, file manager, live metrics and BYOK AI in one mobile-first workspace. Next.js 16 · React 19 · node-pty · Tailwind v4 · shadcn/ui. Public alpha, self-hosted.
TypeScript browser-shellcontrol-planefile-managerhomelabmobile-firstnextjsptyreactself-hostedserver-managementshadcn-uisysadmintailwindcssterminaltypescriptvpsweb-desktopweb-terminal
test(e2e): scope workflow directory assertions to the panel
Abdurrahman Fakhrul61382cf33022
diff --git a/frontend/slices/workflows/components/workflow-directory-panel.tsx b/frontend/slices/workflows/components/workflow-directory-panel.tsxindex c433769a..06ea2c12 100644--- a/frontend/slices/workflows/components/workflow-directory-panel.tsx+++ b/frontend/slices/workflows/components/workflow-directory-panel.tsx@@ -35,7 +35,7 @@ export function WorkflowDirectoryPanel() {const q = query.toLowerCase().trim();const rows = useMemo<DirectoryRow[]>(() => (data?.[view] ?? []).filter(row => !q || searchText(row).includes(q)), [data, q, view]);const Icon = ICONS[view];- return <div className="flex h-full min-h-0 flex-col">+ return <div data-slot="workflow-directory-panel" className="flex h-full min-h-0 flex-col"><div className="space-y-2 border-b p-2"><div className="grid grid-cols-5 gap-1">{VIEWS.map(item => <button key={item} type="button"className={`rounded-md px-2 py-1.5 text-[10px] capitalize ${view === item ? "bg-accent font-semibold" : "text-muted-foreground hover:bg-accent/60"}`}diff --git a/scripts/e2e/workflow-canvas.mjs b/scripts/e2e/workflow-canvas.mjsindex 325592c6..ab195f82 100644--- a/scripts/e2e/workflow-canvas.mjs+++ b/scripts/e2e/workflow-canvas.mjs@@ -111,12 +111,13 @@ export async function workflowCanvasJourney(page, fixture) {await canvas.getByRole("button", { name: "Fit view" }).click();await page.getByRole("button", { name: "Directory", exact: true }).click();- await expect(page.getByPlaceholder("Search tools…")).toBeVisible();- await expect(page.getByText("agent_memory_search", { exact: true })).toBeVisible();+ const directory = page.locator('[data-slot="workflow-directory-panel"]');+ await expect(directory.getByPlaceholder("Search tools…")).toBeVisible();+ await expect(directory.getByText("agent_memory_search", { exact: true })).toBeVisible();await page.getByRole("button", { name: "projects", exact: true }).click();- await expect(page.getByText("fixture-project", { exact: true })).toBeVisible();+ await expect(directory.getByText("fixture-project", { exact: true })).toBeVisible();await page.getByRole("button", { name: "skills", exact: true }).click();- await expect(page.getByText("No matching skills.", { exact: true })).toBeHidden();+ await expect(directory.getByText("No matching skills.", { exact: true })).toBeHidden();await page.getByRole("button", { name: "Builder", exact: true }).click();// Connection controls are persisted graph metadata, not temporary React Flow styling.