chrome cannot send_keys unless the element is focusable

This commit is contained in:
Mike Greiling 2017-10-09 17:19:43 -05:00
parent 301204c2a3
commit 73bb0029a3
No known key found for this signature in database
GPG key ID: 0303DF507FA67596

View file

@ -518,7 +518,7 @@ describe 'Issue Boards', :js do
end end
it 'allows user to use keyboard shortcuts' do it 'allows user to use keyboard shortcuts' do
find('.boards-list').native.send_keys('i') find('body').native.send_keys('i')
expect(page).to have_content('New Issue') expect(page).to have_content('New Issue')
end end
end end