From 5efe258114ba56abb537a9b7a2f5e283e32c5268 Mon Sep 17 00:00:00 2001 From: sorge-it <3419073+sorge-it@users.noreply.github.com> Date: Tue, 6 Oct 2026 21:22:46 +0200 Subject: [PATCH] fix: match no node inside a template, as a browser does A selector found a node inside a template, though the page does not show it, so a check could pass on markup only a script would render. attributeValues() leaves those out too. --- CHANGELOG.md | 18 ++++++++++++++++++ README.md | 3 +++ .../phpunit-pest-html-assertions/SKILL.md | 2 +- src/PHPUnit/Html.php | 16 ++++++++++++++-- tests/PHPUnit/HtmlTest.php | 10 ++++++++++ 5 files changed, 46 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index cc93efa..f0131b0 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,23 @@ # Changelog +## 1.4.2 + +### Fixed + +- A node inside a `