Skip to content

LG-10201: cancel stale enrollments on doc capture visit#8712

Merged
tomas-nava merged 2 commits intomainfrom
tomas/fix-persisting-establishing-enrollments
Jul 3, 2023
Merged

LG-10201: cancel stale enrollments on doc capture visit#8712
tomas-nava merged 2 commits intomainfrom
tomas/fix-persisting-establishing-enrollments

Conversation

@tomas-nava
Copy link
Contributor

@tomas-nava tomas-nava commented Jul 3, 2023

🎫 Ticket

LG-10201

🛠 Summary of changes

Cancels any 'establishing' in-person enrollments when the document capture page is submitted. This fixes a bug where the progressive proofer was trying to follow the double address verification flow even though the user was verifying remotely, because they'd previously begun the in-person flow and then started over.

📜 Testing Plan

Once the change is on staging,

  1. go to staging and create an account via the OIDC app;

  2. fail doc capture & start down the in-person flow, get as far as selecting a location and loading the state ID page;

  3. return to doc capture (do not click 'cancel'); you can do this by taking one of the below actions:

    1. return to the OIDC app and click 'sign in' again;
    2. go to the root URL (which will redirect to your profile) and click 'Continue to Sample OpenID Connect Sinatra SP'
    3. edit the URL to /verify
  4. successfully pass doc capture & continue the remote verification flow;

  5. confirm that you are able to verify successfully

changelog: Bug Fixes, In-person proofing, cancel establishing enrollments on visiting doc capture
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, with some of the future work we discussed.

@gina-yamada
Copy link
Contributor

LGTM

@tomas-nava tomas-nava merged commit 714f4c7 into main Jul 3, 2023
@tomas-nava tomas-nava deleted the tomas/fix-persisting-establishing-enrollments branch July 3, 2023 19:52
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