Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Embed: Unit testing #3202

Open
6 tasks
Jkd-eth opened this issue Jan 23, 2025 · 0 comments · May be fixed by passportxyz/passport-embed#12
Open
6 tasks

Embed: Unit testing #3202

Jkd-eth opened this issue Jan 23, 2025 · 0 comments · May be fixed by passportxyz/passport-embed#12
Assignees
Labels
Embed Passport Embed Product

Comments

@Jkd-eth
Copy link
Contributor

Jkd-eth commented Jan 23, 2025

User Story:

As the Passport developer team
We want to have unit tests for all Embed functionality
So that we can know if there are issues before we go into production

Acceptance Criteria

GIVEN the current Embed functionalty
WHEN we check in code
THEN we have unit tests for the main functionality

Determine a unit testing framework
Create unit tests for each functionality
Testing hooks (vs. UI) as priority

Tests

  • Test wallet connection - callback is working and updates the component
  • Verify call
  • rendering of stamps with proper status (verified or not)
  • All config settings are applied in the UI
  • Pop-up is working (opens & closes)
  • Generate a signature to test Oauth flow

Product & Design Links:

Tech Details:

Open Questions:

Notes/Assumptions:

@Jkd-eth Jkd-eth added the Embed Passport Embed Product label Jan 23, 2025
@Jkd-eth Jkd-eth moved this to Prioritized in Passport New Jan 23, 2025
@lucianHymer lucianHymer moved this from Prioritized to In Progress (WIP) in Passport New Jan 30, 2025
@lucianHymer lucianHymer self-assigned this Jan 30, 2025
@lucianHymer lucianHymer moved this from In Progress (WIP) to Prioritized in Passport New Jan 30, 2025
@lucianHymer lucianHymer removed their assignment Jan 30, 2025
@lucianHymer lucianHymer moved this from Prioritized to In Progress (WIP) in Passport New Jan 30, 2025
@lucianHymer lucianHymer self-assigned this Jan 30, 2025
@lucianHymer lucianHymer linked a pull request Jan 31, 2025 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Embed Passport Embed Product
Projects
Status: In Progress (WIP)
Development

Successfully merging a pull request may close this issue.

2 participants