Conversation
|
|
Hi @svalexander, this is a huge undertaking! Let me know if you'd like pair or look at the failing tests for this PR. I have availability |
app/presenters/idv/in_person/verification_results_email_presenter.rb
Outdated
Show resolved
Hide resolved
| capture_secondary_id_enabled || false | ||
| def double_address_verification | ||
| # if in person return true else return false | ||
| current_user.has_in_person_enrollment? |
There was a problem hiding this comment.
updated this line of code but the previous comment still stands so will re-paste here:
temporarily using double_address_verification to check if we're in the ipp flow in files related to the proofing job and result adjudication. Will add a ticket that adds flag for enrollments that are created in the ipp flow in order to distinguish those enrollments in the files that still reference double_address_verification
sheldon-b
left a comment
There was a problem hiding this comment.
Just a few minor cleanup / clarification sorts of suggestions to consider. I'm going to test it out locally before approving
| current_user.establishing_in_person_enrollment&. | ||
| capture_secondary_id_enabled || false | ||
| def double_address_verification | ||
| # if in person return true else return false |
There was a problem hiding this comment.
Not a blocking comment but I would love the comment to say that it's temporary code, and ideally with a reference to the ticket where it'll be removed (even if the ticket is just a placeholder you create in Jira and isn't fully defined just yet)
| # if in person return true else return false | |
| # if in person return true else return false. this is temporary logic until we remove the rest of the DAV logic | |
| # todo (LG-#####): remove this method when the DAV flag has been removed |
sheldon-b
left a comment
There was a problem hiding this comment.
@svalexander I'm having issues with my local environment that I need to sort out but I don't want to block this PR in the mean time. Once I get my local environment setup correctly I'll test this out and will trust that you've run through it as well
spec/presenters/idv/in_person/verification_results_email_presenter_spec.rb
Show resolved
Hide resolved
gina-yamada
left a comment
There was a problem hiding this comment.
Ran through different scenarios (Yes, I live.. No, I don't live..., Yes- with edits, No - with edits), Cancel- then continue, etc- I am being directed as I'd expect for all scenarios. I observed Puerto Rick extras on both State and Address View. Form Validation (required fields) working as expected. Every field observed on mocks for state & residential. Bad SSN reduces attempts and locks out account after 5 failed attempts. Remote flow (Team Ada's) is not affected by your changes. The Verify your information mocks are what I observe locally. Issuing state is on Verify info and there is an extra line after ID number. (I may have been looking at outdated mocks for a comment I made last week.) Looking at tests- updates all seem reasonable. Lots of changes, I think reasonable to ask for another approver but this looks good to me.
🎫 Ticket
LG-9192
🛠 Summary of changes
This pr makes double address verification the permanent view for ipp. The flags and conditionals associated with dav are removed from the verify page, address page and state id page. It also updates the in person spec, including to change the happy path to reflect a user who does live at the address on their id.
📜 Testing Plan
Provide a checklist of steps to confirm the changes.