<%= render SpinnerButtonComponent.new(
- action_message: t('doc_auth.info.verifying'),
+ action_message: t('idv.messages.verifying'),
type: :submit,
big: true,
wide: true,
diff --git a/app/views/idv/shared/_ssn.html.erb b/app/views/idv/shared/_ssn.html.erb
index e0bd74da787..65a364dee7a 100644
--- a/app/views/idv/shared/_ssn.html.erb
+++ b/app/views/idv/shared/_ssn.html.erb
@@ -51,7 +51,11 @@ locals:
<% end %>
diff --git a/app/views/idv/shared/_verify.html.erb b/app/views/idv/shared/_verify.html.erb
index db882ffc062..75517ce7b8a 100644
--- a/app/views/idv/shared/_verify.html.erb
+++ b/app/views/idv/shared/_verify.html.erb
@@ -4,65 +4,73 @@ locals:
remote_identity_proofing - true if we're doing RIDP, false if we're doing IPP
step_url - generator for step URLs
%>
-<% title t('titles.doc_auth.verify_info') %>
+<% title t('titles.idv.verify_info') %>
-<%= render PageHeadingComponent.new.with_content(t('doc_auth.headings.verify')) %>
+<%= render PageHeadingComponent.new.with_content(t('headings.verify')) %>
-
+
- <%= "#{t('doc_auth.forms.first_name')}: #{pii[:first_name]}" %>
+
- <%= t('idv.form.first_name') %>:
+ - <%= pii[:first_name] %>
- <%= "#{t('doc_auth.forms.last_name')}: #{pii[:last_name]}" %>
+
- <%= t('idv.form.last_name') %>:
+ - <%= pii[:last_name] %>
- <%= "#{t('doc_auth.forms.dob')}: #{pii[:dob]}" %>
+
- <%= t('idv.form.dob') %>:
+ - <%= pii[:dob] %>
<% if !remote_identity_proofing %>
- <%= "#{t('doc_auth.forms.id_number')}: #{pii[:state_id_number]}" %>
+
- <%= t('idv.form.id_number') %>:
+ - <%= pii[:state_id_number] %>
<% end %>
-
+
<% if !remote_identity_proofing %>
<%= button_to(
step_url.call(step: :redo_state_id),
method: :put,
class: 'usa-button usa-button--unstyled',
- 'aria-label': t('doc_auth.buttons.change_state_id_label'),
- ) { t('doc_auth.buttons.change_label') } %>
+ 'aria-label': t('idv.buttons.change_state_id_label'),
+ ) { t('idv.buttons.change_label') } %>
<% end %>
-
+
- <%= "#{t('doc_auth.forms.address1')}: #{pii[:address1]}" %>
+
- <%= t('idv.form.address1') %>:
+ - <%= pii[:address1] %>
- <%= "#{t('doc_auth.forms.city')}: #{pii[:city]}" %>
+
- <%= t('idv.form.city') %>:
+ - <%= pii[:city] %>
- <%= "#{t('doc_auth.forms.state')}: #{pii[:state]}" %>
+
- <%= t('idv.form.state') %>:
+ - <%= pii[:state] %>
- <%= "#{t('doc_auth.forms.zip_code')}: #{pii[:zipcode]}" %>
+
- <%= t('idv.form.zipcode') %>:
+ - <%= pii[:zipcode] %>
-
+
<%= button_to(
step_url.call(step: :redo_address),
method: :put,
class: 'usa-button usa-button--unstyled',
- 'aria-label': t('doc_auth.buttons.change_address_label'),
- ) { t('doc_auth.buttons.change_label') } %>
+ 'aria-label': t('idv.buttons.change_address_label'),
+ ) { t('idv.buttons.change_label') } %>
- <%= t('doc_auth.forms.ssn') %>:
+ <%= t('idv.form.ssn') %>:
<%= render(
'shared/masked_text',
text: SsnFormatter.format(pii[:ssn]),
@@ -80,8 +88,8 @@ locals:
step_url.call(step: :redo_ssn),
method: :put,
class: 'usa-button usa-button--unstyled',
- 'aria-label': t('doc_auth.buttons.change_ssn_label'),
- ) { t('doc_auth.buttons.change_label') } %>
+ 'aria-label': t('idv.buttons.change_ssn_label'),
+ ) { t('idv.buttons.change_label') } %>
@@ -91,7 +99,7 @@ locals:
end,
big: true,
wide: true,
- action_message: t('doc_auth.info.verifying'),
+ action_message: t('idv.messages.verifying'),
method: :put,
form: {
class: 'button_to',
diff --git a/config/locales/account/en.yml b/config/locales/account/en.yml
index 96b0317d0b1..eb707b2e7f1 100644
--- a/config/locales/account/en.yml
+++ b/config/locales/account/en.yml
@@ -49,7 +49,7 @@ en:
instructions: Your profile was recently deactivated due to a password reset.
link: Reactivate your profile now.
sign_in_location_and_ip: From %{ip} (IP address potentially located in %{location})
- ssn: Social Security Number
+ ssn: Social Security number
totp_confirm_delete: Yes, remove authentication app
unknown_location: unknown location
verification:
diff --git a/config/locales/doc_auth/en.yml b/config/locales/doc_auth/en.yml
index d691803f509..9a21e826a3f 100644
--- a/config/locales/doc_auth/en.yml
+++ b/config/locales/doc_auth/en.yml
@@ -8,10 +8,6 @@ en:
selfie_alt_text: An uploaded image
buttons:
add_new_photos: Add new photos
- change_address_label: Change address
- change_label: Change
- change_ssn_label: Change Social Security Number
- change_state_id_label: Change state ID
continue: Continue
start_over: Start over
take_or_upload_picture: 'Take photo or
@@ -110,20 +106,11 @@ en:
Try taking new pictures in a bright area.
upload_error: Sorry, something went wrong on our end.
forms:
- address1: Address
captured_image: Captured Image
change_file: Change file
choose_file_html: Drag file here or choose from folder
- city: City
- dob: Date of Birth
doc_success: We have verified your personal information
- first_name: First Name
- id_number: ID Number
- last_name: Last Name
selected_file: Selected file
- ssn: Social Security Number
- state: State
- zip_code: Zip Code
headings:
address: Update your mailing address
back: Back
@@ -151,7 +138,6 @@ en:
upload_from_phone: Take a photo with a mobile phone to upload your ID
upload_from_phone_liveness_enabled: Use a mobile phone to add your ID and take a photo of yourself
upload_liveness_enabled: How would you like to verify your identity?
- verify: Verify your information
verify_identity: Verify your identity
welcome: Get started verifying your identity
info:
@@ -202,7 +188,6 @@ en:
upload_no_image_storage: We do not store images you upload. We only verify your identity.
verify_identity: We’ll ask for your personal information to verify your identity
against public records.
- verifying: Verifying…
welcome_html: '%{sp_name} needs to make sure you are you — not someone
pretending to be you.'
instructions:
diff --git a/config/locales/doc_auth/es.yml b/config/locales/doc_auth/es.yml
index fbc762b537b..fec0919256e 100644
--- a/config/locales/doc_auth/es.yml
+++ b/config/locales/doc_auth/es.yml
@@ -8,10 +8,6 @@ es:
selfie_alt_text: Una foto subida
buttons:
add_new_photos: Añadir nuevas fotos
- change_address_label: Cambiar dirección
- change_label: Cambio
- change_ssn_label: Cambiar número de Seguridad Social
- change_state_id_label: Cambiar ID de estado
continue: Continuar
start_over: Comenzar de nuevo
take_or_upload_picture: 'Toma una foto o
@@ -136,21 +132,12 @@ es:
área iluminada.
upload_error: Lo siento, algo salió mal por nuestra parte.
forms:
- address1: Dirección
captured_image: Imagen capturada
change_file: Cambiar archivo
choose_file_html: Arrastre el archivo aquí o elija de la
carpeta
- city: Ciudad
- dob: Fecha de nacimiento
doc_success: Hemos verificado su información personal
- first_name: Nombre de pila
- id_number: Número de identificación
- last_name: Apellido
selected_file: Archivo seleccionado
- ssn: Número de seguridad social
- state: Estado
- zip_code: Código postal
headings:
address: Actualice su dirección postal
back: Parte Trasera
@@ -180,7 +167,6 @@ es:
upload_from_phone: Tome una foto con un teléfono móvil para cargar su identificación
upload_from_phone_liveness_enabled: Utilice un celular para agregar su documento de identidad y tomarse
upload_liveness_enabled: '¿Cómo te gustaría verificar su identidad?'
- verify: Verifica tus datos
verify_identity: Verifique su identidad
welcome: Empiece con la verificación de su identidad
info:
@@ -236,7 +222,6 @@ es:
upload_no_image_storage: No almacenamos imágenes que cargue. Solo verificamos su identidad.
verify_identity: Le preguntaremos sus datos personales para verificar su
identidad comparándola con los registros públicos.
- verifying: Verificando…
welcome_html: '%{sp_name} necesita asegurarse de que sea usted y no alguien que
se haga pasar por usted.'
instructions:
diff --git a/config/locales/doc_auth/fr.yml b/config/locales/doc_auth/fr.yml
index 49ae1e62234..b48b04ca4ac 100644
--- a/config/locales/doc_auth/fr.yml
+++ b/config/locales/doc_auth/fr.yml
@@ -8,10 +8,6 @@ fr:
selfie_alt_text: Une photo téléversée
buttons:
add_new_photos: Ajoutez de nouvelles photos
- change_address_label: Changement d’adresse
- change_label: Changement
- change_ssn_label: Changement de numéro de sécurité sociale
- change_state_id_label: Modifier l’ID d’état
continue: Continuer
start_over: Recommencer
take_or_upload_picture: 'Prendre une photo ou
@@ -142,21 +138,12 @@ fr:
photos dans un endroit lumineux.
upload_error: Désolé, quelque chose a mal tourné de notre côté.
forms:
- address1: Adresse
captured_image: Image capturée
change_file: Changer de fichier
choose_file_html: Faites glisser le fichier ici ou choisissez un
dossier
- city: Ville
- dob: Date de naissance
doc_success: Nous avons vérifié vos informations personnelles
- first_name: Prénom
- id_number: Numéro d’identification
- last_name: Nom de famille
selected_file: Fichier sélectionné
- ssn: Numéro de sécurité sociale
- state: Etat
- zip_code: Code postal
headings:
address: Mettre à jour votre adresse postale
back: Verso
@@ -188,7 +175,6 @@ fr:
upload_from_phone_liveness_enabled: Utilisez un téléphone portable pour ajouter
votre pièce d’identité et prendre une photo de vous-même
upload_liveness_enabled: Comment souhaitez-vous vérifier votre identité?
- verify: Vérifier votre information
verify_identity: Vérifier votre identité
welcome: Commencez à vérifier votre identité
info:
@@ -249,7 +235,6 @@ fr:
upload_no_image_storage: Nous ne stockons pas les images que vous téléchargez.
verify_identity: Nous vous demanderons vos informations personnelles afin de
vérifier votre identité par rapport aux registres publics.
- verifying: Vérification…
welcome_html: '%{sp_name} doit s’assurer que vous êtes bien vous, et non
quelqu’un qui se fait passer pour vous.'
instructions:
diff --git a/config/locales/forms/en.yml b/config/locales/forms/en.yml
index 5299923929a..77c0c3db60e 100644
--- a/config/locales/forms/en.yml
+++ b/config/locales/forms/en.yml
@@ -86,7 +86,7 @@ en:
email: Enter your email address
email_language: Select your email language preference
ssn:
- show: Show Social Security Number
+ show: Show Social Security number
totp_delete:
caution: If you remove your authentication app you won’t be able to use it to
access your %{app_name} account.
diff --git a/config/locales/headings/en.yml b/config/locales/headings/en.yml
index 56d8f2db57d..41e7254a9f2 100644
--- a/config/locales/headings/en.yml
+++ b/config/locales/headings/en.yml
@@ -64,6 +64,7 @@ en:
sp_handoff_bounced: There was a problem connecting to %{sp_name}
totp_setup:
new: Add an authentication app
+ verify: Verify your information
verify_email: Check your email
verify_personal_key: Verify your personal key
webauthn_platform_setup:
diff --git a/config/locales/headings/es.yml b/config/locales/headings/es.yml
index 6315c930147..8ea57734653 100644
--- a/config/locales/headings/es.yml
+++ b/config/locales/headings/es.yml
@@ -64,6 +64,7 @@ es:
sp_handoff_bounced: Hubo un problema al conectarse a %{sp_name}
totp_setup:
new: Agregar una aplicación de autenticación
+ verify: Verifica tus datos
verify_email: Revise su email
verify_personal_key: Verifica tu clave personal
webauthn_platform_setup:
diff --git a/config/locales/headings/fr.yml b/config/locales/headings/fr.yml
index c00f6e3cfb8..ec4a93f7122 100644
--- a/config/locales/headings/fr.yml
+++ b/config/locales/headings/fr.yml
@@ -67,6 +67,7 @@ fr:
sp_handoff_bounced: Un problème est survenu lors de la connexion à %{sp_name}
totp_setup:
new: Ajouter une application d’authentification
+ verify: Vérifier votre information
verify_email: Consultez vos courriels
verify_personal_key: Vérifier votre clé personnelle
webauthn_platform_setup:
diff --git a/config/locales/help_text/en.yml b/config/locales/help_text/en.yml
index 8b308f7500c..7ac5384b7cc 100644
--- a/config/locales/help_text/en.yml
+++ b/config/locales/help_text/en.yml
@@ -14,7 +14,7 @@ en:
intro_html: 'We’ll share this information with %{sp}:'
outro_html: '%{sp} will only use this information to connect to your account.'
phone: Phone number
- social_security_number: Social Security Number
+ social_security_number: Social Security number
verified_at: Updated on
x509_issuer: PIV/CAC Issuer
x509_subject: PIV/CAC Identity
diff --git a/config/locales/idv/en.yml b/config/locales/idv/en.yml
index 41074f5218f..4a88f891d8b 100644
--- a/config/locales/idv/en.yml
+++ b/config/locales/idv/en.yml
@@ -5,6 +5,10 @@ en:
masked_ssn: secure text, starting with %{first_number} and ending with %{last_number}
buttons:
cancel: Cancel and return to your profile
+ change_address_label: Update address
+ change_label: Update
+ change_ssn_label: Update Social Security number
+ change_state_id_label: Update state ID
continue_plain: Continue
mail:
resend: Send another letter
@@ -30,8 +34,8 @@ en:
incorrect_password: The password you entered is not correct.
mail_limit_reached: You have requested too much mail in the last month.
pattern_mismatch:
- ssn: 'Your Social Security Number must be entered in as ###-##-####'
- zipcode: Enter a 5 or 9 digit ZIP code
+ ssn: 'Your Social Security number must be entered in as ###-##-####'
+ zipcode: Enter a 5 or 9 digit ZIP Code
unsupported_otp_delivery_method: Select a method to receive a code.
failure:
attempts:
@@ -59,7 +63,7 @@ en:
information online.'
heading: We could not find records matching your personal information.
warning: Please check the information you entered and try again. Common mistakes
- are an incorrect Social Security number or ZIP code.
+ are an incorrect Social Security number or ZIP Code.
timeout: We are experiencing higher than usual wait time processing your
request. Please try again.
forgot_password:
@@ -77,8 +81,13 @@ en:
address1: Address
address2: Address (optional)
city: City
+ dob: Date of birth
+ first_name: First name
+ id_number: ID number
+ last_name: Last name
password: Password
- ssn_label_html: Social Security Number
+ ssn: Social Security number
+ ssn_label_html: Social Security number
state: State
zipcode: ZIP Code
index:
@@ -137,11 +146,12 @@ en:
read_more_encrypt: Read more about how %{app_name} protects your personal information
review_message: When you re-enter your password, %{app_name} will protect the
information you’ve given us, so that only you can access it.
+ verifying: Verifying…
review:
dob: Date of birth
full_name: Full name
mailing_address: Mailing address
- ssn: Social Security Number (SSN)
+ ssn: Social Security number (SSN)
titles:
activated: Your identity has already been verified
come_back_later: Come back soon
diff --git a/config/locales/idv/es.yml b/config/locales/idv/es.yml
index f721a819f79..be5c3e285a8 100644
--- a/config/locales/idv/es.yml
+++ b/config/locales/idv/es.yml
@@ -6,6 +6,10 @@ es:
%{last_number}
buttons:
cancel: Cancele y regrese a su perfil
+ change_address_label: Cambiar dirección
+ change_label: Cambio
+ change_ssn_label: Cambiar número de Seguridad Social
+ change_state_id_label: Cambiar ID de estado
continue_plain: Continuar
mail:
resend: Enviar otra carta
@@ -83,7 +87,12 @@ es:
address1: Dirección
address2: Dirección (opcional)
city: Ciudad
+ dob: Fecha de nacimiento
+ first_name: Nombre de pila
+ id_number: Número de identificación
+ last_name: Apellido
password: Contraseña
+ ssn: Número de seguridad social
ssn_label_html: Número de Seguro Social
state: Estado
zipcode: Código postal
@@ -144,6 +153,7 @@ es:
read_more_encrypt: Lea más sobre cómo %{app_name} protege su información personal
review_message: Cuando vuelva a ingresar su contraseña, %{app_name} cifrará sus
datos para asegurarse de que nadie más pueda acceder a ellos.
+ verifying: Verificando…
review:
dob: Fecha de nacimiento
full_name: Nombre completo
diff --git a/config/locales/idv/fr.yml b/config/locales/idv/fr.yml
index 71d6b1f9b3a..ec39985530f 100644
--- a/config/locales/idv/fr.yml
+++ b/config/locales/idv/fr.yml
@@ -6,6 +6,10 @@ fr:
%{last_number}
buttons:
cancel: Annuler et retourner à votre profil
+ change_address_label: Changement d’adresse
+ change_label: Changement
+ change_ssn_label: Changement de numéro de sécurité sociale
+ change_state_id_label: Modifier l’ID d’état
continue_plain: Continuer
mail:
resend: Envoyer une autre lettre
@@ -86,8 +90,13 @@ fr:
form:
address1: Adresse
address2: Adresse (optional)
- city: Ville une lettre contenant un code.′
+ city: Ville
+ dob: Date de naissance
+ first_name: Prénom
+ id_number: Numéro d’identification
+ last_name: Nom de famille
password: Mot de passe
+ ssn: Numéro de sécurité sociale
ssn_label_html: Numéro de sécurité sociale
state: État
zipcode: Code ZIP
@@ -156,6 +165,7 @@ fr:
informations personnelles
review_message: Lorsque vous entrez à nouveau votre mot de passe, %{app_name}
crypte vos données pour vous assurer que personne ne peut y accéder.
+ verifying: Vérification…
review:
dob: Date de naissance
full_name: Nom complet
diff --git a/config/locales/titles/en.yml b/config/locales/titles/en.yml
index 69197888858..310e1d3bcc8 100644
--- a/config/locales/titles/en.yml
+++ b/config/locales/titles/en.yml
@@ -15,12 +15,11 @@ en:
link_sent: Link sent
otp_delivery: Receive a security code
processing_images: Processing your images
- ssn: Enter your Social Security Number
+ ssn: Enter your Social Security number
switch_back: Switch back to your computer
take_photo: Take photos of your ID with a phone
upload: Verify your ID
verify: Verify your identity
- verify_info: Verify your information
edit_info:
email_language: Edit email language preference
password: Edit your password
@@ -40,6 +39,7 @@ en:
phone: Verify your phone number
reset_password: Reset Password
review: Re-enter your password
+ verify_info: Verify your information
mfa_setup:
suggest_second_mfa: You’ve added your first authentication method! Add a second
method as a backup.
diff --git a/config/locales/titles/es.yml b/config/locales/titles/es.yml
index 79dc894534a..bf9a91fd63e 100644
--- a/config/locales/titles/es.yml
+++ b/config/locales/titles/es.yml
@@ -20,7 +20,6 @@ es:
take_photo: Toma fotos de tu identificación con un teléfono
upload: Verifica tu identificación
verify: Verifica tu identidad
- verify_info: Verifica tu información
edit_info:
email_language: Editar la preferencia de idioma del correo electrónico
password: Edite su contraseña
@@ -40,6 +39,7 @@ es:
phone: Verifica tu número telefónico
reset_password: Restablecer la contraseña
review: Vuelve a ingresar tu contraseña
+ verify_info: Verifica tu información
mfa_setup:
suggest_second_mfa: ¡Has agregado tu primer método de autenticación! Agrega un
segundo método como respaldo.
diff --git a/config/locales/titles/fr.yml b/config/locales/titles/fr.yml
index 5a0b923843a..665bf83b855 100644
--- a/config/locales/titles/fr.yml
+++ b/config/locales/titles/fr.yml
@@ -20,7 +20,6 @@ fr:
take_photo: Prenez des photos de votre pièce d’identité avec un téléphone
upload: Vérifiez votre pièce d’identité
verify: Vérifiez votre identité
- verify_info: Vérifiez vos informations
edit_info:
email_language: Modifier la préférence de langue des e-mails
password: Modifier votre mot de passe
@@ -40,6 +39,7 @@ fr:
phone: Vérifiez votre numéro de téléphone
reset_password: Réinitialisez le mot de passe
review: Saisissez à nouveau votre mot de passe
+ verify_info: Vérifiez vos informations
mfa_setup:
suggest_second_mfa: Vous avez ajouté votre première méthode d’authentification !
Ajoutez-en une deuxième en guise de sauvegarde.
diff --git a/spec/features/idv/doc_auth/address_step_spec.rb b/spec/features/idv/doc_auth/address_step_spec.rb
index ca584f55b92..a486ee1cb25 100644
--- a/spec/features/idv/doc_auth/address_step_spec.rb
+++ b/spec/features/idv/doc_auth/address_step_spec.rb
@@ -21,14 +21,14 @@
it 'allows the user to enter in a new address' do
fill_out_address_form_ok
- click_idv_continue
+ click_button t('forms.buttons.submit.update')
expect(page).to have_current_path(idv_doc_auth_verify_step)
end
it 'does not allows the user to enter bad address info' do
fill_out_address_form_fail
- click_idv_continue
+ click_button t('forms.buttons.submit.update')
expect(page).to have_current_path(idv_address_path)
end
diff --git a/spec/features/idv/doc_auth/verify_step_spec.rb b/spec/features/idv/doc_auth/verify_step_spec.rb
index 0ded47178e5..06f90a92b7a 100644
--- a/spec/features/idv/doc_auth/verify_step_spec.rb
+++ b/spec/features/idv/doc_auth/verify_step_spec.rb
@@ -17,7 +17,7 @@
it 'is on the correct page' do
expect(page).to have_current_path(idv_doc_auth_verify_step)
- expect(page).to have_content(t('doc_auth.headings.verify'))
+ expect(page).to have_content(t('headings.verify'))
expect(page).to have_css(
'.step-indicator__step--current',
text: t('step_indicator.flows.idv.verify_info'),
@@ -52,7 +52,7 @@
end
it 'proceeds to address page prepopulated with defaults if the user clicks change address' do
- click_button t('doc_auth.buttons.change_address_label')
+ click_button t('idv.buttons.change_address_label')
expect(page).to have_current_path(idv_address_path)
expect(page).to have_selector("input[value='1 FAKE RD']")
@@ -63,9 +63,9 @@
it 'tracks when the user edits their address' do
allow_any_instance_of(ApplicationController).to receive(:analytics).and_return(fake_analytics)
- click_button t('doc_auth.buttons.change_address_label')
+ click_button t('idv.buttons.change_address_label')
fill_out_address_form_ok
- click_idv_continue # address form
+ click_button t('forms.buttons.submit.update') # address form
click_idv_continue
@@ -76,7 +76,7 @@
end
it 'proceeds to the ssn page if the user clicks change ssn and allows user to go back' do
- click_button t('doc_auth.buttons.change_ssn_label')
+ click_button t('idv.buttons.change_ssn_label')
expect(page).to have_current_path(idv_doc_auth_ssn_step)
expect(page).to have_content(t('doc_auth.headings.ssn_update'))
diff --git a/spec/features/idv/hybrid_flow_spec.rb b/spec/features/idv/hybrid_flow_spec.rb
index bd6b85f8281..d32241d1c8e 100644
--- a/spec/features/idv/hybrid_flow_spec.rb
+++ b/spec/features/idv/hybrid_flow_spec.rb
@@ -44,7 +44,7 @@
fill_out_ssn_form_ok
click_idv_continue
- expect(page).to have_content(t('doc_auth.headings.verify'))
+ expect(page).to have_content(t('headings.verify'))
click_idv_continue
fill_out_phone_form_mfa_phone(user)
diff --git a/spec/features/idv/in_person_spec.rb b/spec/features/idv/in_person_spec.rb
index e691e773a24..3735b510029 100644
--- a/spec/features/idv/in_person_spec.rb
+++ b/spec/features/idv/in_person_spec.rb
@@ -52,7 +52,7 @@
click_idv_continue
# verify page
- expect(page).to have_content(t('doc_auth.headings.verify'))
+ expect(page).to have_content(t('headings.verify'))
expect(page).to have_text(InPersonHelper::GOOD_FIRST_NAME)
expect(page).to have_text(InPersonHelper::GOOD_LAST_NAME)
expect(page).to have_text(InPersonHelper::GOOD_DOB)
@@ -65,23 +65,23 @@
expect(page).to have_text('9**-**-***4')
# click update state ID button
- click_button t('doc_auth.buttons.change_state_id_label')
+ click_button t('idv.buttons.change_state_id_label')
expect(page).to have_content(t('in_person_proofing.headings.update_state_id'))
- click_idv_continue
- expect(page).to have_content(t('doc_auth.headings.verify'))
+ click_button t('forms.buttons.submit.update')
+ expect(page).to have_content(t('headings.verify'))
# click update address button
- click_button t('doc_auth.buttons.change_address_label')
+ click_button t('idv.buttons.change_address_label')
expect(page).to have_content(t('in_person_proofing.headings.update_address'))
- click_idv_continue
- expect(page).to have_content(t('doc_auth.headings.verify'))
+ click_button t('forms.buttons.submit.update')
+ expect(page).to have_content(t('headings.verify'))
# click update ssn button
- click_button t('doc_auth.buttons.change_ssn_label')
+ click_button t('idv.buttons.change_ssn_label')
expect(page).to have_content(t('doc_auth.headings.ssn_update'))
fill_out_ssn_form_ok
- click_idv_continue
- expect(page).to have_content(t('doc_auth.headings.verify'))
+ click_button t('forms.buttons.submit.update')
+ expect(page).to have_content(t('headings.verify'))
click_idv_continue
# phone page
diff --git a/spec/support/features/doc_auth_helper.rb b/spec/support/features/doc_auth_helper.rb
index 1055f480fb5..da1ccd31928 100644
--- a/spec/support/features/doc_auth_helper.rb
+++ b/spec/support/features/doc_auth_helper.rb
@@ -154,7 +154,7 @@ def complete_verify_step
def complete_doc_auth_steps_before_address_step(expect_accessible: false)
complete_doc_auth_steps_before_verify_step
expect(page).to be_axe_clean.according_to :section508, :"best-practice" if expect_accessible
- click_button t('doc_auth.buttons.change_address_label')
+ click_button t('idv.buttons.change_address_label')
end
def complete_doc_auth_steps_before_send_link_step