Commit 4f5fda8b authored by Mike Greiling's avatar Mike Greiling

accept javascript confirm dialog on admin delete label link

parent 8ee9843e
...@@ -33,7 +33,7 @@ RSpec.describe 'admin issues labels' do ...@@ -33,7 +33,7 @@ RSpec.describe 'admin issues labels' do
it 'deletes all labels', :js do it 'deletes all labels', :js do
page.within '.labels' do page.within '.labels' do
page.all('.btn-remove').each do |remove| page.all('.btn-remove').each do |remove|
remove.click accept_confirm { remove.click }
wait_for_requests wait_for_requests
end end
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