feat(webui): consolidate client-info into main dashboard with primary and settings subtabs layout
CI Test Suite / Run Component Tests & Pipeline Verification (push) Successful in 2m5s

This commit is contained in:
2026-10-11 10:24:44 +02:00
parent 6b281626da
commit fc97964e95
5 changed files with 862 additions and 107 deletions
+10 -5
View File
@@ -36,6 +36,8 @@ class TestServerComponent(unittest.TestCase):
os.remove(self.test_config)
except Exception:
pass
if "config" in Server.SERVER_STATE and isinstance(Server.SERVER_STATE["config"], dict):
Server.SERVER_STATE["config"]["db_path"] = Server.DEFAULT_DB_FILE
def test_first_run_config_and_keypair_generation(self):
config = Server.load_or_init_config(self.test_config)
@@ -822,13 +824,16 @@ class TestServerComponent(unittest.TestCase):
html_content = resp.body.decode("utf-8")
# Verify clean tab buttons without number suffixes
self.assertIn('>💻 Fleet Forwarders</button>', html_content)
self.assertIn('>🤖 Hermes AI & Tokens</button>', html_content)
self.assertIn('>📊 Verified Telemetry</button>', html_content)
self.assertIn('>📜 Sub-CA & Licensing</button>', html_content)
self.assertIn('>💻 Forwarders</button>', html_content)
self.assertIn('>🏢 Server Roles</button>', html_content)
self.assertIn('>📊 Telemetry</button>', html_content)
self.assertIn('>📜 Events</button>', html_content)
self.assertIn('>⚙️ Settings', html_content)
self.assertIn('>📜 Sub-CA &amp; Licensing</button>', html_content)
self.assertIn('>💾 DB Engine</button>', html_content)
self.assertIn('>🤖 Hermes AI &amp; Tokens</button>', html_content)
self.assertNotIn('🟢 UNLOCKED', html_content)
self.assertNotIn('Fleet Forwarders (', html_content)
self.assertNotIn('Forwarders (', html_content)
# Verify Licensed Capabilities card is present
self.assertIn('Licensed Capabilities &amp; Feature Modules', html_content)