Skip to content

Commit

Permalink
remove click_away_from_field to get spec to pass
Browse files Browse the repository at this point in the history
  • Loading branch information
mercedesb committed Jan 10, 2025
1 parent e228a8b commit 59600cd
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions test/system/update_patient_info_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@ class UpdatePatientInfoTest < ApplicationSystemTestCase
describe 'updating name' do
before do
fill_in 'First and last name', with: 'Susie Everyteen 2'
click_away_from_field
wait_for_ajax
reload_page_and_click_link 'Patient Information'
end
Expand Down Expand Up @@ -123,7 +122,6 @@ class UpdatePatientInfoTest < ApplicationSystemTestCase
describe 'updating pronouns' do
before do
fill_in 'Pronouns', with: 'they/them'
click_away_from_field
wait_for_ajax
reload_page_and_click_link 'Patient Information'
end
Expand Down Expand Up @@ -364,7 +362,6 @@ class UpdatePatientInfoTest < ApplicationSystemTestCase
private

def reload_page_and_click_link(link_text)
click_away_from_field
visit authenticated_root_path
visit edit_patient_path @patient
click_link link_text
Expand Down

0 comments on commit 59600cd

Please sign in to comment.