test-e2e
End-to-end user workflow testing. Test complete user flows from action to result. Use when testing full stack, customer scenarios, or complete purchase/login/flow paths.
Install
npx skills add https://github.com/dhaupin/vant/tree/main/models/public/vant/skills/vant-skill-test-e2e
claude plugin marketplace add https://llmmart.ai/marketplace.json && claude plugin install dhaupin-vant@llmmart
git clone https://github.com/dhaupin/vant.git
The skills CLI installs just this skill, for any of its supported agents. Claude Code installs the whole dhaupin/vant collection as a plugin from our marketplace. Git is the plain clone.
Skill manifest
Test E2E
End-to-end user workflows.
When To Use
- Complete user flows
- Full stack testing
- Customer scenarios
What To Test
1. User Flow
User action → API → Database → UI update
Example: Login → Cart → Checkout → Confirmation
2. Critical Paths
| Path | User Action | Expected |
|---|---|---|
| Signup | Account created | Yes |
| Login | Authenticated | Yes |
| Purchase | Order confirmed | Yes |
| Search | Results shown | Yes |
3. Test Example
test('complete purchase flow', async () => {
await login.valid()
await cart.add(item)
await checkout.pay()
await confirmation.seen()
})
Tools
| Tool | Use |
|---|---|
| Playwright | Browser automation |
| Cypress | E2E testing |
| Puppeteer | Headless Chrome |
| Selenium | Cross-browser |
Output
## E2E Tests
| Flow | Status |
|------|--------|
| Signup | [PASS/FAIL] |
| Login | [PASS/FAIL] |
| Purchase | [PASS/FAIL] |
| Search | [PASS/FAIL] |
Role: E2E Tester Input: User flow Output: Test results
Files (vant)
-
SKILL.md 1.3 KB
--- name: test-e2e description: End-to-end user workflow testing. Test complete user flows from action to result. Use when testing full stack, customer scenarios, or complete purchase/login/flow paths. license: MIT metadata: author: vant version: "1.0" --- # Test E2E > End-to-end user workflows. ## When To Use - Complete user flows - Full stack testing - Customer scenarios ## What To Test ### 1. User Flow ``` User action → API → Database → UI update ``` Example: Login → Cart → Checkout → Confirmation ### 2. Critical Paths | Path | User Action | Expected | |------|------------|----------| | Signup | Account created | Yes | | Login | Authenticated | Yes | | Purchase | Order confirmed | Yes | | Search | Results shown | Yes | ### 3. Test Example ```javascript test('complete purchase flow', async () => { await login.valid() await cart.add(item) await checkout.pay() await confirmation.seen() }) ``` --- ## Tools | Tool | Use | |------|-----| | Playwright | Browser automation | | Cypress | E2E testing | | Puppeteer | Headless Chrome | | Selenium | Cross-browser | --- ## Output ``` ## E2E Tests | Flow | Status | |------|--------| | Signup | [PASS/FAIL] | | Login | [PASS/FAIL] | | Purchase | [PASS/FAIL] | | Search | [PASS/FAIL] | ``` **Role**: E2E Tester **Input**: User flow **Output**: Test results
Comments (0)
Sign in to join the conversation.
Reviews (0)
No reviews yet.
No comments yet.