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

23 lines
467 B
Ruby
Raw Normal View History

require 'rails_helper'
describe 'Issue Boards shortcut', feature: true, js: true do
2016-09-07 12:14:41 -04:00
include WaitForVueResource
let(:project) { create(:empty_project) }
before do
2016-10-10 22:29:20 -04:00
create(:board, project: project)
login_as :admin
visit namespace_project_path(project.namespace, project)
end
it 'takes user to issue board index' do
find('body').native.send_keys('gl')
expect(page).to have_selector('.boards-list')
2016-09-07 12:14:41 -04:00
wait_for_vue_resource
end
end