Skip to content

Commit

Permalink
[LUPEYALPHA-987 / LUPEYALPHA-988] EY Practitioner personal-bank-accou…
Browse files Browse the repository at this point in the history
…nt & gender pages (#3306)
  • Loading branch information
vacabor authored Oct 17, 2024
1 parent 65195a5 commit 8a46135
Show file tree
Hide file tree
Showing 2 changed files with 13 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
personal-bank-account
gender
check-your-answers
].freeze

Expand Down
11 changes: 11 additions & 0 deletions spec/features/early_years_payment/practitioner/happy_path_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 8a46135

Please sign in to comment.