diff options
author | Phil Hughes <me@iamphill.com> | 2016-08-19 10:21:09 +0100 |
---|---|---|
committer | Phil Hughes <me@iamphill.com> | 2016-08-19 10:21:09 +0100 |
commit | 35cea54a52acbdf619783c76dbce1852a048ff7a (patch) | |
tree | 62846af1d8e4b771e7ff9863c5460041dd2a941f /spec/features/boards/boards_spec.rb | |
parent | 12fe6a6fd733110acc72aa0f5bdaec2b1fa1f358 (diff) | |
download | gitlab-ce-35cea54a52acbdf619783c76dbce1852a048ff7a.tar.gz |
Fixed keyboard shortcuts not working on issue boardsissue-boards-keyboard-shortcuts
Closes #21071
Diffstat (limited to 'spec/features/boards/boards_spec.rb')
-rw-r--r-- | spec/features/boards/boards_spec.rb | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/spec/features/boards/boards_spec.rb b/spec/features/boards/boards_spec.rb index 8910c50c294..5d777895542 100644 --- a/spec/features/boards/boards_spec.rb +++ b/spec/features/boards/boards_spec.rb @@ -572,6 +572,18 @@ describe 'Issue Boards', feature: true, js: true do end end + context 'keyboard shortcuts' do + before do + visit namespace_project_board_path(project.namespace, project) + wait_for_vue_resource + end + + it 'allows user to use keyboard shortcuts' do + find('.boards-list').native.send_keys('i') + expect(page).to have_content('New Issue') + end + end + context 'signed out user' do before do logout |