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