Loading core/tests/Drupal/Tests/WebAssert.php +1 −1 Original line number Diff line number Diff line Loading @@ -223,7 +223,7 @@ public function optionExists($select, $option, TraversableElement $container = N $option_field = $select_field->find('named_exact', ['option', $option]); if ($option_field === NULL) { throw new ElementNotFoundException($this->session->getDriver(), 'select', 'id|name|label|value', $option); throw new ElementNotFoundException($this->session->getDriver(), 'option', 'id|name|label|value', $option); } return $option_field; Loading Loading
core/tests/Drupal/Tests/WebAssert.php +1 −1 Original line number Diff line number Diff line Loading @@ -223,7 +223,7 @@ public function optionExists($select, $option, TraversableElement $container = N $option_field = $select_field->find('named_exact', ['option', $option]); if ($option_field === NULL) { throw new ElementNotFoundException($this->session->getDriver(), 'select', 'id|name|label|value', $option); throw new ElementNotFoundException($this->session->getDriver(), 'option', 'id|name|label|value', $option); } return $option_field; Loading