summaryrefslogtreecommitdiff
path: root/spec/features/admin
diff options
context:
space:
mode:
authorMike Greiling <mike@pixelcog.com>2017-10-13 16:40:28 -0500
committerMike Greiling <mike@pixelcog.com>2017-10-13 19:04:09 -0500
commit4f5fda8b3419b67e6108528b8eb94f8f98334324 (patch)
treee441762ac151447a8c6956ba6ad7faec1ed95f7a /spec/features/admin
parent8ee9843e3526f52f93620dd5c1dfc1967361dca9 (diff)
downloadgitlab-ce-4f5fda8b3419b67e6108528b8eb94f8f98334324.tar.gz
accept javascript confirm dialog on admin delete label link
Diffstat (limited to 'spec/features/admin')
-rw-r--r--spec/features/admin/admin_labels_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/features/admin/admin_labels_spec.rb b/spec/features/admin/admin_labels_spec.rb
index a5834056a1d..de406d7d966 100644
--- a/spec/features/admin/admin_labels_spec.rb
+++ b/spec/features/admin/admin_labels_spec.rb
@@ -33,7 +33,7 @@ RSpec.describe 'admin issues labels' do
it 'deletes all labels', :js do
page.within '.labels' do
page.all('.btn-remove').each do |remove|
- remove.click
+ accept_confirm { remove.click }
wait_for_requests
end
end