Skip to content

Commit

Permalink
cleanup financial_assistance_steps
Browse files Browse the repository at this point in the history
  • Loading branch information
ATBull81 committed Jan 9, 2025
1 parent 1b29a91 commit a9ccde2
Show file tree
Hide file tree
Showing 3 changed files with 35 additions and 321 deletions.
2 changes: 0 additions & 2 deletions features/financial_assistance/applications.feature
Original file line number Diff line number Diff line change
Expand Up @@ -28,15 +28,13 @@ Feature: Start a new Financial Assistance Application

Scenario: A consumer adds Job income for an application's applicant
Given the consumer has started a financial assistance application
And has added tax information for an applicant
And they visit the applicant's Job income page
And they answer job income question and complete the form for the Job income
Then they should see the newly added Job income
And they should see the dates in correct format

Scenario: A consumer adds Job income with incorrect date format
Given the consumer has started a financial assistance application
And has added tax information for an applicant
And they visit the applicant's Job income page
And they answer job income question and complete the form with incorrect data format
Then I should see a JS alert
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@

sleep 1

expect(page).to have_content('ADD INCOME & COVERAGE INFO', count: 3)
expect(page).to have_css('.interaction-click-control-add-income---coverage-info', text: 'ADD INCOME & COVERAGE INFO', count: 3)
end

Given(/^that the user is on the FAA Family Relationships page$/) do
Expand All @@ -98,11 +98,11 @@


Then(/^View My Applications left section WILL display$/) do
expect(page).to have_content('View My Applications')
expect(page).to have_css('.view-nav-app', text: 'View My Applications')
end

Then(/^Review & Submit left section WILL display$/) do
expect(page).to have_content('Review & Submit')
expect(page).to have_css('.interaction-click-control-review---submit', text: 'Review & Submit')
end

Given(/^there is a nil value for at least one relationship$/) do
Expand Down Expand Up @@ -139,5 +139,5 @@
end

Then(/^the user will navigate to the Review & Submit page$/) do
expect(page).to have_content("Review Your Application")
expect(page).to have_css('.darkblue', text: "Review Your Application")
end
Loading

0 comments on commit a9ccde2

Please sign in to comment.