LG-9852: FSM/SSN -GET Route, Template, Controller And 404 Action#8744
LG-9852: FSM/SSN -GET Route, Template, Controller And 404 Action#8744gina-yamada merged 27 commits intomainfrom
Conversation
…w route-controller-view for IPP ssn step outside of FSM
…o not going to add in non fsm
…52-getRouteSsnController
…52-getRouteSsnController
|
@gina-yamada for when the flag is enabled, this step: |
@svalexander It shouldn't be. Please poke me if you disagree after this explanation or want to talk about it more.
|
|
The plan is to change the url to /verify/in_person_proofing/ssn temporarily so that is why the controller is pointing at file 'in_person'. On the delete PR, we can change /verify/in_person_proofing/ssn back to /verify/in_person/ssn so keeping the controller inside folder in_person will make for less work in the future. @svalexander I had this comment in the PR in the routes file in the code. It was marked as pending so you never saw it. 😮💨 I tried to inform you before so good call out catching this/being concerned. Now I know I can't add comments in the code- else they will remain as pending. Boo github |
| before_action :confirm_verify_info_step_needed | ||
| before_action :confirm_in_person_address_step_complete | ||
| before_action :confirm_repeat_ssn, only: :show | ||
| ## TO DO: ARE WE DOING THREATMETRIX? IF YES, KEEP |
There was a problem hiding this comment.
I wonder if this should be removed before merging (or if not, how to capture when to remove it in the future).
This commit on your branch seems to imply we won't need it, but I could be mistaken.
There was a problem hiding this comment.
@night-jellyfish I left the comment it as a reminder to check/ask during code review, so thanks for mentioning it.
Inside the FSM ssn controller (app/services/idv/steps/in_person/ssn_step.rb) we do not have threatmetrix methods like Team Ada does in their SSN controller (app/controllers/idv/ssn_controller.rb). (That I found- I could have missed it.)
We do have threatmetrix stuff in our FSM SSN template (app/views/idv/in_person/ssn.html.erb) - so I included in my template.
I think we can delete comment and override_csp before action- maybe a question for product owner if we do threat metrix overrides for ipp.
There was a problem hiding this comment.
@night-jellyfish I removed the before_action override_csp_for_threat_metrix_no_fsm as I am not seeing it being used in FSM SSN. (I only see it being used in Doc Auth SSN.) The name also has no_fsm in it so don't think I need it. I cleaned up the tests that went with it also, see commit 04fcd86.
The code I mentioned in the template is only for dev and is a drop down so you can decide if you want to pass/fail/etc. To see it add this feature flag to application.yml proofing_device_profiling and set it to enabled. We have this same functionality on FSM IPP SSN step.
sheldon-b
left a comment
There was a problem hiding this comment.
Couple of small questions/requests. Looks really good!
soniaconnolly
left a comment
There was a problem hiding this comment.
LGTM, one query about a spec helper.
spec/support/features/idv_helper.rb
Outdated
| end | ||
|
|
||
| def click_idv_update | ||
| click_spinner_button_and_wait t('forms.buttons.submit.update') |
There was a problem hiding this comment.
Is the Ssn page Submit/Update button a spinner button?
There was a problem hiding this comment.
@soniaconnolly No. Updated with commit 3372c4d to be...
click_on t('forms.buttons.submit.update')
Thanks for the review!
🎫 Ticket
LG-9852 FSM/SSN -GET Route, Template, Controller And 404 Action
🛠 Summary of changes
in_person_ssn_info_controller_enabled. This is the first step in building a non-FSM controller based SSN step to eventually pull out the SSN step.verify/in_person/ssnverify/in_person/ssntoverify/in_person_proofing/ssn, you will get a 404 pageverify/in_person_proofing/ssn🏁 Feature Flag
in_person_ssn_info_controller_enabled- boolean📜 Testing Plan
When the feature flag is disabled (Check existing behavior is not affected)
verify/in_person/ssn- changing the url toverify/in_person_proofing/ssngives you a 404 error page/verify/in_person/addresstoverify/in_person/ssn(double-address verification is enabled and state id is not the same as residential address)/verify/in_person/state_idtoverify/in_person/ssn(double-address verification is enabled and state id is the same as residential address)/verify/in_person/verify_info, you can go back to edit SSN, and you arrive atverify/in_person/ssn/verify/in_person/verify_infoverify/in_person/ssn. Back button is not present./verify/in_person/ssn(EDITED URL) - PLEASE RETESTverify/welcomeverify/in_person/ssnmore than once. Cancel button is not present./verify/in_person/verify_info/verify/ssn(and hit it again after editing on/verify/verify_info)When the feature flag is enabled
/verify/in_person/addresstoverify/in_person_proofing/ssn(double-address verification is enabled and state id is not the same as residential address)/verify/in_person/state_idtoverify/in_person_proofing/ssn(double-address verification is enabled and state id is the same as residential address)/verify/in_person/verify_info, you can go back to edit SSN, and you arrive atverify/in_person_proofing/ssn/verify/in_person_proofing/verify_infoverify/in_person/ssn. Back button is not present./verify/in_person_proofing/ssn(EDITED URL) - PLEASE RETESTverify/welcomeverify/in_person_proofing/ssnmore than once. Cancel button is not present./verify/in_person_proofing/verify_info/verify/ssn(and hit it again after editing on/verify/verify_info)👀 Screenshots
If relevant, include a screenshot or screen capture of the changes.
in_person_ssn_info_controller_enabled: false
in_person_ssn_info_controller_enabled: true