Link HTML5 object selection to flowchart
CI / python (push) Has been cancelled
CI / rust (push) Has been cancelled

This commit is contained in:
2026-05-17 00:40:22 +03:00
parent 7583851dc4
commit 70c6424c8c
3 changed files with 34 additions and 16 deletions
+4
View File
@@ -325,6 +325,9 @@ def test_html5_object_context_fragment(tmp_path: Path):
assert "https://api.example.local/orders" in context.text
assert "OUTBOUND" in context.text
assert "data-html5-object-context-item=\"flow-edge\"" in context.text
assert "data-html5-flowchart" in context.text
assert 'hx-swap-oob="outerHTML"' in context.text
assert "Карта связей · focus" in context.text
assert "1 signals" in context.text
assert "1 errors" in context.text
assert "125.0 ms" in context.text
@@ -362,6 +365,7 @@ def test_html5_flowchart_fragment(tmp_path: Path):
assert flowchart.status_code == 200
assert "text/html" in flowchart.headers["content-type"]
assert "data-html5-flowchart" in flowchart.text
assert 'hx-swap-oob="outerHTML"' not in flowchart.text
assert "Карта связей" in flowchart.text
assert "Nodes" in flowchart.text
assert "Edges" in flowchart.text