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): expand semantic action receipt reliably

Rahman25aaa66cb89f
diff --git a/scripts/e2e/mcp-sessions.mjs b/scripts/e2e/mcp-sessions.mjs
index d1a78ad7..a39b9bd8 100644
--- a/scripts/e2e/mcp-sessions.mjs
+++ b/scripts/e2e/mcp-sessions.mjs
@@ -77,7 +77,7 @@ export async function mcpSessionsJourney(page, fixture) {
await expect(page.getByText("Actions", { exact: true }).last()).toBeVisible();
expect(await terminalTabs.count()).toBe(terminalCountBefore); // Selecting a node must not launch tools.
const terminalAction = terminalStep.actions.find(action => action.terminalContext);
- await page.locator(`summary[data-slot="session-action-summary"][data-action-ref="${terminalAction.ref}"]`).click();
+ await page.locator(`details[data-slot="session-action"][data-action-ref="${terminalAction.ref}"] > summary`).click();
await expect(page.getByRole("button", { name: /Open terminal here/ }).first()).toBeVisible();
expect(await terminalTabs.count()).toBe(terminalCountBefore); // Inspecting an action is still read-only.
await page.getByRole("button", { name: /Open terminal here/ }).first().click();