Make HTML5 flowchart nodes navigable
CI / python (push) Has been cancelled
CI / rust (push) Has been cancelled

This commit is contained in:
2026-05-17 01:27:05 +03:00
parent 6cc669f694
commit a735048270
2 changed files with 31 additions and 8 deletions
+2
View File
@@ -341,6 +341,7 @@ 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-focus" in context.text
assert "data-html5-flowchart" in context.text
assert 'hx-swap-oob="outerHTML"' in context.text
assert "Карта связей · focus" in context.text
@@ -427,6 +428,7 @@ def test_html5_flowchart_fragment(tmp_path: Path):
assert "Depth 3" in flowchart.text
assert "depth=2" in flowchart.text
assert 'hx-target="[data-html5-flowchart]"' in flowchart.text
assert "data-html5-flowchart-focus" in flowchart.text
assert 'hx-swap-oob="outerHTML"' not in flowchart.text
assert "Карта связей" in flowchart.text
assert "Nodes" in flowchart.text