Skip to content

armgit / mso

Public Imported from GitHub
0

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.

test(workflows): count hidden terminal sessions during inspector

Rahman909d6da25257
diff --git a/scripts/e2e/mcp-sessions.mjs b/scripts/e2e/mcp-sessions.mjs
index a39b9bd8..4b44d5d0 100644
--- a/scripts/e2e/mcp-sessions.mjs
+++ b/scripts/e2e/mcp-sessions.mjs
@@ -69,7 +69,7 @@ export async function mcpSessionsJourney(page, fixture) {
const terminalStep = selectedGraph.steps.find(step => step.actions.some(action => action.terminalContext));
expect(terminalStep).toBeTruthy();
const terminalStepNode = page.locator(".react-flow__node").filter({ hasText: terminalStep.ref + " ·" }).first();
- const terminalTabs = page.getByRole("tablist", { name: "Terminal sessions" });
+ const terminalTabs = page.getByRole("tablist", { name: "Terminal sessions", includeHidden: true });
const terminalCountBefore = await terminalTabs.count();
await expect(terminalStepNode).toBeVisible();
expect(await page.locator('[data-slot="workflows-feature"]').innerText()).not.toMatch(/\b\d{8}_\d{6}_[a-f0-9]{8}\b/);