Skip to content

Commit

Permalink
MDL-69301 behat: comment a test out
Browse files Browse the repository at this point in the history
The e.key is not filled correctly by Geckodriver on the verssion of
Firefox that we use.
  • Loading branch information
rezaies authored and abgreeve committed Dec 9, 2020
1 parent 9b30fc2 commit 4f82e3c
Showing 1 changed file with 10 additions and 9 deletions.
19 changes: 10 additions & 9 deletions admin/tool/behat/tests/behat/keyboard.feature
Expand Up @@ -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
Expand Down

0 comments on commit 4f82e3c

Please sign in to comment.