Add HTML5 object action links
CI / python (push) Has been cancelled
CI / rust (push) Has been cancelled

This commit is contained in:
2026-05-17 00:57:44 +03:00
parent f830c4290f
commit 61cfc9d1cd
2 changed files with 32 additions and 0 deletions
+3
View File
@@ -315,6 +315,9 @@ def test_html5_object_context_fragment(tmp_path: Path):
assert "text/html" in context.headers["content-type"]
assert "data-html5-object-context" in context.text
assert "Документ.ЗаказПокупателя" in context.text
assert "data-html5-object-actions" in context.text
assert f"/projects/{project_id}/objects/schema/%D0%94%D0%BE%D0%BA%D1%83%D0%BC%D0%B5%D0%BD%D1%82.%D0%97%D0%B0%D0%BA%D0%B0%D0%B7%D0%9F%D0%BE%D0%BA%D1%83%D0%BF%D0%B0%D1%82%D0%B5%D0%BB%D1%8F" in context.text
assert f"/projects/{project_id}/objects/impact/%D0%94%D0%BE%D0%BA%D1%83%D0%BC%D0%B5%D0%BD%D1%82.%D0%97%D0%B0%D0%BA%D0%B0%D0%B7%D0%9F%D0%BE%D0%BA%D1%83%D0%BF%D0%B0%D1%82%D0%B5%D0%BB%D1%8F" in context.text
assert "Контрагент" in context.text
assert "Товары" in context.text
assert "ФормаДокумента" in context.text