Commit 2ea76a41 authored by Mike Greiling's avatar Mike Greiling

prevent resolve buttons from being clicked twice triggering a race condition

parent 9985406a
......@@ -241,11 +241,9 @@ feature 'Diff notes resolve', :js do
end
it 'resolves discussion' do
page.all('.note').each do |note|
note.all('.line-resolve-btn').each do |button|
page.all('.note .line-resolve-btn').each do |button|
button.click
end
end
expect(page).to have_content('Resolved by')
......
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