Skip to content

LG-10553 remove skip vendor outage from flow session#9042

Merged
soniaconnolly merged 6 commits intomainfrom
sonia-lg-10553-remove-skip-vendor-outage-from-flow-session
Aug 21, 2023
Merged

LG-10553 remove skip vendor outage from flow session#9042
soniaconnolly merged 6 commits intomainfrom
sonia-lg-10553-remove-skip-vendor-outage-from-flow-session

Conversation

@soniaconnolly
Copy link
Contributor

🎫 Ticket

LG-10553

🛠 Summary of changes

  • Replace flow_session[:skip_vendor_outage] with idv_session.mail_only_warning_shown
  • Move the two methods in OutageConcern into IdvStepConcern, since that was the only place it was used
  • Rename #check_for_outage to #check_for_mail_only_outage
  • Rename GpoOnlyWarningController to MailOnlyWarningController. The route was already /mail_only_warning.

Note: Do not deploy this during a phone outage to avoid 50/50 state issues with moving the flow_session value to idv_session.

📜 Testing Plan

  • Create account, start IdV
  • Part-way through IdV (e.g. on Ssn step), set vendor_status_sms: full_outage in application.yml
  • Restart server
  • Click Continue on current step
  • Expect to see /verify/mail_only_warning page
  • click Continue
  • Expect to continue IdV without seeing the warning again
  • Expect to be directed to Verify By Mail flow

@soniaconnolly soniaconnolly force-pushed the sonia-lg-10553-remove-skip-vendor-outage-from-flow-session branch from 8dfb002 to 736837d Compare August 18, 2023 23:05
@soniaconnolly soniaconnolly requested review from a team, solipet and theabrad August 21, 2023 15:18

def next_step_url
return idv_gpo_url if FeatureManagement.idv_gpo_only?
return idv_gpo_url if FeatureManagement.idv_by_mail_only?
Copy link
Contributor

Choose a reason for hiding this comment

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

mail_only is a much better name!

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. mail_only_outage is more descriptive for what it does.

Copy link
Contributor

@matthinz matthinz 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 like the renames and the removing of OutageConcern

@soniaconnolly soniaconnolly merged commit 784be1d into main Aug 21, 2023
@soniaconnolly soniaconnolly deleted the sonia-lg-10553-remove-skip-vendor-outage-from-flow-session branch August 21, 2023 21:44
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