test: e2e tests for basic functionality#2189
Draft
bosbaber wants to merge 1 commit intostephan/int1-626from
Draft
test: e2e tests for basic functionality#2189bosbaber wants to merge 1 commit intostephan/int1-626from
bosbaber wants to merge 1 commit intostephan/int1-626from
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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:
package.jsonwith Playwright, TypeScript, and BDD dependencies, along with scripts for generating and running tests.playwright.config.ts) with BDD integration, environment variable loading, and test settings.tsconfig.json) for E2E tests..env.exampleand.gitignorefor environment and test artifacts management. [1] [2]Reusable Test Utilities and Helpers:
helpers/local-wallet.tswith functions for generating unique credentials, waiting for verification links in Docker logs, completing mock KYC, and automating the full signup/verification/login/KYC flow.features/steps/fixtures.tsfor managing credentials, screenshots, and context across scenarios.End-to-End Feature Test Suites: