Skip to content

Commit

Permalink
update page order
Browse files Browse the repository at this point in the history
  • Loading branch information
Drew Proebstel committed Nov 4, 2024
1 parent 1a53614 commit a582f9b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion app/lib/navigation/state_file_md_question_navigation.rb
Original file line number Diff line number Diff line change
Expand Up @@ -26,12 +26,12 @@ class StateFileMdQuestionNavigation < Navigation::StateFileBaseQuestionNavigatio
]),
Navigation::NavigationSection.new("state_file.navigation.section_5", [
Navigation::NavigationStep.new(StateFile::Questions::DataReviewController),
Navigation::NavigationStep.new(StateFile::Questions::MdPermanentAddressController),
# Federal info does not show to users
Navigation::NavigationStep.new(StateFile::Questions::FederalInfoController),
Navigation::NavigationStep.new(StateFile::Questions::MdCountyController),
Navigation::NavigationStep.new(StateFile::Questions::DataTransferOffboardingController, false),
Navigation::NavigationStep.new(StateFile::Questions::IncomeReviewController),
Navigation::NavigationStep.new(StateFile::Questions::MdPermanentAddressController),
Navigation::NavigationStep.new(StateFile::Questions::UnemploymentController),
Navigation::NavigationStep.new(StateFile::Questions::PrimaryStateIdController),
Navigation::NavigationStep.new(StateFile::Questions::SpouseStateIdController),
Expand Down
8 changes: 4 additions & 4 deletions spec/features/state_file/complete_intake_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -557,6 +557,10 @@
expect(page).to have_text I18n.t("state_file.questions.data_review.edit.title")
click_on I18n.t("general.continue")

expect(page).to have_text "Mark no if the address listed is a PO Box or if you lived at a different address on December 31"
choose I18n.t("general.affirmative")
click_on I18n.t("general.continue")

expect(page).to have_text "Select the county and political subdivision where you lived on December 31, #{MultiTenantService.statefile.current_tax_year}"
select("Allegany", from: "County")
select("Town Of Barton", from: "Political subdivision")
Expand All @@ -565,10 +569,6 @@
expect(page).to have_text "Here are the income forms we transferred from your federal tax return."
click_on I18n.t("general.continue")

expect(page).to have_text "Mark no if the address listed is a PO Box or if you lived at a different address on December 31"
choose I18n.t("general.affirmative")
click_on I18n.t("general.continue")

expect(page).to have_text I18n.t('state_file.questions.unemployment.edit.title.one', year: MultiTenantService.statefile.current_tax_year)
choose I18n.t("general.affirmative")
fill_in I18n.t('state_file.questions.unemployment.edit.payer_name'), with: "Business Name"
Expand Down

0 comments on commit a582f9b

Please sign in to comment.