summaryrefslogtreecommitdiff
path: root/spec
diff options
context:
space:
mode:
authorSean McGivern <sean@gitlab.com>2017-03-17 10:58:19 +0000
committerSean McGivern <sean@gitlab.com>2017-03-17 14:58:35 +0000
commitc77fc4cee3d7a9f167cc5ca87fb5c8e22aed95f3 (patch)
tree106efb16d311cb1fd6ca21850fd5c14b27ee00d3 /spec
parent4413d97b2a51e25d7d0d6f30e5170f67b4612166 (diff)
downloadgitlab-ce-c77fc4cee3d7a9f167cc5ca87fb5c8e22aed95f3.tar.gz
Add global `g t` shortcut to go to todos
Diffstat (limited to 'spec')
-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)