What problem does it solve?
Ensuring the quality and stability of code changes in AEM Edge Delivery projects, especially for blocks and core functionality, requires a robust testing strategy. This skill guides comprehensive validation, balancing value and cost.
Core Features & Use Cases
- Unit Testing Guidance: Provides best practices for writing "keeper" unit tests for logic-heavy utilities and data processing.
- Browser Testing Workflow: Guides the use of Playwright for "throwaway" browser tests to validate block decoration, visual appearance, and responsive behavior.
- Linting & Performance Checks: Ensures code quality with linting and integrates with GitHub checks for automated performance validation.
- Troubleshooting: Offers solutions for common testing failures, linting issues, and CI/CD check failures.
Quick Start
Use the 'Testing Blocks' skill to validate the new 'Hero' block, including running unit tests, capturing browser screenshots for responsive design, and ensuring linting passes.