Skip to content

test: e2e tests for basic functionality#2189

Draft
bosbaber wants to merge 1 commit intostephan/int1-626from
stephan/int1-627
Draft

test: e2e tests for basic functionality#2189
bosbaber wants to merge 1 commit intostephan/int1-626from
stephan/int1-627

Conversation

@bosbaber
Copy link
Contributor

Context

This PR introduces the e2e framework and the first set of e2e tests. This is to establish the framework on which we will be building further tests.

Changes

This pull request introduces a comprehensive end-to-end (E2E) testing setup for the wallet application using Playwright and BDD (Behavior-Driven Development) style tests. It adds configuration, helper utilities, and two complete feature test suites: one for user onboarding (signup, verification, KYC, dashboard access) and another for cross-currency payment transfers. The changes provide a robust foundation for automated E2E testing with reusable helpers and clear scenario definitions.

E2E Test Infrastructure Setup:

  • Added a new package.json with Playwright, TypeScript, and BDD dependencies, along with scripts for generating and running tests.
  • Introduced Playwright configuration (playwright.config.ts) with BDD integration, environment variable loading, and test settings.
  • Created a TypeScript configuration (tsconfig.json) for E2E tests.
  • Added .env.example and .gitignore for environment and test artifacts management. [1] [2]

Reusable Test Utilities and Helpers:

  • Implemented helpers/local-wallet.ts with functions for generating unique credentials, waiting for verification links in Docker logs, completing mock KYC, and automating the full signup/verification/login/KYC flow.
  • Added shared test state and step fixture utilities in features/steps/fixtures.ts for managing credentials, screenshots, and context across scenarios.

End-to-End Feature Test Suites:

  • Added a feature file and step definitions for the complete wallet authentication onboarding flow, covering signup, email verification, login, KYC, and dashboard/account access. [1] [2]
  • Added a feature file and step definitions for cross-currency payment transfer navigation and input flows, including account and wallet address selection. [1] [2]

@bosbaber bosbaber self-assigned this Mar 24, 2026
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