mirror of
https://github.com/moodle/moodle.git
synced 2025-03-14 04:30:15 +01:00
MDL-62139 output: Menus fixes
Change the boost custom behat step to click on a button. Revert the clean templates to unchanged versions.
This commit is contained in:
parent
5c77966881
commit
ff3fc0566c
@ -39,7 +39,7 @@ class behat_theme_boost_behat_action_menu extends behat_action_menu {
|
||||
|
||||
public function i_open_the_action_menu_in($element, $selectortype) {
|
||||
// Gets the node based on the requested selector type and locator.
|
||||
$node = $this->get_node_in_container("css_element", "[role=menuitem][aria-haspopup=true]", $selectortype, $element);
|
||||
$node = $this->get_node_in_container("css_element", "[role=button][aria-haspopup=true]", $selectortype, $element);
|
||||
|
||||
// Check if it is not already opened.
|
||||
if ($node->getAttribute('aria-expanded') === 'true') {
|
||||
|
Loading…
x
Reference in New Issue
Block a user