diff --git a/app/views/idv/agreement/show.html.erb b/app/views/idv/agreement/show.html.erb index 7dd5ec181d7..c36663e1131 100644 --- a/app/views/idv/agreement/show.html.erb +++ b/app/views/idv/agreement/show.html.erb @@ -1,5 +1,14 @@ <% title t('doc_auth.headings.lets_go') %> +<% content_for(:pre_flash_content) do %> + <%= render StepIndicatorComponent.new( + steps: Idv::Flows::DocAuthFlow::STEP_INDICATOR_STEPS, + current_step: :getting_started, + locale_scope: 'idv', + class: 'margin-x-neg-2 margin-top-neg-4 tablet:margin-x-neg-6 tablet:margin-top-neg-4', + ) %> +<% end %> + <%= render AlertComponent.new( type: :error, class: [ diff --git a/spec/features/idv/doc_auth/agreement_spec.rb b/spec/features/idv/doc_auth/agreement_spec.rb index fc046cbc781..cb941a3d10d 100644 --- a/spec/features/idv/doc_auth/agreement_spec.rb +++ b/spec/features/idv/doc_auth/agreement_spec.rb @@ -15,6 +15,7 @@ end it 'shows an inline error if the user clicks continue without giving consent' do + expect(page).to have_content(t('step_indicator.flows.idv.getting_started')) click_continue expect(page).to have_current_path(idv_agreement_url)