Skip to content

Add Playwright end-to-end testing setup with email notifications#323

Merged
Andre-Diamond merged 14 commits into
preprodfrom
feature/add-playwright-tests
Jun 25, 2026
Merged

Add Playwright end-to-end testing setup with email notifications#323
Andre-Diamond merged 14 commits into
preprodfrom
feature/add-playwright-tests

Conversation

@Andre-Diamond

Copy link
Copy Markdown
Collaborator

Introduce a comprehensive Playwright testing environment with PostgreSQL and wallet integration. Enhance wallet handling and implement an email notification system for wallet signatures. Update configurations and improve error handling across various components. Include detailed instructions for local testing and ensure compatibility with the latest wallet API.

…d wallet integration

- Introduced Dockerfile for Playwright to set up the testing environment.
- Created docker-compose configuration for orchestrating services including PostgreSQL and the application.
- Added detailed instructions for running Playwright tests locally in RUNNING_LOCALLY.md.
- Implemented authentication fixtures to handle wallet session management during tests.
- Developed wallet fixture for CIP-0030 wallet injection and interaction with the application.
- Added global setup for environment variable validation and context loading.
- Implemented helper functions for signing transactions and fetching UTxOs from Blockfrost.
- Created a comprehensive ring transfer test suite to validate multi-signature transactions.
- Added configuration for Playwright tests including output directories and reporting.
fix: instantiate provider lazily in resolveAdaHandle to prevent crashes in preprod environments

feat: persist hasCheckedSession in sessionStorage to avoid redundant session checks and modal displays

refactor: make NEXT_PUBLIC_BLOCKFROST_API_KEY_MAINNET optional for better environment handling

fix: ensure BlockfrostProvider is instantiated only with a valid API key
- Updated walletFixture to improve error handling and state management during wallet interactions.
- Modified meshSign to correctly handle transaction signing with CIP-30 compliance.
- Enhanced ring-transfer tests to include better diagnostics and ensure spendable UTxOs are available before transactions.
- Improved new transaction page to handle insufficient funds gracefully.
- Updated UTxO selector to reset state on fetch failure.
- Added early return in sendDiscordMessage for empty recipient lists.
- Configured default network setting in Zustand store based on environment variable.
- Introduced stored payment script wallet handling in wallet building logic.
- Excluded additional directories from TypeScript compilation.
- Added build arguments for Blockfrost API keys in docker-compose files to ensure consistent client bundle paths.
- Updated Dockerfile to handle Blockfrost API keys as environment variables for production builds.
- Modified CI workflow to allow insecure cookies for wallet sessions during testing.
- Refactored wallet handling in various components to use the new useMeshWallet hook, ensuring compatibility with the latest wallet API.
- Enhanced error handling in wallet session management to prevent issues with unconnected wallets.
- Updated @playwright/test from ^1.50.0 to 1.60.0 in package.json and package-lock.json.
- Removed unnecessary comments and improved code readability in resolve-adahandle.tsx.
- Simplified session checking logic in layout.tsx by removing sessionStorage handling.
- Cleaned up data-testid attributes in RecipientRow.tsx and index.tsx.
- Removed redundant state management in UTxOSelector.tsx.
- Removed unused broadcastDone state in transaction-card.tsx.
- Enforced required Blockfrost API key in env.js.
- Refactored wallet session cookie handling in walletSession.ts.
- Removed unused function buildStoredPaymentScriptWallet in common.ts.
- Simplified getProvider function to directly return BlockfrostProvider instance.
@vercel

vercel Bot commented Jun 25, 2026

Copy link
Copy Markdown

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

Project Deployment Actions Updated (UTC)
multisig Ready Ready Preview, Comment Jun 25, 2026 12:31pm

Request Review

@Andre-Diamond
Andre-Diamond merged commit 6386e67 into preprod Jun 25, 2026
8 checks passed
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