Skip to content

Commit

Permalink
Change title of review links page
Browse files Browse the repository at this point in the history
This makes it clearer what the purpose of the page is
  • Loading branch information
pezholio committed Dec 4, 2024
1 parent 6f91e66 commit 81de90a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<% content_for :context, context %>
<% content_for :title, "Where the change will appear" %>
<% content_for :title, "Preview #{@content_block_document.block_type.humanize.downcase}" %>
<% content_for :title_margin_bottom, 4 %>
<% content_for :back_link do %>
<%= render "govuk_publishing_components/components/back_link", {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -489,7 +489,7 @@ def should_show_edit_form_for_email_address_content_block(document_title, email_
end

Then(/^I am shown where the changes will take place$/) do
expect(page).to have_selector("h1", text: "Where the change will appear")
expect(page).to have_selector("h1", text: "Preview email address")

@dependent_content.each do |item|
assert_text item["title"]
Expand Down

0 comments on commit 81de90a

Please sign in to comment.