Commit 0a933ec9 authored by Mike Greiling's avatar Mike Greiling

fix element click methods

parent 64a51194
...@@ -77,7 +77,7 @@ feature 'Merge requests > User posts diff notes', :js do ...@@ -77,7 +77,7 @@ feature 'Merge requests > User posts diff notes', :js do
context 'with an unfolded line' do context 'with an unfolded line' do
before do before do
find('.js-unfold', match: :first).send_keys(:return) find('.js-unfold', match: :first).click
wait_for_requests wait_for_requests
end end
...@@ -136,7 +136,7 @@ feature 'Merge requests > User posts diff notes', :js do ...@@ -136,7 +136,7 @@ feature 'Merge requests > User posts diff notes', :js do
context 'with an unfolded line' do context 'with an unfolded line' do
before do before do
find('.js-unfold', match: :first).send_keys(:return) find('.js-unfold', match: :first).click
wait_for_requests wait_for_requests
end end
......
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