Early Bird Registration for DrupalCon Portland 2024 is open! Register by 23:59 PST on 31 March 2024, to get $100 off your ticket.
Problem/Motivation
In #3167880: [meta] Convert assertions involving use of xpath to WebAssert, where possible we identified that use of $this->xpath()
can be dangerous as we aren't always testing what we expect to test. In WebAssert we have more appropriate methods to find and assert HTML elements, so we should use them where possible.
This issue is scoped to find XPath selectors for <textarea>
elements and convert those where possible.
Steps to reproduce
Proposed resolution
Remaining tasks
User interface changes
API changes
Data model changes
Release notes snippet
Issue fork drupal-3202915
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #3
longwaveSeveral conversions still to go.
Comment #4
longwaveReady for review, I think.
Comment #5
mondrakeCouple nits and then this seems ready.
Comment #6
longwaveThanks for review, nits fixed.
Comment #7
mondrakeThanks!
Comment #9
catchCommitted dc5863e and pushed to 9.2.x. Thanks!