diff --git a/spec/features/idv/in_person_spec.rb b/spec/features/idv/in_person_spec.rb index ea304697cbe..65b79e5ef51 100644 --- a/spec/features/idv/in_person_spec.rb +++ b/spec/features/idv/in_person_spec.rb @@ -319,8 +319,12 @@ complete_doc_auth_steps_before_send_link_step fill_in :doc_auth_phone, with: '415-555-0199' click_idv_continue + + expect(page).to have_content(t('doc_auth.headings.text_message')) end + expect(@sms_link).to be_present + perform_in_browser(:mobile) do visit @sms_link mock_doc_auth_attention_with_barcode diff --git a/spec/support/features/document_capture_step_helper.rb b/spec/support/features/document_capture_step_helper.rb index ac722b122a1..8a8b5f37e48 100644 --- a/spec/support/features/document_capture_step_helper.rb +++ b/spec/support/features/document_capture_step_helper.rb @@ -3,7 +3,6 @@ def submit_images click_on 'Submit' # Wait for the the loading interstitial to disappear before continuing - expect(page).to have_content(t('doc_auth.headings.interstitial')) expect(page).not_to have_content(t('doc_auth.headings.interstitial'), wait: 10) end