MDL-81036 behat: fix the action menu clickable area selector

This commit is contained in:
Marina Glancy 2024-02-20 09:39:35 +00:00
parent e567c21d6e
commit 7a6aae501e

View File

@ -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"]
);
}