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 ::xpath() in WebTestBase and BrowserTestbase use different root nodes. This may only cause problems when you need to test the <html$gt; element directly or presence of various attributes.
Proposed resolution
Fix documentation?
Remaining tasks
User interface changes
API changes
Data model changes
Comment | File | Size | Author |
---|---|---|---|
#2 | 2864201-test-only.patch | 1.24 KB | mpdonadio |
Comments
Comment #2
mpdonadioQuick and dirty test to demonstrate problem. I think we just need to adjust docs on BrowserTestBase::xpath().
Comment #13
acbramley CreditAttribution: acbramley at PreviousNext for Service NSW commentedWebTestBase was deprecated in 8.8.0
This can be closed :)