- Issue created by @longwave
- Merge request !12061Issue #3522969: Deprecate BrowserTestBase::getOptions() → (Open) created by annmarysruthy
- 🇺🇸United States smustgrave
This probably could of been a novice task for a new user.
\Drupal\Tests\BrowserTestBase
contains this method:
/**
* Helper function to get the options of select field.
*
* @param \Behat\Mink\Element\NodeElement|string $select
* Name, ID, or Label of select field to assert.
* @param \Behat\Mink\Element\Element $container
* (optional) Container element to check against. Defaults to current page.
*
* @return array
* Associative array of option keys and values.
*/
protected function getOptions($select, ?Element $container = NULL) {
This function is never called in core, and doesn't seem like something we should be providing in the base class.
Deprecate it for removal in Drupal 12.
Active
11.0 🔥
phpunit
This probably could of been a novice task for a new user.