Skip to content

SWIS-347: Update congrats page to be language agnostic#589

Draft
clarissarichard wants to merge 5 commits intoSWIS-345/language-agnostic-reviewfrom
SWIS-347/language-agnostic-congrats
Draft

SWIS-347: Update congrats page to be language agnostic#589
clarissarichard wants to merge 5 commits intoSWIS-345/language-agnostic-reviewfrom
SWIS-347/language-agnostic-congrats

Conversation

@clarissarichard
Copy link
Copy Markdown
Collaborator

@clarissarichard clarissarichard commented Mar 6, 2026

Notes

Noting that all commented tests will be resolved by the end before anything is merged to main! This will be a bit of a tedious thing to review - apologies in advance 😅

I'm going merge each PR incrementally into SWIS-300/language-agnostic-landing and merge that PR into main. Please let me know if y'all happen to know a better way to do this!

Description

  • Updates locators on congrats page to refer to translation keys
  • Adds for loop to congrats page and e2e tests to loop through languages

Tickets:

Motivation and Context

Updates Playwright tests to be language agnostic.

How Has This Been Tested?

Run npm run playwright

Checklist:

  • I have updated the documentation accordingly.
  • All new and existing tests passed.

@clarissarichard clarissarichard self-assigned this Mar 6, 2026
@vercel
Copy link
Copy Markdown

vercel bot commented Mar 6, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
nypl-library-card-app Ready Ready Preview, Comment Mar 18, 2026 4:27pm

Request Review

@clarissarichard clarissarichard changed the base branch from main to SWIS-345/language-agnostic-review March 6, 2026 16:22
Comment on lines +164 to +165
"part3": "<b>{{temporaryCard}}</b> If you live, work, attend school, or pay property taxes in New York State, <a href='https://www.nypl.org/help/library-card/terms-conditions#renew'>{{learnMore}}</a> about how to update your card. If you're a researcher planning an upcoming visit more than 30 days from now, and for all other questions, contact <a href='mailto:gethelp@nypl.org'>{{getHelp}}</a>.",
"temporaryCard": "This is a temporary card and will expire in 30 days.",
Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

Note to self: Potentially update this depending on decision made for alternate-address page

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.

1 participant