Add HTML5 symbol reference summary
CI / python (push) Has been cancelled
CI / rust (push) Has been cancelled

This commit is contained in:
2026-05-17 01:48:01 +03:00
parent f1584023ff
commit 2aaf5d0082
2 changed files with 41 additions and 3 deletions
+6
View File
@@ -175,6 +175,10 @@ def test_html5_server_rendered_project_editor(tmp_path: Path):
assert detail.status_code == 200
assert "text/html" in detail.headers["content-type"]
assert "data-html5-symbol-detail" in detail.text
assert "data-html5-symbol-summary" in detail.text
assert "references" in detail.text
assert "data-html5-symbol-source" in detail.text
assert 'hx-target="[data-html5-source]"' in detail.text
assert "Проверить" in detail.text
assert "<html" not in detail.text
@@ -367,6 +371,8 @@ def test_html5_object_context_fragment(tmp_path: Path):
assert "ObjectModule.bsl" in context.text
assert "Соединение = Новый HTTPСоединение" in context.text
assert "data-html5-symbol-detail" in context.text
assert "data-html5-symbol-summary" in context.text
assert "data-html5-symbol-source" in context.text
assert "Символ · DOCUMENT" in context.text
assert "HAS_ATTRIBUTE" in context.text
assert "data-html5-project-report" in context.text