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