From 7a6aae501e23013a83fc7658dc8503d42a36a41c Mon Sep 17 00:00:00 2001 From: Marina Glancy Date: Tue, 20 Feb 2024 09:39:35 +0000 Subject: [PATCH] MDL-81036 behat: fix the action menu clickable area selector --- lib/tests/behat/behat_action_menu.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/tests/behat/behat_action_menu.php b/lib/tests/behat/behat_action_menu.php index 60848ec19b7..8806637969e 100644 --- a/lib/tests/behat/behat_action_menu.php +++ b/lib/tests/behat/behat_action_menu.php @@ -132,8 +132,8 @@ class behat_action_menu extends behat_base { if ($this->running_javascript()) { // Open the menu by clicking on the trigger. $this->execute( - 'behat_general::i_click_on', - [$menu, "NodeElement"] + 'behat_general::i_click_on_in_the', + ['a.dropdown-toggle', 'css_element', $menu, "NodeElement"] ); }