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
CI Test Suite / Run Component Tests & Pipeline Verification (push) Successful in 2m21s
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user