Update tests
This commit is contained in:
parent
177c213962
commit
7eba42f5c0
1 changed files with 5 additions and 5 deletions
|
@ -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')
|
||||
|
|
Loading…
Reference in a new issue