From 8a46135e365707d4ad754a9153d022c5b2ad7c46 Mon Sep 17 00:00:00 2001 From: vacabor <166112501+vacabor@users.noreply.github.com> Date: Thu, 17 Oct 2024 10:30:23 +0100 Subject: [PATCH] [LUPEYALPHA-987 / LUPEYALPHA-988] EY Practitioner personal-bank-account & gender pages (#3306) --- .../early_years_payment/practitioner/slug_sequence.rb | 2 ++ .../practitioner/happy_path_spec.rb | 11 +++++++++++ 2 files changed, 13 insertions(+) diff --git a/app/models/journeys/early_years_payment/practitioner/slug_sequence.rb b/app/models/journeys/early_years_payment/practitioner/slug_sequence.rb index c917a3b1e5..8a91897338 100644 --- a/app/models/journeys/early_years_payment/practitioner/slug_sequence.rb +++ b/app/models/journeys/early_years_payment/practitioner/slug_sequence.rb @@ -11,6 +11,8 @@ class SlugSequence email-address email-verification provide-mobile-number + personal-bank-account + gender check-your-answers ].freeze diff --git a/spec/features/early_years_payment/practitioner/happy_path_spec.rb b/spec/features/early_years_payment/practitioner/happy_path_spec.rb index 1956c350fb..bee031bbfb 100644 --- a/spec/features/early_years_payment/practitioner/happy_path_spec.rb +++ b/spec/features/early_years_payment/practitioner/happy_path_spec.rb @@ -61,5 +61,16 @@ expect(page).to have_content("Would you like to provide your mobile number?") choose "No" + click_on "Continue" + + expect(page).to have_text(I18n.t("questions.account_details", bank_or_building_society: "personal bank account")) + fill_in "Name on your account", with: "Jo Bloggs" + fill_in "Sort code", with: "123456" + fill_in "Account number", with: "87654321" + click_on "Continue" + + expect(page).to have_text(I18n.t("forms.gender.questions.payroll_gender")) + choose "Female" + # click_on "Continue" end end