Repository navigation
Magento Template Coverage v1.2.0
Adds Playwright collection and regular Hyvä/Alpine 3 template coverage while preserving Cypress and Luma/Knockout compatibility.
- Playwright context collector, composable fixtures, TypeScript declarations, and elgentos integration examples.
- Alpine directive execution in HTML and PHTML with original PHP source lines preserved.
- Coverage across navigation, frames, page closure, two-way model updates, and untouched branches.
- Fix for global Knockout builds that populate exports after publishing their object.
Validation: 32 unit tests, TypeScript checks, five Playwright tests each in Chromium and Firefox, and four isolated MageLens Magento installations covering Luma/Hyvä × Cypress/Playwright. All installations generated verified PHP, JavaScript, and template reports.
Upgrade: regenerate manifests and raw records for Alpine sources. The restricted Alpine CSP evaluator, inline PHTML JavaScript bodies, and Hyvä Checkout are outside this release’s coverage scope.
Install: npm install --save-dev @vitaliiboiko/magento-template-coverage@1.2.0