diff --git a/templates/platform_ui/command_center_v2.html b/templates/platform_ui/command_center_v2.html index 5a62efa..799b447 100644 --- a/templates/platform_ui/command_center_v2.html +++ b/templates/platform_ui/command_center_v2.html @@ -899,13 +899,13 @@ diff --git a/tests/test_platform_ui.py b/tests/test_platform_ui.py index 9bcb958..fb355cb 100644 --- a/tests/test_platform_ui.py +++ b/tests/test_platform_ui.py @@ -197,3 +197,18 @@ def test_command_center_v2_renders_and_links_to_chat_index(client): assert response.status_code == 200 assert "试剂盒临床注册文件准备与审核智能体平台" in content assert reverse("chat:index") in content + + +def test_command_center_v2_uses_unified_four_entry_labels(client): + response = client.get(reverse("platform_ui:command-center-v2")) + + content = response.content.decode("utf-8") + assert response.status_code == 200 + assert "审核智能体" in content + assert "资料包" in content + assert "知识库" in content + assert "处理历史" in content + assert "资料包管理" not in content + assert "法规库" not in content + assert "智能审核" not in content + assert "统计分析" not in content