Skip to content
Browse files

MDL-62139 output: Menus fixes

Change the boost custom behat step to click on a button.

Revert the clean templates to unchanged versions.
  • Loading branch information
Damyon Wiese
Damyon Wiese committed Oct 23, 2018
1 parent 5c77966 commit ff3fc0566c2f00d4ba1f7418b786765e570f7993
Showing with 1 addition and 1 deletion.
  1. +1 −1 theme/boost/tests/behat/behat_theme_boost_behat_action_menu.php
@@ -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') {

0 comments on commit ff3fc05

Please sign in to comment.
You can’t perform that action at this time.