E2E Testing (End-to-End Testing)
E2E testing verifies complete application flows from the user's perspective, testing the entire system including frontend, backend, and integrations.
Key Concepts
- Browser automation (Playwright, Cypress)
- Test scenarios and user flows
- Test data management
- Parallel execution
- Visual regression testing
Common Use Cases
- Critical user journeys
- Payment flows
- Authentication flows
- Cross-browser testing
- Smoke tests
Best Practices
- Write from user perspective
- Use stable selectors (data-testid)
- Implement proper waiting
- Parallelize execution
- Use CI/CD integration
Resources
- Playwright: playwright.dev
- Cypress: docs.cypress.io
- Related Skills: testing, playwright, continuous-integration