Add server file manager workflow

This commit is contained in:
npc0-hue
2026-08-24 12:56:55 +08:00
parent dc9b0eaf2a
commit 33d3a13e74
20 changed files with 1961 additions and 22 deletions
@@ -64,6 +64,9 @@ describe("ServerDetailPage config write approval", () => {
});
it("keeps artifact transfer and backend internals out of server detail", () => {
expect(serverDetailPageSource).toContain("ServerFilesSection");
expect(serverDetailPageSource).toContain("getServerFileWorkspace");
expect(serverDetailPageSource).toContain("downloadServerFileResult");
expect(serverDetailPageSource).not.toContain("openArtifactDownload");
expect(serverDetailPageSource).not.toContain("readArtifactContent");
expect(serverDetailPageSource).not.toContain("浏览器制品传输");
@@ -130,6 +133,7 @@ describe("ServerDetailPage config write approval", () => {
it("routes plugin-declared pages into server detail tabs", () => {
expect(serverDetailPageSource).toContain("serverDetailSectionEntries(readyPlugin)");
expect(serverDetailPageSource).toContain("plugin:${page.key}");
expect(serverDetailPageSource).toContain('section === "files"');
expect(serverDetailPageSource).toContain("PluginPageSection");
expect(serverDetailPageSource).toContain("PluginPageHostPage");
expect(serverDetailPageSource).not.toContain("ScumFileManagementSection");