Skip to content

Commit

Permalink
MDL-66979 behat: Uncomment step disabled for old firefox
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewnicols committed Jan 22, 2021
1 parent 52d9024 commit 0c2403f
Showing 1 changed file with 9 additions and 10 deletions.
19 changes: 9 additions & 10 deletions admin/tool/behat/tests/behat/keyboard.feature
Original file line number Diff line number Diff line change
Expand Up @@ -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 | [email protected] | 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
Expand Down

0 comments on commit 0c2403f

Please sign in to comment.