LG-10091 FSM/SSN - Move Extra Analytic Properties to A Shared Concern#8865
LG-10091 FSM/SSN - Move Extra Analytic Properties to A Shared Concern#8865gina-yamada merged 13 commits intomainfrom
Conversation
…properties to non-fsm ssn step
|
To whoever reviews this pull request- Please run May need to add |
| let(:flow_session) do | ||
| { 'document_capture_session_uuid' => 'fd14e181-6fb1-4cdc-92e0-ef66dad0df4e', | ||
| 'pii_from_user' => Idp::Constants::MOCK_IDV_APPLICANT_SAME_ADDRESS_AS_ID_WITH_NO_SSN.dup, | ||
| :threatmetrix_session_id => 'c90ae7a5-6629-4e77-b97c-f1987c2df7d0', |
There was a problem hiding this comment.
do we not need tests for threatmetrix?
There was a problem hiding this comment.
@svalexander Good point! I can see threatmetric_session_id on flow_session on ssn step for both fsm and non-fsm so I put threatmetrix_session_id back onto flow_session (for test data) and added two tests.
See commit 073e2f2
svalexander
left a comment
There was a problem hiding this comment.
LGTM. Running the ssn spec passed for me (I ran 3 times).
Thanks for running them! My internet has been slow today and I think that may have caused these inconsistencies. I dug into them but never once observed failure when the pipeline ran them |
🎫 Ticket
LG-10091 FSM/SSN - Move extra analytics properties to a shared concern
🛠 Summary of changes
app/controllers/idv/in_person/verify_info_controller.rbto use shared concern📜 Testing Plan
Run through the steps👇 on main branch with
in_person_ssn_info_controller_enabledset to false in application.yml. This shows the analytic property currently being added to the FSM version on the SSN step. (See Scenario 1 in screenshots)Run through the steps👇 on main branch with
in_person_ssn_info_controller_enabledset to true in application.yml. This shows the analytic property currently not being added to the non-FSM version on the SSN step. (See Scenario 2 in screenshots)Run through the steps👇 on
gyamada/LG-10091-extra-propbranch within_person_ssn_info_controller_enabledset to true in application.yml. This shows the analytic property has been added to the non-FSM version on the SSN step. (See Scenario 3 in screenshots)Run through the team Ada's flow on
gyamada/LG-10091-extra-prop. This shows the analytic property has not been added to the SSN step for the doc auth flow. (See Scenario 4 in screenshots)Steps:
in_person_ssn_info_controller_enabledto false in application.ymlevents.loginside logevents.logand search forssn. View the properties for bothIdV: doc auth ssn visitedandIdv: doc auth ssn submitted. Both should have fieldsame_address_as_idand the value should match what your selection was.👀 Screenshots
Scenario 1:
Scenario 2:
Scenario 3:
Scenario 4: