Skip to content

LG-9524: log residential address resolution in event.#8373

Merged
dawei-nava merged 1 commit intomainfrom
dawei/LG-9524-resolution-proofing-job-log
May 11, 2023
Merged

LG-9524: log residential address resolution in event.#8373
dawei-nava merged 1 commit intomainfrom
dawei/LG-9524-resolution-proofing-job-log

Conversation

@dawei-nava
Copy link
Contributor

@dawei-nava dawei-nava commented May 10, 2023

🎫 Ticket

LG-9524: Update logs for resolution proofing job

🛠 Summary of changes

Log result of residential address proofing in event log.

📜 Testing Plan

Provide a checklist of steps to confirm the changes.

  • login to localhost:3000
  • Start in person proofing process
  • Fill in all information, use residential address different with id address
  • Verify info, this will take you to verify phone step.
  • Check event log looking for "name":"IdV: doc auth optional verify_wait submitted"
  • The log entry should contain "residential_address" with information as one of the "stages". It should also contain "double_address_verification" as an attribute for "context" entry.
  • All tests should pass

@dawei-nava dawei-nava force-pushed the dawei/LG-9524-resolution-proofing-job-log branch from 71ced26 to 0e258a4 Compare May 10, 2023 19:47
@dawei-nava dawei-nava changed the title log residential address resolution in event. LG-9524: log residential address resolution in event. May 10, 2023
@dawei-nava dawei-nava requested review from a team and eileen-nava May 10, 2023 21:01
@svalexander
Copy link
Contributor

svalexander commented May 10, 2023

This is failing on gitlab b/c it's missing the changelog message, has a linting issue (running rubocop -a will likely fix the lint issue) and has tests failing in analytics_spec.rb

changelog: Internal, In-Person Proofing, Log the residential address proofing result of DAV in analytics event.
@dawei-nava dawei-nava force-pushed the dawei/LG-9524-resolution-proofing-job-log branch from 0e258a4 to 0edc109 Compare May 10, 2023 23:40
Copy link
Contributor

@eileen-nava eileen-nava left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! I am including a screenshot of what I saw in events.log

The double address verification flag is logged
9524DoubleAddressVerificationInLogs

The residential address resolution is logged
9524ResAddressIDAddressInLogs

👏🏻 👏🏻 👏🏻

expect(result_context_stages_resolution[:attributes_requiring_additional_verification]).
to eq([])

# result[:context][:stages][:residential_address]
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yay for tests!

@dawei-nava dawei-nava merged commit 5983c8c into main May 11, 2023
@dawei-nava dawei-nava deleted the dawei/LG-9524-resolution-proofing-job-log branch May 11, 2023 20:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants