-
Notifications
You must be signed in to change notification settings - Fork 31
test: add Playwright E2E for wallets SDK (staging) with getOrCreateWallet sample #1416
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
Conversation
…nt/wallets-sdk Co-Authored-By: Alberto García <alberto@paella.dev>
Co-Authored-By: Alberto García <alberto@paella.dev>
Original prompt from Alberto |
🤖 Devin AI EngineerI'll be helping with this pull request! Here's what you should know: ✅ I will automatically:
Note: I can only respond to comments from users who have write access to this repository. ⚙️ Control Options:
|
|
|
The latest updates on your projects. Learn more about Vercel for GitHub.
1 Skipped Deployment
|
…example Co-Authored-By: Alberto García <alberto@paella.dev>
Co-Authored-By: Alberto García <alberto@paella.dev>
Co-Authored-By: Alberto García <alberto@paella.dev>
Co-Authored-By: Alberto García <alberto@paella.dev>
Co-Authored-By: Alberto García <alberto@paella.dev>
…pecs Co-Authored-By: Alberto García <alberto@paella.dev>
Description
Implements end-to-end Playwright testing scaffolding for the
@crossmint/wallets-sdkpackage as requested by @alberto-crossmint. This adds:packages/wallets/e2e/getOrCreateWalletusing real Crossmint staging environmentThe test requires a CLIENT API key (
ck_staging_...) to be configured as theCROSSMINT_STAGING_API_KEYGitHub secret. Server keys (sk_staging_...) will fail becausegetOrCreateWalletcan only be called from client-side code.Test plan
getOrCreateWalletthat verifies wallet creation succeeds and returns an addressHuman Review Checklist
Critical items to verify:
CROSSMINT_STAGING_API_KEYGitHub secret is configured with a CLIENT key (ck_staging_...), not server keyPackage updates:
@playwright/test: 1.54.2,vite: ^5.4.0,dotenv: ^16.3.1,dotenv-cli: ^7.4.1to wallets package devDependenciesLink to Devin run: https://app.devin.ai/sessions/952ab99d26c64024857ab74ca3e680fc
Requested by: @alberto-crossmint