Skip to content

Commit

Permalink
change review page button copy to 'Confirm'
Browse files Browse the repository at this point in the history
  • Loading branch information
Harriethw committed Dec 4, 2024
1 parent 46dcad5 commit 5a34340
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 5 deletions.
4 changes: 4 additions & 0 deletions features/step_definitions/previously_published_steps.rb
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,10 @@
click_button "Save"
end

And(/^I click confirm$/) do
click_button "Confirm"
end

And(/^I select a previously published date in the future$/) do
check "This document has previously been published on another website"
within "#edition_previously_published" do
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,9 @@
<div class="govuk-button-group govuk-!-margin-bottom-6">
<div>
<%= render "govuk_publishing_components/components/button", {
text: "Accept and publish",
name: "accept_and_publish",
value: "Accept and publish",
text: "Confirm",
name: "confirm",
value: "Confirm",
type: "submit",
} %>
<% end %>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ Feature: Create a content object
| title | email_address | department | organisation | instructions_to_publishers |
| my email address | foo@example.com | Somewhere | Ministry of Example | this is important |
Then I am asked to review my answers
When I accept and publish
When I click confirm
Then the edition should have been created successfully
And I should be taken to the confirmation page

Expand Down Expand Up @@ -86,7 +86,7 @@ Feature: Create a content object
| title |
| my email address 2 |
Then I am asked to review my answers
When I accept and publish
When I click confirm
Then the edition should have been created successfully
And I should be taken to the confirmation page

Expand Down

0 comments on commit 5a34340

Please sign in to comment.