gitlab-org--gitlab-foss/spec/features/boards/keyboard_shortcut_spec.rb
Douglas Barbosa Alexandre 53f50edf4d Fix board relates specs
2016-10-11 11:47:56 -03:00

22 lines
467 B
Ruby

require 'rails_helper'
describe 'Issue Boards shortcut', feature: true, js: true do
include WaitForVueResource
let(:project) { create(:empty_project) }
before do
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')
wait_for_vue_resource
end
end