Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Problem/Motivation
The XPaths in \Drupal\options\Tests\OptionsWidgetsTest::testEmptyValue() are very specific and this level of specificity is not needed to test this functionality. The specificity is causing failures in this test method when classes/markup are changed.
Proposed resolution
Make the XPath more agnostic about classes and markup.
Remaining tasks
- Patch
- Patch review
User interface changes
n/a
API changes
n/a
Beta phase evaluation
Issue category | Task, just simplifying the test to avoid failures |
---|---|
Issue priority | Normal |
Unfrozen changes | Unfrozen because it only changes tests |
Comment | File | Size | Author |
---|---|---|---|
#1 | 2474107-1.patch | 1.47 KB | star-szr |
Comments
Comment #1
star-szrComment #2
yched CreditAttribution: yched commented:-)
Comment #3
jibranThanks @Cottser.
Comment #4
star-szrThank you both :)
Comment #5
alexpottCommitted e594f22 and pushed to 8.0.x. Thanks!
Thanks for adding the beta evaluation to the issue summary.