From 59600cda131b2230d53940aa217717d1f701e2d7 Mon Sep 17 00:00:00 2001 From: Mercedes Bernard Date: Fri, 10 Jan 2025 16:17:02 -0600 Subject: [PATCH] remove click_away_from_field to get spec to pass --- test/system/update_patient_info_test.rb | 3 --- 1 file changed, 3 deletions(-) diff --git a/test/system/update_patient_info_test.rb b/test/system/update_patient_info_test.rb index bce0f8f6d..e87be6751 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 @@ -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 @@ -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