Link HTML5 object selection to flowchart
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user