diff --git a/Gemfile.lock b/Gemfile.lock index b4f11f1fc..f006d7869 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -134,7 +134,7 @@ GEM govuk_personalisation (0.12.0) plek (>= 1.9.0) rails (>= 6, < 8) - govuk_publishing_components (29.13.0) + govuk_publishing_components (29.15.1) govuk_app_config govuk_personalisation (>= 0.7.0) kramdown diff --git a/test/integration/guide_test.rb b/test/integration/guide_test.rb index 8bee5aa18..f7ed79747 100644 --- a/test/integration/guide_test.rb +++ b/test/integration/guide_test.rb @@ -12,7 +12,7 @@ class GuideTest < ActionDispatch::IntegrationTest assert_has_component_title(@content_item["title"]) assert page.has_css?("h1", text: @content_item["details"]["parts"].first["title"]) - assert page.has_css?(".gem-c-pagination") + assert page.has_css?(".govuk-pagination") assert page.has_css?(".govuk-link.govuk-link--no-visited-state[href$='/print']", text: "View a printable version of the whole guide") end @@ -59,14 +59,14 @@ class GuideTest < ActionDispatch::IntegrationTest test "does not show guide navigation and print link if in a step by step and hide_chapter_navigation is true" do setup_and_visit_content_item("guide-with-step-navs-and-hide-navigation") - assert_not page.has_css?(".gem-c-pagination") + assert_not page.has_css?(".govuk-pagination") assert_not page.has_css?(".govuk-link.govuk-link--no-visited-state[href$='/print']") end test "shows guide navigation and print link if not in a step by step and hide_chapter_navigation is true" do setup_and_visit_content_item("guide-with-hide-navigation") - assert page.has_css?(".gem-c-pagination") + assert page.has_css?(".govuk-pagination") assert page.has_css?(".govuk-link.govuk-link--no-visited-state[href$='/print']", text: "View a printable version of the whole guide") end diff --git a/test/integration/hmrc_manual_section_test.rb b/test/integration/hmrc_manual_section_test.rb index 532e6d7c3..3eba34e81 100644 --- a/test/integration/hmrc_manual_section_test.rb +++ b/test/integration/hmrc_manual_section_test.rb @@ -65,7 +65,7 @@ class HmrcManualSectionTest < ActionDispatch::IntegrationTest test "renders previous and next navigation" do setup_and_visit_manual_section - within ".gem-c-pagination" do + within ".govuk-pagination" do assert page.has_link?( I18n.t("manuals.previous_page"), href: "/hmrc-internal-manuals/vat-government-and-public-bodies/vatgpb1000", diff --git a/test/integration/travel_advice_test.rb b/test/integration/travel_advice_test.rb index 60ccc3b7d..b0bebe566 100644 --- a/test/integration/travel_advice_test.rb +++ b/test/integration/travel_advice_test.rb @@ -22,7 +22,7 @@ class TravelAdviceTest < ActionDispatch::IntegrationTest assert page.has_css?(".part-navigation-container nav li a[href*=\"#{part['slug']}\"]", text: part["title"]) end - assert page.has_css?(".gem-c-pagination") + assert page.has_css?(".govuk-pagination") assert page.has_css?('.govuk-link.govuk-link--no-visited-state[href$="/print"]', text: "View a printable version of the whole guide") end