Make server file manager list-first
This commit is contained in:
@@ -85,6 +85,16 @@ describe("ServerDetailPage config write approval", () => {
|
||||
expect(serverDetailPageSource).not.toContain("Bearer ");
|
||||
});
|
||||
|
||||
it("keeps the server file manager list-first without plugin declaration gates", () => {
|
||||
expect(serverDetailPageSource).toContain("server-file-editor-overlay");
|
||||
expect(serverDetailPageSource).not.toContain("server-file-layout");
|
||||
expect(serverDetailPageSource).not.toContain("未声明目录");
|
||||
expect(serverDetailPageSource).not.toContain("插件尚未声明");
|
||||
expect(serverDetailPageSource).not.toContain("插件声明为可编辑");
|
||||
expect(serverDetailPageSource).not.toContain("entry.editable");
|
||||
expect(serverDetailPageSource).not.toContain("entry.downloadable");
|
||||
});
|
||||
|
||||
it("keeps run distribution and client-manager workflows out of server detail tabs", () => {
|
||||
expect(serverDetailPageSource).not.toContain('id="run-builder"');
|
||||
expect(serverDetailPageSource).not.toContain("getServerRuntimeActions");
|
||||
|
||||
Reference in New Issue
Block a user