fix element click methods

This commit is contained in:
Mike Greiling 2017-10-12 17:22:14 -05:00
parent 64a51194c7
commit 0a933ec97f
No known key found for this signature in database
GPG Key ID: 0303DF507FA67596
1 changed files with 2 additions and 2 deletions

View File

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