What problem does it solve?
This Skill provides a standardized, robust framework for creating Page Object Models (POMs) in Cypress, ensuring consistency, maintainability, and efficiency in your test automation suite.
Core Features & Use Cases
- Standardized POM Structure: Enforces a clear hierarchy and naming convention for Page Objects.
- Reusable Base Classes: Offers
BasePOM and DashboardEntityPOM for common functionalities like navigation, form handling, and API intercepting.
- Automated POM Generation: Includes a script to quickly scaffold new entity POMs.
- Use Case: When building new end-to-end tests for a complex SaaS application, use this Skill to generate and structure the POMs for managing entities like "Products" or "Users", ensuring all tests follow the same reliable pattern.
Quick Start
Use the pom-patterns skill to generate a new entity POM for 'products' in the 'default' theme.