Add HTML5 symbol reference summary
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user