diff --git a/admin/tool/behat/tests/behat/keyboard.feature b/admin/tool/behat/tests/behat/keyboard.feature index cdcb0812f4f..ca9a74f02f3 100644 --- a/admin/tool/behat/tests/behat/keyboard.feature +++ b/admin/tool/behat/tests/behat/keyboard.feature @@ -28,16 +28,15 @@ Feature: Verify that keyboard steps work as expected And I press the shift tab key And the focused element is "Username" "field" -# TODO: Uncomment the following when MDL-66979 is integrated. -# @javascript -# Scenario: Using the arrow keys allows me to navigate through menus -# Given the following "users" exist: -# | username | email | firstname | lastname | -# | saffronr | saffron.rutledge@example.com | Saffron | Rutledge | -# And I log in as "saffronr" -# And I click on "Saffron Rutledge" "link" in the ".usermenu" "css_element" -# When I press the up key -# Then the focused element is "Log out" "link" + @javascript + Scenario: Using the arrow keys allows me to navigate through menus + Given the following "users" exist: + | username | email | firstname | lastname | + | saffronr | saffron.rutledge@example.com | Saffron | Rutledge | + And I log in as "saffronr" + And I click on "Saffron Rutledge" "link" in the ".usermenu" "css_element" + When I press the up key + Then the focused element is "Log out" "link" @javascript Scenario: The escape key can be used to close a dialogue