From 40ee69ea8b1b99fa4b3c7532a79020b9b45f850e Mon Sep 17 00:00:00 2001 From: Marina Glancy Date: Fri, 25 Nov 2022 22:03:00 +0100 Subject: [PATCH] MDL-76490 behat: correct step for opening autocomplete in container. --- lib/tests/behat/behat_forms.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/tests/behat/behat_forms.php b/lib/tests/behat/behat_forms.php index 4e73058f0d5..323fbe485c7 100644 --- a/lib/tests/behat/behat_forms.php +++ b/lib/tests/behat/behat_forms.php @@ -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']); }