Add HTML5 object summary
This commit is contained in:
@@ -137,6 +137,7 @@ def test_html5_server_rendered_project_editor(tmp_path: Path):
|
||||
assert ".object-actions .button[data-html5-object-action-active" in editor.text
|
||||
assert ".inline-actions" in editor.text
|
||||
assert ".object-breadcrumb" in editor.text
|
||||
assert ".object-summary" in editor.text
|
||||
assert "Проверить" in editor.text
|
||||
assert "__next" not in editor.text
|
||||
|
||||
@@ -329,6 +330,13 @@ def test_html5_object_context_fragment(tmp_path: Path):
|
||||
assert "data-html5-object-breadcrumb" in context.text
|
||||
assert "<span>Документ</span>" in context.text
|
||||
assert "<span>ЗаказПокупателя</span>" in context.text
|
||||
assert "data-html5-object-summary" in context.text
|
||||
assert "1 attrs" in context.text
|
||||
assert "1 tables" in context.text
|
||||
assert "1 commands" in context.text
|
||||
assert "1 access rules" in context.text
|
||||
assert "1 runtime signals" in context.text
|
||||
assert "1 privacy markers" in context.text
|
||||
assert "Object context · overview" in context.text
|
||||
assert 'data-html5-object-action-active="true"' in context.text
|
||||
assert 'aria-current="page"' in context.text
|
||||
|
||||
Reference in New Issue
Block a user