diff --git a/test/system/update_patient_info_test.rb b/test/system/update_patient_info_test.rb index bce0f8f6d..41be20983 100644 --- a/test/system/update_patient_info_test.rb +++ b/test/system/update_patient_info_test.rb @@ -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 @@ -75,7 +74,6 @@ class UpdatePatientInfoTest < ApplicationSystemTestCase describe 'updating appointment date' do before do fill_in 'Appointment date', with: 5.days.from_now.strftime('%m/%d/%Y') - click_away_from_field wait_for_ajax reload_page_and_click_link 'Patient Information' end @@ -108,7 +106,6 @@ class UpdatePatientInfoTest < ApplicationSystemTestCase describe 'updating phone number' do before do fill_in 'Phone number', with: '123-666-8888' - click_away_from_field wait_for_ajax reload_page_and_click_link 'Patient Information' end @@ -123,7 +120,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 @@ -364,7 +360,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