Fix server file root loading and refresh
This commit is contained in:
@@ -87,12 +87,15 @@ describe("ServerDetailPage config write approval", () => {
|
||||
|
||||
it("keeps the server file manager list-first without plugin declaration gates", () => {
|
||||
expect(serverDetailPageSource).toContain("server-file-editor-overlay");
|
||||
expect(serverDetailPageSource).toContain("refreshRuntimeList({ silent: true })");
|
||||
expect(serverDetailPageSource).toContain("window.setInterval(() => void loadList(), 2000)");
|
||||
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");
|
||||
expect(serverDetailPageSource).not.toContain("当前目录暂无缓存结果;点击刷新目录读取实时文件。");
|
||||
});
|
||||
|
||||
it("keeps run distribution and client-manager workflows out of server detail tabs", () => {
|
||||
|
||||
Reference in New Issue
Block a user