diff --git a/@packages/@plugins/E2E_TESTING.md b/@packages/@plugins/E2E_TESTING.md deleted file mode 100755 index b2453475b..000000000 --- a/@packages/@plugins/E2E_TESTING.md +++ /dev/null @@ -1,250 +0,0 @@ -# E2E Testing Quick Start - -Quick reference for running and writing E2E tests for the payment plugin. - -## Running Tests - -```bash -# Install Playwright browsers (first time only) -pnpm exec playwright install - -# Run all E2E tests -pnpm test:e2e - -# Run in headed mode (see browser) -pnpm test:e2e:headed - -# Run in debug mode -pnpm test:e2e:debug - -# View HTML report -pnpm test:e2e:report -``` - -## Test Coverage - -**809 lines** of comprehensive E2E tests covering: - -### ✅ Subscription Flows (7 tests) -- Display subscription tiers -- Complete subscription with credit card (no 3DS) -- Handle 3DS authentication -- Cryptocurrency payment -- Payment failure handling -- Change subscription tier -- Cancel subscription - -### ✅ Tip Flows (7 tests) -- Display tip button -- Show tip presets (Coffee $5, Lunch $10, Amazing $50) -- Custom tip amounts -- Amount validation (min/max) -- Complete tip payment -- Optional message field -- Payment failure handling - -### ✅ Payout Flows (9 tests) -- Display balance (available + pending) -- Minimum payout requirement -- Payout method selection -- Bank transfer payout -- PayPal payout -- Cryptocurrency payout -- Payout history -- Status badges -- Payout failure handling - -### ✅ Payment Method Management (4 tests) -- Display saved methods -- Add new credit card -- Set default method -- Remove method - -**Total: 27 comprehensive E2E tests** - -## Required Component Attributes - -For E2E tests to work, components must include these `data-testid` attributes: - -### Subscription Components -```tsx -
-
-
-
-