This commit is contained in:
Dobromir Popov
2026-07-09 12:16:12 +02:00
parent 1d3fb060ae
commit 3abd4176d7
6 changed files with 300 additions and 5 deletions

View File

@@ -28,6 +28,10 @@ def test_dashboard_served_with_all_panels():
).read().decode()
for panel in PANELS:
assert panel in html
assert '<link rel="icon" type="image/svg+xml" href="/favicon.svg">' in html
favicon = urllib.request.urlopen(f"http://127.0.0.1:{port}/favicon.svg").read()
assert favicon.startswith(b"<svg")
assert b"meshnet" in favicon
assert "<script>" in html # polling client embedded, no build step
assert "resolveModelGroup" in html
assert "buildModelAliasMap" in html