-
Bug
-
Resolution: Fixed
-
Minor
-
3.9.18, 3.11.11, 4.0.5, 4.1
-
MOODLE_311_STABLE, MOODLE_39_STABLE, MOODLE_400_STABLE, MOODLE_401_STABLE
-
MOODLE_311_STABLE, MOODLE_39_STABLE, MOODLE_400_STABLE, MOODLE_401_STABLE
-
MDL-76490-401 -
Behat step
And I open the autocomplete suggestions list in the "Some name" "dialogue"
|
completely ignores container
patch:
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']);
|
}
|
|