Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSean McGivern <sean@gitlab.com>2017-03-17 13:58:19 +0300
committerSean McGivern <sean@gitlab.com>2017-03-17 17:58:35 +0300
commitc77fc4cee3d7a9f167cc5ca87fb5c8e22aed95f3 (patch)
tree106efb16d311cb1fd6ca21850fd5c14b27ee00d3 /spec/features/dashboard/shortcuts_spec.rb
parent4413d97b2a51e25d7d0d6f30e5170f67b4612166 (diff)
Add global `g t` shortcut to go to todos
Diffstat (limited to 'spec/features/dashboard/shortcuts_spec.rb')
-rw-r--r--spec/features/dashboard/shortcuts_spec.rb5
1 files changed, 5 insertions, 0 deletions
diff --git a/spec/features/dashboard/shortcuts_spec.rb b/spec/features/dashboard/shortcuts_spec.rb
index 62a2c54c94c..3642c0bfb5b 100644
--- a/spec/features/dashboard/shortcuts_spec.rb
+++ b/spec/features/dashboard/shortcuts_spec.rb
@@ -21,6 +21,11 @@ feature 'Dashboard shortcuts', feature: true, js: true do
find('body').native.send_key('m')
check_page_title('Merge Requests')
+
+ find('body').native.send_key('g')
+ find('body').native.send_key('t')
+
+ check_page_title('Todos')
end
def check_page_title(title)