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(e2e): scope MCP refresh to its tab panel

Abdurrahman Fakhrul59db44da18eb
diff --git a/docs/CHANGELOG.md b/docs/CHANGELOG.md
index afa622a7..51682532 100644
--- a/docs/CHANGELOG.md
+++ b/docs/CHANGELOG.md
@@ -25,6 +25,7 @@ this is the *what*, and it is what Settings → Account → About shows as “Wh
**Tests**
+- `e2e` scope MCP refresh to its tab panel
- `managed-apps` wait for durable job finalization before cleanup
- `workflows` complete waited receipt fixture schema
- `oauth` receive consent callbacks outside the shell
diff --git a/docs/PROGRESS.md b/docs/PROGRESS.md
index 5f4a3500..54c8c9a7 100644
--- a/docs/PROGRESS.md
+++ b/docs/PROGRESS.md
@@ -10,6 +10,8 @@ The personal-note journey also exposed a Code hydration bug: the initial empty b
A follow-up parse experiment found quadratic work on long unfinished bracket sequences. Inline links now stop at nested bracket/parenthesis delimiters, retaining unfinished Markdown as literal text instead of repeatedly scanning the remaining note. Large malformed-note regressions preserve text and keep links inert; the reader remains dependency-free and bounded by the existing note limit.
+The release fixture scopes extension refresh to its MCP tab panel: the shell window also exposes a Refresh action, so a page-wide selector was ambiguous. Discovery and its actual file-backed assertions remain mandatory.
+
## 2026-10-10: Close the eight findings from the 1acc1424 cloud scan
Candidate indexes use canonical credential guards during walking, seeding, cache reuse and preview reads; version 2 invalidates older caches. Git diffs use NUL-delimited filename metadata and literal pathspecs, omit protected patches/renames and redact recognizable credentials while retaining file statistics and ordinary source.
diff --git a/scripts/e2e/store-extensions.mjs b/scripts/e2e/store-extensions.mjs
index 99f777b4..78291c35 100644
--- a/scripts/e2e/store-extensions.mjs
+++ b/scripts/e2e/store-extensions.mjs
@@ -42,7 +42,7 @@ export async function storeExtensionsJourney(page, fixture) {
const script = path.join(fixture.dir, ".mso-host-mcp/fixture.mjs");
await writeFile(script, `import readline from 'node:readline';readline.createInterface({input:process.stdin}).on('line',l=>{const m=JSON.parse(l);if(!m.id)return;const result=m.method==='initialize'?{protocolVersion:m.params.protocolVersion,capabilities:{tools:{}},serverInfo:{name:'fixture',version:'1'}}:{tools:[{name:'fixture_read',inputSchema:{type:'object',properties:{}}}]};process.stdout.write(JSON.stringify({jsonrpc:'2.0',id:m.id,result})+'\\n')});`);
await writeFile(manifest, JSON.stringify({ mcpServers: { fixture: { command: process.execPath, args: [script] } } }));
- await page.getByRole("button", { name: "Refresh", exact: true }).click();
+ await page.getByRole("tabpanel", { name: "MCP", exact: true }).getByRole("button", { name: "Refresh", exact: true }).click();
const dynamic = await card(page, "fixture");
await dynamic.getByRole("button", { name: "Check tools", exact: true }).click();
await expect(dynamic.getByText("fixture_read", { exact: true })).toBeVisible();