Skip to content

LG-10024 IPP Perosnal Key#8558

Merged
theabrad merged 9 commits intomainfrom
abrad-lg-10024-ipp-personal-key
Jun 13, 2023
Merged

LG-10024 IPP Perosnal Key#8558
theabrad merged 9 commits intomainfrom
abrad-lg-10024-ipp-personal-key

Conversation

@theabrad
Copy link
Contributor

@theabrad theabrad commented Jun 8, 2023

🎫 Ticket

LG-10024

🛠 Summary of changes

People were undergoing verify-by mail and In-Person Proofing were not reaching the Personal Key page. We changed how the redirect works.

theabrad added 3 commits June 7, 2023 11:51
changelog: Bug Fixes, IdV Personal Key, allow users to visit personal
key page before in-person proofing
@theabrad theabrad requested a review from a team June 8, 2023 19:44
Copy link
Contributor

@eric-gade eric-gade left a comment

Choose a reason for hiding this comment

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

lgtm 👍

@theabrad theabrad requested review from a team and racingspider June 12, 2023 15:30
# personal key
expect_in_person_step_indicator_current_step(t('step_indicator.flows.idv.secure_account'))
expect(page).to have_content(t('titles.idv.personal_key'))
deadline = nil
Copy link
Contributor

Choose a reason for hiding this comment

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

It doesn't look like we do anything with deadline. Did I miss a usage, or do we need another spec here, or what?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

yep. i'll remove it. it is not needed for this test

end

def prepare_for_personal_key
event, _disavowal_token = create_user_event(:account_verified)
Copy link
Contributor

Choose a reason for hiding this comment

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

Two questions that might be unhelpful:

  1. Do we need to destructure _disavowal_token since we don't use it?
  2. I'm not super familiar with create_user_event, but are there side effects to calling it? The previous code used to completely skip this during IPP, so I just want to make sure nothing unexpected happens.

Otherwise this looks good!

Copy link
Contributor Author

@theabrad theabrad Jun 12, 2023

Choose a reason for hiding this comment

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

Good catch. I'll move that line into the unless statement below. The alert is for people who pass verify-by-mail, but don't have a pending in-person step afterwards.

Copy link
Contributor

@soniaconnolly soniaconnolly left a comment

Choose a reason for hiding this comment

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

LGTM

@JackRyan1989 JackRyan1989 self-requested a review June 13, 2023 13:43
Copy link
Contributor

@JackRyan1989 JackRyan1989 left a comment

Choose a reason for hiding this comment

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

LGTM!

@theabrad theabrad merged commit 3507d71 into main Jun 13, 2023
@theabrad theabrad deleted the abrad-lg-10024-ipp-personal-key branch June 13, 2023 14:34
@jmhooper jmhooper mentioned this pull request Jun 15, 2023
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.

5 participants