From 9b3343adc269caaaf5e0d84ede0ba36bc1215c5e Mon Sep 17 00:00:00 2001 From: Andrew Nicols Date: Mon, 16 Dec 2019 09:58:53 +0800 Subject: [PATCH] MDL-63996 behat: Fix multi-tag autocomplete usage --- lib/behat/form_field/behat_form_autocomplete.php | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/behat/form_field/behat_form_autocomplete.php b/lib/behat/form_field/behat_form_autocomplete.php index 4d56560560b..8b1d39080a0 100644 --- a/lib/behat/form_field/behat_form_autocomplete.php +++ b/lib/behat/form_field/behat_form_autocomplete.php @@ -86,6 +86,7 @@ class behat_form_autocomplete extends behat_form_text { $this->wait_for_pending_js(); $this->key_press(27); + $this->wait_for_pending_js(); } } }