Repository navigation
Releases
Releases · MageLens/MagentoTemplateCoverage
v2.1.4
Fixes duplicate Alpine directive rebinds in a single mutation batch and keeps coverage hits attributed to the current template after morphdom updates.
Regenerate instrumented template copies after upgrading so binding markers survive DOM attribute reordering.
Merged in #10.
v2.1.2
Instrumented Alpine property paths now work in browsers without a coverage collector, including Hyvä CSP storefronts. Cypress and Playwright still record binding execution when coverage is enabled.
Regenerate instrumented template copies after upgrading.
Fixed in #8.
Magento Template Coverage v2.1.1
- Add per-test custom record metadata to the Cypress adapter, preserving the built-in record fields.
- Preserve custom metadata passed to the Playwright fixture while keeping the test identity fields authoritative.
- Correct the repository URL for npm trusted publishing after the repository rename.
Version 2.1.0 was not published to npm. Thanks to @SilinMykola for the contribution!
Magento Template Coverage v2.1.0
- Add per-test custom record metadata to the Cypress adapter, preserving the built-in record fields.
- Preserve custom metadata passed to the Playwright fixture while keeping the test identity fields authoritative.
Thanks to @SilinMykola for the contribution!
Magento template coverage v2.0.0
- Update parse5 to 8.1.1 to fix malformed-HTML crashes, excessive parsing time and incorrect foreign-content tree construction used during template analysis.
- Require Node.js ^20.19.0 or >=22.12.0 for synchronous loading of the ESM-only parser; CommonJS package exports remain available.
- Recreate manifests and instrumented copies, then regenerate coverage reports after upgrading.
Magento template coverage v1.5.5
- Update Acorn to 8.19.0 for Unicode 17/18 identifiers and expression-validation fixes in Alpine, Knockout and template parsing, preserving Node.js 18.3 compatibility.
Magento template coverage v1.5.4
- Verify Playwright 1.65 compatibility with Chrome for Testing 156.0.8078.80, including inert controls, rendered accessible names and authenticated CSP fixtures with path-scoped cookies.
Template coverage 1.5.3
- Verify Node.js 26 compatibility alongside Node.js 24 for template analysis, Playwright integration and TypeScript declarations.
Template coverage 1.5.2
- Keep unsupported-binding warnings on their original PHTML lines after multiline PHP-generated Alpine event names.
Template coverage 1.5.1
- Measure Alpine listeners with PHP-generated event names, including Hyvä gallery and price updates, at their original PHTML locations.
- Preserve modifier-only listeners such as
@submit.preventwithout warnings or invented expression coverage. - Keep other Alpine bindings working when PHP omits a conditional listener.
- Recreate manifests, instrumented copies and raw records when upgrading: version 1.5.1 uses new template identities.