fix element click methods

上级 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% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册