Group game operation sections

This commit is contained in:
npc0-hue
2026-08-27 08:26:42 +08:00
parent 305fdbdb74
commit feec02dc14
3 changed files with 29 additions and 26 deletions
@@ -173,6 +173,8 @@ 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("ServerDetailSectionNav");
expect(serverDetailPageSource).toContain('aria-label="游戏运营功能"');
expect(serverDetailPageSource).toContain('section === "files"');
expect(serverDetailPageSource).toContain("PluginPageSection");
expect(serverDetailPageSource).toContain("PluginPageHostPage");