mirror of
https://github.com/moodle/moodle.git
synced 2025-08-04 16:36:37 +02:00
MDL-76490 behat: correct step for opening autocomplete in container.
This commit is contained in:
parent
1d863c338a
commit
8d86f30351
1 changed files with 1 additions and 1 deletions
|
@ -722,7 +722,7 @@ class behat_forms extends behat_base {
|
|||
public function i_open_the_autocomplete_suggestions_list($container = null, $containertype = null) {
|
||||
$csstarget = ".form-autocomplete-downarrow";
|
||||
if ($container && $containertype) {
|
||||
$this->execute('behat_general::i_click_on', [$csstarget, 'css_element', $container, $containertype]);
|
||||
$this->execute('behat_general::i_click_on_in_the', [$csstarget, 'css_element', $container, $containertype]);
|
||||
} else {
|
||||
$this->execute('behat_general::i_click_on', [$csstarget, 'css_element']);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue