Skip to content

Commit

Permalink
LUPEYALPHA-986 - provide-mobile-number page, No - happy path
Browse files Browse the repository at this point in the history
  • Loading branch information
kenfodder committed Oct 2, 2024
1 parent 4c05d5e commit 07136dc
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -59,5 +59,11 @@
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"

expect(page).to have_content("What account do you want the money paid into?")
end
end

0 comments on commit 07136dc

Please sign in to comment.