Active
Project:
Drupal core
Version:
main
Component:
phpunit
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
9 Jun 2026 at 15:45 UTC
Updated:
9 Jun 2026 at 16:44 UTC
Jump to comment: Most recent
Just found this while converting a contrib test where the assertions were getting page elements using CSS IDs, and those IDs were being made in the SUT using \Drupal\Component\Utility\Html.
HttpKernelUiHelperTrait needs to call Html::resetSeenIds() after a request (or we need to fix \Drupal\Component\Utility\Html to it works for this and for persistent servers).
Comments
Comment #2
joachim commented