diff --git a/app/helpers/application_helper.rb b/app/helpers/application_helper.rb
index e63a05ffa7..4aba2dd2fc 100644
--- a/app/helpers/application_helper.rb
+++ b/app/helpers/application_helper.rb
@@ -28,11 +28,6 @@ def journey_service_name(routing_name = nil)
t("#{namespace}.journey_name")
end
- def journey_description(routing_name)
- namespace = Journeys.for_routing_name(routing_name)::I18N_NAMESPACE
- t("#{namespace}.claim_description")
- end
-
def feedback_email(routing_name)
namespace = Journeys.for_routing_name(routing_name)::I18N_NAMESPACE
t("#{namespace}.feedback_email")
diff --git a/app/views/claims/existing_session.html.erb b/app/views/claims/existing_session.html.erb
index babd56cbee..704b12c5be 100644
--- a/app/views/claims/existing_session.html.erb
+++ b/app/views/claims/existing_session.html.erb
@@ -3,28 +3,27 @@
<%= form_with url: start_new_path(journey: current_journey_routing_name), builder: GOVUKDesignSystemFormBuilder::FormBuilder do |f| %>
<% radio_options = [
- OpenStruct.new(id: true, name: "Yes, start claim #{journey_description(current_journey_routing_name)} and lose my progress on my first claim"),
- OpenStruct.new(id: false, name: "No, finish the claim I have in progress"),
- ] %>
+ OpenStruct.new(id: false, name: "Continue with the eligibility check that you have already started"),
+ OpenStruct.new(id: true, name: "Start a new eligibility check")] %>
- <%= f.govuk_collection_radio_buttons :start_new_claim, radio_options, :id, :name,
- class: "govuk-!-margin-bottom-6",
- legend: {
- text: "Are you sure you want to start a claim #{journey_description(current_journey_routing_name)}?",
- tag: "h1",
- size: "xl",
- class: "govuk-!-margin-bottom-9"
- } do %>
-
- You have a claim in progress <%= journey_description(@existing_session.journey) %>.
-
+ <%= f.govuk_collection_radio_buttons :start_new_claim, radio_options, :id, :name,
+ class: "govuk-!-margin-bottom-6",
+ legend: {
+ text: "You have already started an eligibility check",
+ tag: "h1",
+ size: "xl",
+ class: "govuk-!-margin-bottom-9"
+ } do %>
+
+ You can only have one eligibility check in progress at any time. If you want to start another check, we will delete the data on the check you have already started.
+
-
- You will lose your progress on this claim if you start a different claim before you send it.
-
- <% end %>
+
+ Choose what you want to do:
+
+ <% end %>
- <%= f.govuk_submit "Submit", secondary: true %>
+ <%= f.govuk_submit "Continue" %>
<% end %>
diff --git a/spec/features/combined_teacher_claim_journey_spec.rb b/spec/features/combined_teacher_claim_journey_spec.rb
index 2d8e2a7bcf..21b8725c2c 100644
--- a/spec/features/combined_teacher_claim_journey_spec.rb
+++ b/spec/features/combined_teacher_claim_journey_spec.rb
@@ -20,8 +20,8 @@
click_on "Start now"
expect(page).to have_current_path("/#{Journeys::AdditionalPaymentsForTeaching::ROUTING_NAME}/existing-session")
- choose "Yes, start claim for an additional payment for teaching and lose my progress on my first claim"
- click_on "Submit"
+ choose "Start a new eligibility check"
+ click_on "Continue"
skip_tid
diff --git a/spec/features/switching_policies_spec.rb b/spec/features/switching_policies_spec.rb
index 0cdd3885a4..f9f79be708 100644
--- a/spec/features/switching_policies_spec.rb
+++ b/spec/features/switching_policies_spec.rb
@@ -19,15 +19,15 @@
expect(page.title).to have_text(I18n.t("additional_payments.journey_name"))
expect(page.find("header")).to have_text(I18n.t("additional_payments.journey_name"))
- choose "Yes, start claim for an additional payment for teaching and lose my progress on my first claim"
- click_on "Submit"
+ choose "Start a new eligibility check"
+ click_on "Continue"
expect(page).to have_text("You can sign in or set up a DfE Identity account to make it easier to claim additional payments.")
end
scenario "a user can choose to continue their claim" do
- choose "No, finish the claim I have in progress"
- click_on "Submit"
+ choose "Continue with the eligibility check that you have already started"
+ click_on "Continue"
expect(page).to have_text(claim_school_question)
end
@@ -55,9 +55,9 @@
have_text(I18n.t("get_a_teacher_relocation_payment.journey_name"))
)
- choose "Yes, start claim for a get a teacher relocation payment and lose my progress on my first claim"
+ choose "Start a new eligibility check"
- click_on "Submit"
+ click_on "Continue"
expect(page.title).to include(
"What is your employment status? — Get a teacher relocation payment"
@@ -65,8 +65,8 @@
end
scenario "a user can choose to continue their claim" do
- choose "No, finish the claim I have in progress"
- click_on "Submit"
+ choose "Continue with the eligibility check that you have already started"
+ click_on "Continue"
expect(page.title).to include("Claim additional payments for teaching")
end
@@ -85,13 +85,13 @@
end
scenario "a user can switch to a different policy after starting a claim on another" do
- expect(page).to have_content "Are you sure you want to start a claim for an additional payment for teaching?"
+ expect(page).to have_content "You have already started an eligibility check"
- expect(page).to have_content "You have a claim in progress for a get a teacher relocation payment"
+ expect(page).to have_content "You can only have one eligibility check in progress at any time."
- choose "Yes, start claim for an additional payment for teaching and lose my progress on my first claim"
+ choose "Start a new eligibility check"
- click_on "Submit"
+ click_on "Continue"
end
end
@@ -112,12 +112,12 @@
visit new_claim_path("additional-payments")
expect(page).to(have_text(
- "You have a claim in progress for an additional payment for teaching."
+ "You have already started an eligibility check"
))
- choose "No, finish the claim I have in progress"
+ choose "Continue with the eligibility check that you have already started"
- click_on "Submit"
+ click_on "Continue"
expect(page).to have_text(
"Are you currently teaching as a qualified teacher?"
@@ -129,7 +129,7 @@
start_student_loans_claim
visit new_claim_path("additional-payments")
- click_on "Submit"
+ click_on "Continue"
expect(page).to have_text("Select yes if you want to start a claim for an additional payment for teaching")
end
diff --git a/spec/helpers/application_helper_spec.rb b/spec/helpers/application_helper_spec.rb
index e8ab0b5249..f96eae1c39 100644
--- a/spec/helpers/application_helper_spec.rb
+++ b/spec/helpers/application_helper_spec.rb
@@ -58,16 +58,6 @@
end
end
- describe "#journey_description" do
- it "returns description for student loans" do
- expect(journey_description("student-loans")).to eq t("student_loans.claim_description")
- end
-
- it "returns description for early career payments" do
- expect(journey_description("additional-payments")).to eq t("additional_payments.claim_description")
- end
- end
-
describe "#information_provided_further_details_with_link" do
subject { information_provided_further_details_with_link(policy:) }