Skip to content

Commit

Permalink
Merge pull request #2036 from Children-in-Families/OSC-19
Browse files Browse the repository at this point in the history
[IMP] Improve family test
  • Loading branch information
thorn-lysa authored May 25, 2022
2 parents d7df70b + ac3014d commit ed75c83
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions spec/features/family_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,9 @@
find(".family_family_type select option[value='Birth Family (Both Parents)']", visible: false).select_option
find("#family_family_type", visible: false).set('Short Term/Emergency Foster Care')
click_link 'Next'
fill_in 'family[family_members_attributes][0][adult_name]', with: 'Test'
find(".family_family_members_gender select option[value='female']", visible: false).select_option
click_link 'Save'
wait_for_ajax
expect(page).to have_content('Family Name')
expect(page).to have_content('Test')
end

scenario 'invalid' do
Expand Down

0 comments on commit ed75c83

Please sign in to comment.