diff --git a/app/views/content_items/manuals/_manual_section_layout.html.erb b/app/views/content_items/manuals/_manual_section_layout.html.erb index a90274d0f..c152f9d71 100644 --- a/app/views/content_items/manuals/_manual_section_layout.html.erb +++ b/app/views/content_items/manuals/_manual_section_layout.html.erb @@ -14,7 +14,7 @@
<%= render "govuk_publishing_components/components/heading", { text: @content_item.document_heading.join(" - "), - font_size: "m", + font_size: "l", id: "section-title", heading_level: 1, margin_bottom: 4, diff --git a/test/integration/manual_section_test.rb b/test/integration/manual_section_test.rb index 430079d4e..e8db6c50b 100644 --- a/test/integration/manual_section_test.rb +++ b/test/integration/manual_section_test.rb @@ -50,7 +50,7 @@ class ManualSectionTest < ActionDispatch::IntegrationTest test "renders document heading" do setup_and_visit_manual_section - within ".govuk-heading-l" do + within "#manual-title.govuk-heading-l" do assert page.has_text?(@manual["title"]) end end