MDL-69301 behat: comment a test out

The e.key is not filled correctly by Geckodriver on the verssion of
Firefox that we use.
This commit is contained in:
Shamim Rezaie 2020-12-09 16:13:42 +11:00 committed by Adrian Greeve
parent 9b30fc2beb
commit 4f82e3c5db

View File

@ -28,15 +28,16 @@ Feature: Verify that keyboard steps work as expected
And I press the shift tab key
And the focused element is "Username" "field"
@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"
# 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: The escape key can be used to close a dialogue