Run behat tests..
Open course
Turn editing on
Open an action menu for a block (not Settings or Nav please)
For each item in the menu:
Confirm that clicking will cause the menu to close before the page redirects
Open an activity instance menu (activy on a course page)
Confirm:
indent changes keep the menu open
all others close it down
Open the course management page
For each menu on the page (there are 4)
Confirm clicking any link closes the menu
As discussed in MDL-40975. This should cater for exceptions:
course -> move left / move right
caused a regression
MDL-42809Clicking an actionmenu no longer toggles it