diff options
author | Annabel Dunstone Gray <annabel.dunstone@gmail.com> | 2018-01-29 08:37:56 -0700 |
---|---|---|
committer | Annabel Dunstone Gray <annabel.dunstone@gmail.com> | 2018-01-30 13:26:35 -0700 |
commit | 659e6f32d3d8e25f473c8a7413e5c6a0d19e41f6 (patch) | |
tree | f10b33ed62f9a8a004088b1d7986535da36c5bbb /features/steps | |
parent | 0ef1a582b625f7f6f52e377fc62dc526da34cfb6 (diff) | |
download | gitlab-ce-659e6f32d3d8e25f473c8a7413e5c6a0d19e41f6.tar.gz |
Fix labels specs
Diffstat (limited to 'features/steps')
-rw-r--r-- | features/steps/project/issues/labels.rb | 5 |
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 |