vibe.e2e-commerce

Solid

E2E test scenarios for commerce checkout and payment flows. Provides ready-made Playwright test templates for cart→checkout→payment→confirmation flows, including PG sandbox testing (Toss/Stripe), error scenarios (payment failure, timeout, stock exhaustion), and idempotency verification. Use when writing E2E tests for any e-commerce feature — checkout, payment, order status, or refund flows.

Testing & QA 0 stars 1 forks Updated today MIT

Install

View on GitHub

Quality Score: 78/100

Stars 20%
0
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
80
License 10%
100
Description 5%
100

Skill Content

# E2E Commerce Test Scenarios ## Pre-check (K1) > Are you testing a checkout/payment/order flow? If testing simple CRUD or non-transactional features, standard E2E patterns suffice — this skill is not needed. ## Must-Test Scenarios ### P0 — Blocks Deployment | Scenario | What to Verify | Gotcha | |----------|---------------|--------| | **Happy path checkout** | Cart → Shipping → Payment → Order confirmation | Verify order status text, not just URL change | | **Payment failure** | Error message shown, stock released | Check stock is RELEASED after failure, not just error displayed | | **Duplicate payment** | Only 1 order created on double-click | `Promise.all([click(), click()])` then verify order count via API | | **Out of stock** | Blocks checkout with clear message | Simulate stock depletion mid-checkout via test API | ### P1 — Should Pass | Scenario | What to Verify | Gotcha | |----------|---------------|--------| | **Coupon calculation** | Discount amount and total correct | Test percentage AND fixed amount coupons separately | | **Webhook resilience** | Order completes even with delayed webhook | Configure 5s delay, verify processing→complete transition | | **Cart merge on login** | Guest cart merged into user cart | User cart takes priority for duplicate items | | **Partial refund** | Refunded amount correct, order updated | Verify remaining amount, not just refund event | ### P2 — Nice to Have | Scenario | What to Verify | |----------|---------------| | Multip...

Details

Author
su-record
Repository
su-record/vibe
Created
8 months ago
Last Updated
today
Language
TypeScript
License
MIT

Integrates with

Similar Skills

Semantically similar based on skill content — not just same category