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