Skip to content

Commit

Permalink
MDL-81036 behat: fix the action menu clickable area selector
Browse files Browse the repository at this point in the history
  • Loading branch information
marinaglancy committed Feb 23, 2024
1 parent e567c21 commit 7a6aae5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/tests/behat/behat_action_menu.php
Original file line number Diff line number Diff line change
Expand Up @@ -132,8 +132,8 @@ protected function select_item_in_action_menu(string $item, NodeElement $menu):
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"]
);
}

Expand Down

0 comments on commit 7a6aae5

Please sign in to comment.