Skip to content

Commit

Permalink
MDL-76490 behat: correct step for opening autocomplete in container.
Browse files Browse the repository at this point in the history
  • Loading branch information
marinaglancy authored and paulholden committed Dec 5, 2022
1 parent 75a49ff commit a213654
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/tests/behat/behat_forms.php
Expand Up @@ -718,7 +718,7 @@ public function i_click_on_item_in_the_autocomplete_list($item) {
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']);
}
Expand Down

0 comments on commit a213654

Please sign in to comment.