Skip to content

LG-10403 End to end spec in person verify by mail#8898

Merged
soniaconnolly merged 6 commits intomainfrom
sonia-lg-10403-end-to-end-spec-in-person-verify-by-mail
Jul 31, 2023
Merged

LG-10403 End to end spec in person verify by mail#8898
soniaconnolly merged 6 commits intomainfrom
sonia-lg-10403-end-to-end-spec-in-person-verify-by-mail

Conversation

@soniaconnolly
Copy link
Contributor

@soniaconnolly soniaconnolly commented Jul 28, 2023

🎫 Ticket

LG-10403

🛠 Summary of changes

  • Add end to end test from the SP that uses in person and verify by mail flows, and logs the user out when they would log out in reality.
  • Add test helpers for gpo flow and marking in_person enrollment as passed.
  • Changed name of a couple of in_person helpers to make them more findable.

soniaconnolly and others added 2 commits July 28, 2023 11:12
Co-authored-by: John Maxwell <john.maxwell@gsa.gov>
Co-authored-by: Alexander Bradley <alexander.bradley@gsa.gov>
[skip changelog]
@soniaconnolly soniaconnolly force-pushed the sonia-lg-10403-end-to-end-spec-in-person-verify-by-mail branch from e578504 to f8c65e6 Compare July 28, 2023 20:00
@soniaconnolly soniaconnolly requested review from a team and jmax-gsa July 28, 2023 20:19
# unsupervised proofing happy path mobile only
# hybrid mobile end to end (edit hybrid_mobile_spec)
# verify by mail
# in person proofing
Copy link
Contributor

Choose a reason for hiding this comment

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

We can take these two comments out now

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Good point. I removed the whole comment and added LG-10495 for the hybrid_mobile spec. Should we add a ticket for a verify by mail spec that doesn't use in_person, or do you think that's covered well enough?

Copy link
Contributor

Choose a reason for hiding this comment

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

I feel verify_by_mail is covered well with IPP. The only difference would be the account is active right before the personal key page.


acknowledge_and_confirm_personal_key

# click return to sp link
Copy link
Contributor

Choose a reason for hiding this comment

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

should we make this into a method? something like click_return_to_sp_from_ipp?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Turns out there was a helper. I changed its name to make it more findable.

@soniaconnolly soniaconnolly requested review from a team and svalexander July 28, 2023 22:11
Copy link
Contributor

@theabrad theabrad left a comment

Choose a reason for hiding this comment

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

LGTM!

user = sign_up
fill_in t('forms.password'), with: VALID_PASSWORD
fill_in t('components.password_confirmation.confirm_label'), with: VALID_PASSWORD
user.password = VALID_PASSWORD
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Setting this here so that sign_in_live_with_2fa(user) is successful after signing out. This helper is used all over, so wondering if this might hide issues in the future.

Copy link
Contributor

@svalexander svalexander left a comment

Choose a reason for hiding this comment

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

LGTM!

@soniaconnolly soniaconnolly merged commit 492aec5 into main Jul 31, 2023
@soniaconnolly soniaconnolly deleted the sonia-lg-10403-end-to-end-spec-in-person-verify-by-mail branch July 31, 2023 18:37
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