summaryrefslogtreecommitdiff
path: root/spec/features/dashboard/shortcuts_spec.rb
diff options
context:
space:
mode:
authorFilipa Lacerda <filipa@gitlab.com>2017-03-31 16:24:46 +0100
committerJacob Schatz <jschatz1@gmail.com>2017-04-06 18:14:42 -0400
commit7eba42f5c08637eb0d46b40da62825981d0c7247 (patch)
tree3279093e9158182f12e0ea88f7fb6427b6d97c4c /spec/features/dashboard/shortcuts_spec.rb
parent177c213962a12789170fed4011ebb093b91dd21e (diff)
downloadgitlab-ce-7eba42f5c08637eb0d46b40da62825981d0c7247.tar.gz
Update tests
Diffstat (limited to 'spec/features/dashboard/shortcuts_spec.rb')
-rw-r--r--spec/features/dashboard/shortcuts_spec.rb10
1 files changed, 5 insertions, 5 deletions
diff --git a/spec/features/dashboard/shortcuts_spec.rb b/spec/features/dashboard/shortcuts_spec.rb
index 3642c0bfb5b..d5c5b344ffd 100644
--- a/spec/features/dashboard/shortcuts_spec.rb
+++ b/spec/features/dashboard/shortcuts_spec.rb
@@ -3,26 +3,26 @@ require 'spec_helper'
feature 'Dashboard shortcuts', feature: true, js: true do
before do
login_as :user
- visit dashboard_projects_path
+ visit root_dashboard_path
end
scenario 'Navigate to tabs' do
- find('body').native.send_key('g')
+ find('body').native.send_key(:shift)
find('body').native.send_key('p')
check_page_title('Projects')
- find('body').native.send_key('g')
+ find('body').native.send_key(:shift)
find('body').native.send_key('i')
check_page_title('Issues')
- find('body').native.send_key('g')
+ find('body').native.send_key(:shift)
find('body').native.send_key('m')
check_page_title('Merge Requests')
- find('body').native.send_key('g')
+ find('body').native.send_key(:shift)
find('body').native.send_key('t')
check_page_title('Todos')