favicon
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user