Make HTML5 flowchart nodes navigable
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user