Skip to content

test for temporary library card#534

Merged
roseb89 merged 18 commits intomainfrom
SWIS-241/-tempo-card-tests
Feb 18, 2026
Merged

test for temporary library card#534
roseb89 merged 18 commits intomainfrom
SWIS-241/-tempo-card-tests

Conversation

@roseb89
Copy link
Collaborator

@roseb89 roseb89 commented Feb 6, 2026

Description

Temporary card
Tickets:

Motivation and Context

How Has This Been Tested?

npx playwright test out-of-state-e2e.spec.ts

Checklist:

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

@roseb89 roseb89 requested a review from Copilot February 6, 2026 19:41
@vercel
Copy link

vercel bot commented Feb 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 Feb 17, 2026 9:40pm

Request Review

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Adds Playwright coverage for the “temporary library card” Congrats page state to assert the presence of the temporary-card messaging and related links.

Changes:

  • Adds a new Playwright spec validating temporary card UI elements on the Congrats page.
  • Extends the CongratsPage page object with locators for the temporary card banner and related links.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 3 comments.

File Description
playwright/tests/temporary-card.spec.ts New test exercising the temporary-card Congrats page flow and asserting key elements are visible
playwright/pageobjects/congrats.page.ts Adds page object locators used by the new temporary-card test

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@roseb89 roseb89 requested a review from Copilot February 6, 2026 20:18
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Copilot reviewed 2 out of 2 changed files in this pull request and generated 2 comments.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Base automatically changed from swis-253/congrats-page to main February 6, 2026 21:04
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Copilot reviewed 18 out of 20 changed files in this pull request and generated 8 comments.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Copilot reviewed 3 out of 3 changed files in this pull request and generated 3 comments.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@russellcullen russellcullen changed the title temporary library card test for temporary library card Feb 11, 2026
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Copilot reviewed 2 out of 2 changed files in this pull request and generated no new comments.

Comments suppressed due to low confidence (1)

playwright/tests/oos-e2e.spec.ts:152

  • The PR description says the change was tested with npx playwright test out-of-state-e2e.spec.ts, but that spec file doesn’t appear to exist in the repo (the updated test is playwright/tests/oos-e2e.spec.ts). Please update the PR description with the correct command so others can reproduce the test run.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment on lines 31 to 34
Copy link
Collaborator

Choose a reason for hiding this comment

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

I actually liked how you originally named this heading as temporaryHeading and then we could name the metro heading something similar.

Would temporaryCardHeading and permanentCardHeading be good options?

@clarissarichard
Copy link
Collaborator

Would you be able to resolve the conflicts? I want to make sure the tests are passing before another review.

@roseb89
Copy link
Collaborator Author

roseb89 commented Feb 18, 2026

Would you be able to resolve the conflicts? I want to make sure the tests are passing before another review.

I resolved the conflicts and the tests are passing.

Copy link
Collaborator

@clarissarichard clarissarichard left a comment

Choose a reason for hiding this comment

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

Looks good, thank you!

@roseb89 roseb89 merged commit f67cc77 into main Feb 18, 2026
8 checks passed
@roseb89 roseb89 deleted the SWIS-241/-tempo-card-tests branch February 18, 2026 17:16
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.

4 participants

Comments