What problem does it solve?
Ensuring code quality and preventing regressions in AEM Edge Delivery projects can be complex, requiring various testing methodologies. This skill provides a comprehensive guide to efficient testing, balancing value and cost, so you can ship high-quality code faster.
Core Features & Use Cases
- Unit Testing Guidance: Best practices for writing and maintaining unit tests for logic-heavy utilities and data processing, catching regressions early.
- Browser Testing Workflow: Guides through using Playwright/Puppeteer for visual and functional validation of block decoration and responsive design, ensuring a flawless user experience.
- Automated Quality Checks: Integrates linting and performance validation via GitHub checks, streamlining your CI/CD pipeline and maintaining code standards.
- Use Case: After implementing a new "hero" block, use this skill to guide you through writing unit tests for its utility functions, running browser tests to capture screenshots of its rendering across devices, and ensuring all linting and CI checks pass before creating a PR.
Quick Start
Guide me through the testing workflow for a new "cards" block, focusing on browser testing and linting.