MDL-48860 behat: fix matching select human-readable value
This is a selective back-port of a small part of MDL-43835.
This commit is contained in:
@@ -278,7 +278,7 @@ class behat_form_select extends behat_form_field {
|
||||
*/
|
||||
protected function get_selected_options($returntexts = true) {
|
||||
|
||||
$method = 'getText';
|
||||
$method = 'getHtml';
|
||||
if ($returntexts === false) {
|
||||
$method = 'getValue';
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user