From 4c6322c2454832a015ac570213203199922ee688 Mon Sep 17 00:00:00 2001 From: Kenneth Lee Date: Mon, 30 Sep 2024 16:39:27 +0100 Subject: [PATCH] LUPEYALPHA-986 - provide-mobile-number page, No - happy path --- .../early_years_payment/practitioner/slug_sequence.rb | 2 ++ .../early_years_payment/practitioner/happy_path_spec.rb | 7 +++++++ 2 files changed, 9 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 70eb87ea30..25c08fd4e5 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 + bank-or-building-society + check-your-answers ].freeze def self.start_page_url 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 e31a525877..f5b8ea1fbc 100644 --- a/spec/features/early_years_payment/practitioner/happy_path_spec.rb +++ b/spec/features/early_years_payment/practitioner/happy_path_spec.rb @@ -59,5 +59,12 @@ otp_in_mail_sent = mail[:personalisation].unparsed_value[:one_time_password] fill_in "claim-one-time-password-field", with: otp_in_mail_sent click_on "Confirm" + + expect(page).to have_content("Would you like to provide your mobile number?") + choose "No" + click_on "Continue" + + # Placeholder page as we build the journey + expect(page).to have_content("What account do you want the money paid into?") end end