summaryrefslogtreecommitdiff
path: root/features
diff options
context:
space:
mode:
authorJacob Schatz <jschatz@gitlab.com>2017-04-06 23:46:14 +0000
committerJacob Schatz <jschatz@gitlab.com>2017-04-06 23:46:14 +0000
commit496208c9bdfcdad685183afa36ad2173357c18da (patch)
tree2f231660590a30ba5b4c84cba0d7de2b32e5ba00 /features
parent8a574030eadd1794294543639a5dd471741d8c6e (diff)
parent518203d5e181d9f5fdf5c4fd40635b076babbe57 (diff)
downloadgitlab-ce-496208c9bdfcdad685183afa36ad2173357c18da.tar.gz
Merge branch 'menu-shortcut' into 'master'
Add keyboard shortcuts to main menu. Closes #30036 See merge request !10243
Diffstat (limited to 'features')
-rw-r--r--features/project/shortcuts.feature2
-rw-r--r--features/steps/project/project_shortcuts.rb4
2 files changed, 3 insertions, 3 deletions
diff --git a/features/project/shortcuts.feature b/features/project/shortcuts.feature
index b47fca31ef2..cbbea237825 100644
--- a/features/project/shortcuts.feature
+++ b/features/project/shortcuts.feature
@@ -26,7 +26,7 @@ Feature: Project Shortcuts
@javascript
Scenario: Navigate to repository charts tab
- Given I press "g" and "g"
+ Given I press "g" and "d"
Then the active sub tab should be Charts
And the active main tab should be Repository
diff --git a/features/steps/project/project_shortcuts.rb b/features/steps/project/project_shortcuts.rb
index 8143b01ca40..cebf09750b0 100644
--- a/features/steps/project/project_shortcuts.rb
+++ b/features/steps/project/project_shortcuts.rb
@@ -20,9 +20,9 @@ class Spinach::Features::ProjectShortcuts < Spinach::FeatureSteps
find('body').native.send_key('n')
end
- step 'I press "g" and "g"' do
- find('body').native.send_key('g')
+ step 'I press "g" and "d"' do
find('body').native.send_key('g')
+ find('body').native.send_key('d')
end
step 'I press "g" and "s"' do