What problem does it solve?
This Skill provides a concise, enforceable specification for Nuxt Vitest and end-to-end testing within PowerX frontend modules, reducing inconsistent UI behavior checks and missed integration coverage across plugins.
Core Features & Use Cases
- Embedded Ruleset: Contains an in-repo nuxt_tests.yaml specifying runner, target files, templates, and expected assertions.
- UI Flow Validation: Targets common web-admin flows such as table rendering, opening create modal dialogs, and verifying form submission calls to backend APIs.
- Gating & Compliance: Enforces gate PG-FE-UI-001 to ensure changes remain within transmission/contract boundaries.
- Use Case: Run these rules in CI to verify that the /templates route renders correctly, that the create modal opens, and that submitting the form triggers the expected API call.
Quick Start
Run the embedded nuxt_tests.yaml rules against the web-admin tests to verify that the /templates route renders the table, opens the create modal, and submits the form calling the API.