Skip to content

LG-16699 Fix inconsistent passport error messages in IAL2 flow#12562

Merged
Mawar2 merged 1 commit intomainfrom
mw/LG-16699
Oct 7, 2025
Merged

LG-16699 Fix inconsistent passport error messages in IAL2 flow#12562
Mawar2 merged 1 commit intomainfrom
mw/LG-16699

Conversation

@Mawar2
Copy link
Copy Markdown
Contributor

@Mawar2 Mawar2 commented Oct 6, 2025

changelog: User-Facing Improvements, LN IAL2 Passport Flow, Fix inconsistent error messaging to show correct ID type in headings

Link to the relevant ticket:
LG-16699

🛠 Summary of changes

Fixed the passport error page to show the correct heading. Before, it said "Add photos of your driver's license or state ID card" even when the user was uploading a passport. Now it correctly says "Add a photo of your passport" for passport flows.

📜 Testing Plan

Provide a checklist of steps to confirm the changes.

  • Start IAL2 passport flow with selfie enabled
  • Upload a bad passport fixture to trigger an error (spec/fixtures/passport_bad_mrz_credential.yml)
  • Confirm the H1 heading says "Add a photo of your passport" instead of referencing driver's license
  • Run the test

👀 Screenshots

Check your photo and try again Revise su foto e inténtelo de nuevo O LOGIN GOV Screenshot 2025-10-06 at 4 25 25 PM

changelog: User-Facing Improvements, LN IAL2 Passport Flow, Fix inconsistent error messaging to show correct ID type in headings
Copy link
Copy Markdown
Contributor

@shanechesnutt-ft shanechesnutt-ft left a comment

Choose a reason for hiding this comment

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

Ran through the test plan things are looking good! 👍🏻

@Mawar2 Mawar2 merged commit 07029d5 into main Oct 7, 2025
1 check passed
@Mawar2 Mawar2 deleted the mw/LG-16699 branch October 7, 2025 19:50
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.

2 participants