Skip to content

D-002: Implement comprehensive E2E test coverage with Playwright #405

Description

@Nanle-code

Overview


Implementation Details

Step 1: Set up Playwright infrastructure

  • Configure playwright.config.ts for all viewports
  • Add authentication fixtures for wallet tests
  • Set up test data factories

Step 2: Create test utilities

  • Build helper functions for common actions
  • Create mock data generators
  • Add custom matchers for Stellar-specific assertions

Step 3: Write critical path tests

  • Account connection flow (happy path + edge cases)
  • Transaction submission flow
  • Wallet connection (Freighter, Ledger)
  • Contract interaction flow

Step 4: Add visual regression

  • Configure Percy or Chromatic
  • Create baseline screenshots
  • Add visual tests for all major components

Step 5: Mobile testing

  • Add mobile viewport tests
  • Test touch interactions
  • Verify responsive layouts

Metadata

Metadata

Assignees

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions