Remove Best Practice Baseline KPI card and locked banner from Server Roles and client directory
CI Test Suite / Run Component Tests & Pipeline Verification (push) Successful in 2m21s

This commit is contained in:
2026-10-11 16:29:31 +02:00
parent 62d4993e74
commit 39e0e6f219
2 changed files with 7 additions and 25 deletions
@@ -219,6 +219,11 @@ class TestServerRolesAndBestPractices(unittest.TestCase):
self.assertIn("id=\"telemetryModal\"", html)
self.assertIn("id=\"modalJsonContent\"", html)
# Server Roles & Client Directory tab should not contain locked/inactive Best Practice Baseline card or banner
server_roles_pane = html.split('id="tabPane-server-roles"')[1].split('id="tabPane-')[0]
self.assertNotIn("Best Practice Baseline", server_roles_pane)
self.assertNotIn("Requires 'best_practices' license capability", server_roles_pane)
def test_api_client_info_endpoint(self):
"""Verifies GET /api/client-info provides structured JSON inventory."""
res = self.client.get("/api/client-info", headers=self.auth_headers)