summaryrefslogtreecommitdiff
path: root/features
diff options
context:
space:
mode:
authorTim Zallmann <tzallmann@gitlab.com>2018-02-06 11:58:03 +0000
committerTim Zallmann <tzallmann@gitlab.com>2018-02-06 11:58:03 +0000
commit1a430836e2413caf61cb1325c2835c5ad390202b (patch)
tree31c0cad4d04e4bc758ef72fd7760c26b4fa8d835 /features
parent9483cbab26ad239c7a102f887177aaf354c9d13c (diff)
parentcf9b932f78be297ee91de048e634cfa83d91ef83 (diff)
downloadgitlab-ce-1a430836e2413caf61cb1325c2835c5ad390202b.tar.gz
Merge branch '39550-group-labels-redesign' into 'master'
Resolve "Group label list page redesign" Closes #39550 See merge request gitlab-org/gitlab-ce!16592
Diffstat (limited to 'features')
-rw-r--r--features/steps/project/issues/labels.rb5
1 files changed, 3 insertions, 2 deletions
diff --git a/features/steps/project/issues/labels.rb b/features/steps/project/issues/labels.rb
index 196e0fff63a..4df96e081f9 100644
--- a/features/steps/project/issues/labels.rb
+++ b/features/steps/project/issues/labels.rb
@@ -15,8 +15,9 @@ class Spinach::Features::ProjectIssuesLabels < Spinach::FeatureSteps
step 'I delete all labels' do
page.within '.labels' do
- page.all('.remove-row').each do
- accept_confirm { first('.remove-row').click }
+ page.all('.label-list-item').each do
+ first('.remove-row').click
+ first(:link, 'Delete label').click
end
end
end