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

This commit is contained in:
2026-05-17 01:43:27 +03:00
parent 571d85e53c
commit f1584023ff
2 changed files with 14 additions and 1 deletions
+3
View File
@@ -165,7 +165,9 @@ def test_html5_server_rendered_project_editor(tmp_path: Path):
assert "data-html5-source" in source.text
assert "data-html5-source-name" in source.text
assert "data-html5-lineage-id" in source.text
assert "data-html5-source-summary" in source.text
assert "Lines" in source.text
assert "chars" in source.text
assert "Проверить" in source.text
assert "<html" not in source.text
@@ -361,6 +363,7 @@ def test_html5_object_context_fragment(tmp_path: Path):
assert 'hx-swap-oob="outerHTML"' in context.text
assert "Карта связей · focus" in context.text
assert "data-html5-source" in context.text
assert "data-html5-source-summary" in context.text
assert "ObjectModule.bsl" in context.text
assert "Соединение = Новый HTTPСоединение" in context.text
assert "data-html5-symbol-detail" in context.text