BigW Consortium Gitlab

keyboard_shortcut_spec.rb 386 Bytes
Newer Older
1 2
require 'rails_helper'

3
describe 'Issue Boards shortcut', :js do
4
  let(:project) { create(:project) }
5 6

  before do
7
    create(:board, project: project)
8

9
    sign_in(create(:admin))
10

11
    visit project_path(project)
12 13 14
  end

  it 'takes user to issue board index' do
15
    find('body').native.send_keys('gb')
16
    expect(page).to have_selector('.boards-list')
Phil Hughes committed
17

18
    wait_for_requests
19 20
  end
end