Simplify server detail actions
This commit is contained in:
@@ -32,6 +32,16 @@ describe("ServerDetailPage config write approval", () => {
|
||||
expect(serversPageSource).toContain("<UsageMeter");
|
||||
});
|
||||
|
||||
it("keeps the detail header focused on a single shared action row", () => {
|
||||
expect(serverDetailPageSource).not.toContain("Run 心跳");
|
||||
expect(serverDetailPageSource).not.toContain("已自动附着");
|
||||
expect(serverDetailPageSource).toContain('<span>返回列表</span>');
|
||||
expect(serverDetailPageSource).toContain('<span>刷新</span>');
|
||||
expect(serverDetailPageSource).toContain('<span>打开终端</span>');
|
||||
expect(serverDetailPageSource).toContain('<span>启动</span>');
|
||||
expect(serverDetailPageSource).toContain('<span>停止</span>');
|
||||
});
|
||||
|
||||
it("maps platform diff preview responses into the display diff without losing approval metadata", () => {
|
||||
const view = configDiffViewFromPreview(preview);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user