Harden graph explorer controls

This commit is contained in:
2026-05-18 18:31:25 +02:00
parent eea1156fd6
commit 8a31258785
2 changed files with 88 additions and 2 deletions

View File

@@ -187,9 +187,13 @@ def test_registry_serves_graph_explorer_exports(tmp_path: Path) -> None:
assert payload["metrics"]["registered_only_repo_count"] == 1
assert content_type.startswith("text/html")
assert 'id="graph-canvas"' in page
assert 'id="mode-select"' in page
assert 'id="layout-select"' in page
assert 'id="profile-select"' in page
assert "cytoscape.min.js" in page
assert "/exports/graph-explorer/manifest" in page
assert 'data-override="hide"' in page
assert 'data-profile-action="save"' in page
finally:
server.shutdown()
server.server_close()