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

This commit is contained in:
2026-05-17 02:12:07 +03:00
parent 74369397c2
commit 04cba89580
2 changed files with 21 additions and 0 deletions
+3
View File
@@ -2700,6 +2700,9 @@ def test_authoring_context_and_completion_preview(tmp_path: Path):
assert html5_detail.status_code == 200
assert "text/html" in html5_detail.headers["content-type"]
assert "data-html5-authoring-detail" in html5_detail.text
assert "data-html5-authoring-detail-summary" in html5_detail.text
assert "rollback ready" in html5_detail.text
assert "diff lines" in html5_detail.text
assert "Rollback preview" in html5_detail.text
assert "data-html5-authoring-rollback-form" in html5_detail.text
assert f'hx-post="/html5/projects/{project_id}/authoring/changes/{apply_payload["change_id"]}/apply-rollback"' in html5_detail.text