gitlab-org--gitlab-foss/spec/features/boards/keyboard_shortcut_spec.rb

21 lines
391 B
Ruby
Raw Normal View History

require 'rails_helper'
describe 'Issue Boards shortcut', js: true do
let(:project) { create(:project) }
before do
2016-10-10 22:29:20 -04:00
create(:board, project: project)
sign_in(create(:admin))
visit project_path(project)
end
it 'takes user to issue board index' do
2017-03-30 12:37:37 -04:00
find('body').native.send_keys('gb')
expect(page).to have_selector('.boards-list')
2016-09-07 12:14:41 -04:00
wait_for_requests
end
end