Commit 7eba42f5 authored by Filipa Lacerda's avatar Filipa Lacerda Committed by Jacob Schatz

Update tests

parent 177c2139
...@@ -3,26 +3,26 @@ require 'spec_helper' ...@@ -3,26 +3,26 @@ require 'spec_helper'
feature 'Dashboard shortcuts', feature: true, js: true do feature 'Dashboard shortcuts', feature: true, js: true do
before do before do
login_as :user login_as :user
visit dashboard_projects_path visit root_dashboard_path
end end
scenario 'Navigate to tabs' do scenario 'Navigate to tabs' do
find('body').native.send_key('g') find('body').native.send_key(:shift)
find('body').native.send_key('p') find('body').native.send_key('p')
check_page_title('Projects') check_page_title('Projects')
find('body').native.send_key('g') find('body').native.send_key(:shift)
find('body').native.send_key('i') find('body').native.send_key('i')
check_page_title('Issues') check_page_title('Issues')
find('body').native.send_key('g') find('body').native.send_key(:shift)
find('body').native.send_key('m') find('body').native.send_key('m')
check_page_title('Merge Requests') check_page_title('Merge Requests')
find('body').native.send_key('g') find('body').native.send_key(:shift)
find('body').native.send_key('t') find('body').native.send_key('t')
check_page_title('Todos') check_page_title('Todos')
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment