diff --git a/app/views/form/page.html.erb b/app/views/form/page.html.erb index dbfae1b6f..8a545da0c 100644 --- a/app/views/form/page.html.erb +++ b/app/views/form/page.html.erb @@ -78,7 +78,7 @@ <% if all_questions_with_errors.count > 1 %>
<% end %> diff --git a/spec/features/form/page_routing_spec.rb b/spec/features/form/page_routing_spec.rb index 0a0b7307f..42a2c25fb 100644 --- a/spec/features/form/page_routing_spec.rb +++ b/spec/features/form/page_routing_spec.rb @@ -285,7 +285,7 @@ RSpec.describe "Form Page Routing" do click_button("Save and continue") expect(page).to have_current_path("/lettings-logs/#{id}/income-amount") - expect(page).to have_link("See all related answers", href: "/lettings-logs/#{id}/check-your-errors?original_page_id=income_amount&related_question_ids%5B%5D=earnings&related_question_ids%5B%5D=hhmemb&related_question_ids%5B%5D=ecstat1&related_question_ids%5B%5D=ecstat2") + expect(page).to have_button("See all related answers") end end end