AGENT SKILL

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.

License 许可
MIT
所属仓库
dhaupin/vant
最近更新
2026-11-13
Stars
★ 16
Forks
1

01 前言 Front Matter

name
test-e2e
license
MIT
metadata
{ "author": "vant", "version": "1.0" }
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.

03 SKILL.md 正文

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

04 同仓库更多 Skills