Add server file manager workflow
This commit is contained in:
@@ -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");
|
||||
|
||||
Reference in New Issue
Block a user