LG-10479 FSM/SSN - Check redirect for SSN Step#8913
Conversation
…omplete if ssn present on pii from user on flow session
|
|
||
| def confirm_ssn_step_complete | ||
| if IdentityConfig.store.in_person_ssn_info_controller_enabled | ||
| # mark ssn step as complete for FSM |
There was a problem hiding this comment.
should the comment read for non-fsm rather than fsm?
There was a problem hiding this comment.
@svalexander Although we are in the non-FSM step- I am actually marking the FSM step as complete. Here is my thinking (let me know your thoughts please)...
When the users manually changes the url to the FSM ssn step (because they did not visit it, it is not getting marked as complete) so they are able to visit it (not expected behavior) rather than being redirected back to Verify (expected behavior) because it is complete. If we mark it as complete (we have the data- they just got it on the new flow)- they will be redirect to Verify Info- and will have to get to SSN by using the Update button.
This will need to get removed in your delete PR.
There was a problem hiding this comment.
ahhh i see what you're saying, ok the comment makes sense then
svalexander
left a comment
There was a problem hiding this comment.
works well, going to approve
…-fsm/ssn-check-redirects-for-ssn
…-fsm/ssn-check-redirects-for-ssn
…-fsm/ssn-check-redirects-for-ssn
…-fsm/ssn-check-redirects-for-ssn
🎫 Ticket
LG-10479 FSM/SSN - Check redirect for SSN Step
🛠 Summary of changes
in_person_ssn_info_controller_enabledflag is set to true and when flow_session.pii_from_user has a ssn, mark the in person FSM ssn step as complete. (The user visited the non-FSM SSN step but we still need to mark the FSM SSN step as complete while we still have the FSM ssn step.)📜 Testing Plan
(You can test on Joy or you can watch the before and after demo videos below)
in_person_ssn_info_controller_enabledflag should be set to true in the environment you will be testing./verify/in_person_proofing/ssn. This is the non-FSM SSN version.)/verify/in_person/verify_infochange the url to the FSM version of SSN (/verify/in_person/ssn). You should not be redirected back to the SSN. You should remain on the Verify Info page. (This is what we fixed. Previously you would be directed back)./verify/in_person_proofing/ssn./verify/in_person/verify_info) change the url to the non-FSM version of SSN (/verify/in_person_proofing/ssn). You should not be redirected back to the SSN. You should remain on the Verify Info page. (This is to confirm the same behavior occurs for the non-FSM step)./verify/in_person_proofing/ssn.Important Notes 📓
non-FSM can be tested in joy- it has the
in_person_ssn_info_controller_enabledflag is set to truefsm can be tested in dev- it has the
in_person_ssn_info_controller_enabledflag is set to false👀 Demo
Before: -- Please Open --
You should not be redirected so the SSN view when you change the URL to `/verify/in_person/ssn` on the Verify your information page but you are. This is what we are solving for./verify/in_person_proofing/ssn- This shows the feature flag is on and we are using the non-FSM SSN step./verify/in_person/ssn(FSM-step) and we are redirected- we should not be!/verify/in_person_proofing/ssn(non-FSM step) and we are not redirected (as expected).Screen.Recording.2023-08-01.at.10.10.52.AM.mov
After: -- Please Open --
You should not be redirected so the SSN view when you change the URL to `/verify/in_person/ssn` on the Verify your information page, problem fixed./verify/in_person_proofing/ssn- This shows the feature flag is on and we are using the non-FSM SSN step./verify/in_person/ssn(FSM-step) and we are not redirected- this is what was fixed!/verify/in_person_proofing/ssn(non-FSM step) and we are not redirected (as expected).Screen.Recording.2023-08-01.at.10.05.45.AM.mov