Commit 8480118d authored by Luke "Jared" Bennett's avatar Luke "Jared" Bennett

Fix `send_key` to `send_keys` and add EOF newline

parent ca9033bd
...@@ -8,11 +8,11 @@ feature 'Dashboard shortcuts', :feature, :js do ...@@ -8,11 +8,11 @@ feature 'Dashboard shortcuts', :feature, :js do
end end
scenario 'Navigate to tabs' do scenario 'Navigate to tabs' do
find('body').send_key([:shift, 'I']) find('body').send_keys([:shift, 'I'])
check_page_title('Issues') check_page_title('Issues')
find('body').send_key([:shift, 'M']) find('body').send_keys([:shift, 'M'])
check_page_title('Merge Requests') check_page_title('Merge Requests')
...@@ -52,4 +52,4 @@ feature 'Dashboard shortcuts', :feature, :js do ...@@ -52,4 +52,4 @@ feature 'Dashboard shortcuts', :feature, :js do
def check_page_title(title) def check_page_title(title)
expect(find('.header-content .title')).to have_content(title) expect(find('.header-content .title')).to have_content(title)
end end
end end
\ No newline at end of file
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment