Add HTML5 flowchart context links
CI / python (push) Has been cancelled
CI / rust (push) Has been cancelled

This commit is contained in:
2026-05-17 01:31:35 +03:00
parent a735048270
commit 3e40ba64a8
2 changed files with 57 additions and 1 deletions
+2
View File
@@ -135,6 +135,7 @@ def test_html5_server_rendered_project_editor(tmp_path: Path):
assert "htmx-ext-sse" in editor.text
assert "client-js: htmx+sse only" in editor.text
assert ".object-actions .button[data-html5-object-action-active" in editor.text
assert ".inline-actions" in editor.text
assert "Проверить" in editor.text
assert "__next" not in editor.text
@@ -342,6 +343,7 @@ def test_html5_object_context_fragment(tmp_path: Path):
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-context" in context.text
assert "data-html5-flowchart" in context.text
assert 'hx-swap-oob="outerHTML"' in context.text
assert "Карта связей · focus" in context.text