testing-e2e
3
总安装量
1
周安装量
#55472
全站排名
安装命令
npx skills add https://github.com/wojons/skills --skill testing-e2e
Agent 安装分布
amp
1
cline
1
opencode
1
cursor
1
kimi-cli
1
codex
1
Skill 文档
End-to-End Testing
Test complete user workflows from start to finish in a production-like environment.
When to use me
Use this skill when:
- Testing critical user journeys before release
- Validating complete system integration
- Ensuring UI interactions work correctly
- Simulating real user behavior and scenarios
- Testing across multiple systems and services
- Performing acceptance testing from user perspective
What I do
- Identify critical user workflows and happy paths
- Set up production-like test environments
- Simulate user interactions with the application
- Test across browsers, devices, and platforms
- Validate complete data flows from UI to database
- Test error scenarios and recovery flows
- Measure performance of complete user journeys
Examples
# Run E2E tests with common frameworks
npm run test:e2e # Cypress, Playwright, Selenium
npx cypress run # Cypress specifically
npx playwright test # Playwright
pytest tests/e2e/ # Python with Selenium
# Run specific E2E test suites
npm run test:e2e -- --spec "cypress/e2e/login.cy.js"
npx playwright test login.spec.js
# Run with different browsers
npx playwright test --browser=all
npx cypress run --browser chrome
# Run with visual testing
npx playwright test --screenshot=on
Output format
End-to-End Test Results:
ââââââââââââââââââââââââââââââ
â
User Registration Flow
â Visit registration page
â Fill registration form
â Submit form successfully
â Verify confirmation email
â Login with new credentials
â Checkout Flow
â Add item to cart
â Proceed to checkout
â Payment processing fails (Timeout)
Error: Payment gateway timeout after 30s
â ï¸ Account Settings
â ï¸ Password change saves but email not sent
Summary: 12 scenarios, 9 passed, 2 failed, 1 warning
Test Duration: 4m 23s
Notes
- E2E tests are slowest but most realistic
- Run fewer E2E tests, focus on critical paths
- Use headless browsers for CI/CD pipelines
- Implement retry logic for flaky tests
- Clean up test data thoroughly
- Consider visual regression testing for UI
- Test across multiple viewport sizes
- Monitor test execution time and optimize