Commit 7e7baf7a authored by Mike Greiling's avatar Mike Greiling

fix diff_notes_avatars_spec.rb failures in headless Chrome

parent e0a68d45
...@@ -108,7 +108,7 @@ feature 'Diff note avatars', :js do ...@@ -108,7 +108,7 @@ feature 'Diff note avatars', :js do
expect(page).to have_selector('.notes_holder', visible: false) expect(page).to have_selector('.notes_holder', visible: false)
page.within find_line(position.line_code(project.repository)) do page.within find_line(position.line_code(project.repository)) do
first('img.js-diff-comment-avatar').send_keys(:return) first('img.js-diff-comment-avatar').click
end end
expect(page).to have_selector('.notes_holder') expect(page).to have_selector('.notes_holder')
......
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