Closed (fixed)
Project:
Drupal core
Version:
9.4.x-dev
Component:
contact.module
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
9 Mar 2022 at 21:05 UTC
Updated:
25 Mar 2022 at 09:44 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
danflanagan8This one was surprisingly tricky considering only one class ended up needing any substantive changes
For one, it asserted the presence of an element in a very strange way:
That escaped my initial search for
cssandxpath. And obviously that assertion relies strongly on Classy.The bigger thing though was that I felt compelled to channel @xjm and really make sure that the assertions I updated are truly asserting what they claim. So there's more to the diff than just changing selectors. But I think my changes here are very much in line with @xjm's feedback on the sibling Taxonomy issue.
Comment #3
longwaveI like that the test is easier to read and clarifies exactly what it is looking for now, so +1 to the changes.
Comment #6
lauriiiNice improvements to the assertions. Feels like this should a lot less brittle than the original assertions.
Committed 801e645 and pushed to 10.0.x. Also cherry-picked to 9.4.x. Thanks!