LG-14290 Eng: Add step indicator component to Opt-in page (How to Verify)
🛠Summary of changes
Add Step Indicator Component to How to Verify View
Set current step as "Getting started"
📜 Testing Plan
[x] Step 1 Ensure the following variables are set to true in config.application.yml; in_person_proofing_opt_in_enabled and in_person_proofing_enabled
[x] Step 2 Start identity-idp and identity-oidc-sinatra severs. Enter Login via localhost:9292. Create an account. Step through the app to begin identity verification. Visit /verify/welcome and then /verify/agreement. Open the console. Continue on. Next you will land on /verify/how_to_verify.
[x] Step 3 Confirm you can see the step indicator on the page. Confirm you see the following 5 steps: Getting started, Verify your ID, Verify your information, Verify your phone number, Re-enter your password.
[x] Step 4 Confirm current step is Getting started
[x] Step 5 Confirm there are no errors in the console
[x] Step 6 Check that the step nav is responsive
[x] Step 7 Change the language to ensure the step nav is being translated for each language (Spanish, French, Chinese)
[x] Step 8 Visit /verify/how_to_verify from a different path (not coming from /verify/agreement)- ie: Click the 'Cancel' link at the bottom and then click on button 'No, keep going'. Confirm step 3 - step 6 is working as expected.
[x] Step 9 Visit /verify/how_to_verify from a different path (not coming from /verify/agreement) - ie: Click the 'Continue in person' button. Once on verify/document_capture (Verify your identity in person), confirm the step nav changed. (Find a Post Office, Verify your information, Verify your phone number, Re-enter your password, Go to the Post Office). Then click the 'Back' link on this page. You should be on /verify/how_to_verify again. Confirm step 3 - step 6 is working as expected.
[x] Step 10 Play around with getting to /verify/how_to_verify in other paths not mentioned for step 2, 8 or 9. I don't think there are other paths but double check. Goal is to confirm there are no errors and the correct step is selected from any entry point
[x] Step 11 Go to file app/controllers/idv/how_to_verify_controller.rb and set @selfie_required to true in method set_how_to_verify_presenter. Confirm Step nav displays on the page and that current step is Getting started
[x] Step 12 Go to file app/controllers/idv/how_to_verify_controller.rb and set @selfie_required to false in method set_how_to_verify_presenter. Confirm Step nav displays on the page and that current step is Getting started
👀 Screenshots
Before:After:
![Screenshot 2024-09-30 at 1 13 11 PM](https://github.com/user-attachments/assets/6c209bbb-c6b8-4fc0-ac4c-a575b1bb17b8)
After (Responsive):
![Screenshot 2024-09-30 at 1 12 59 PM](https://github.com/user-attachments/assets/c39cbbb5-95f6-4aca-b190-98df4b975910)
![Screenshot 2024-09-30 at 1 12 47 PM](https://github.com/user-attachments/assets/4891e04f-ca70-415f-a60e-fd74bb82d866)
![Screenshot 2024-09-30 at 1 12 35 PM](https://github.com/user-attachments/assets/7a7d6fc1-2441-4395-a167-63c568a8e35a)
![Screenshot 2024-09-30 at 1 12 19 PM](https://github.com/user-attachments/assets/aa1b5ca8-dc9c-47b0-b719-b208fca883e0)
After (Languages):After (Biometrics):
![Screenshot 2024-09-30 at 2 18 30 PM](https://github.com/user-attachments/assets/eef6409d-a80b-4176-964f-e4537ac25e59)
![Screenshot 2024-09-30 at 2 19 09 PM](https://github.com/user-attachments/assets/0c92b661-5185-469a-8e51-926359db348b)
🎫 Ticket
LG-14290 Eng: Add step indicator component to Opt-in page (How to Verify)
🛠Summary of changes
📜 Testing Plan
in_person_proofing_opt_in_enabled
andin_person_proofing_enabled
identity-idp
andidentity-oidc-sinatra
severs. Enter Login vialocalhost:9292
. Create an account. Step through the app to begin identity verification. Visit/verify/welcome
and then/verify/agreement
. Open the console. Continue on. Next you will land on/verify/how_to_verify
.Getting started
/verify/how_to_verify
from a different path (not coming from/verify/agreement
)- ie: Click the 'Cancel' link at the bottom and then click on button 'No, keep going'. Confirm step 3 - step 6 is working as expected./verify/how_to_verify
from a different path (not coming from/verify/agreement
) - ie: Click the 'Continue in person' button. Once onverify/document_capture
(Verify your identity in person), confirm the step nav changed. (Find a Post Office, Verify your information, Verify your phone number, Re-enter your password, Go to the Post Office). Then click the 'Back' link on this page. You should be on/verify/how_to_verify
again. Confirm step 3 - step 6 is working as expected./verify/how_to_verify
in other paths not mentioned for step 2, 8 or 9. I don't think there are other paths but double check. Goal is to confirm there are no errors and the correct step is selected from any entry pointapp/controllers/idv/how_to_verify_controller.rb
and set@selfie_required
to true in methodset_how_to_verify_presenter
. Confirm Step nav displays on the page and that current step isGetting started
app/controllers/idv/how_to_verify_controller.rb
and set@selfie_required
to false in methodset_how_to_verify_presenter
. Confirm Step nav displays on the page and that current step isGetting started
👀 Screenshots
Before:
After:
![Screenshot 2024-09-30 at 1 13 11 PM](https://github.com/user-attachments/assets/6c209bbb-c6b8-4fc0-ac4c-a575b1bb17b8)After (Responsive):
![Screenshot 2024-09-30 at 1 12 59 PM](https://github.com/user-attachments/assets/c39cbbb5-95f6-4aca-b190-98df4b975910) ![Screenshot 2024-09-30 at 1 12 47 PM](https://github.com/user-attachments/assets/4891e04f-ca70-415f-a60e-fd74bb82d866) ![Screenshot 2024-09-30 at 1 12 35 PM](https://github.com/user-attachments/assets/7a7d6fc1-2441-4395-a167-63c568a8e35a) ![Screenshot 2024-09-30 at 1 12 19 PM](https://github.com/user-attachments/assets/aa1b5ca8-dc9c-47b0-b719-b208fca883e0)After (Languages):
After (Biometrics):
![Screenshot 2024-09-30 at 2 18 30 PM](https://github.com/user-attachments/assets/eef6409d-a80b-4176-964f-e4537ac25e59) ![Screenshot 2024-09-30 at 2 19 09 PM](https://github.com/user-attachments/assets/0c92b661-5185-469a-8e51-926359db348b)