diff options
Diffstat (limited to 'spec/features/projects/labels/user_removes_labels_spec.rb')
-rw-r--r-- | spec/features/projects/labels/user_removes_labels_spec.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/features/projects/labels/user_removes_labels_spec.rb b/spec/features/projects/labels/user_removes_labels_spec.rb index d0175c53951..c3677d815d1 100644 --- a/spec/features/projects/labels/user_removes_labels_spec.rb +++ b/spec/features/projects/labels/user_removes_labels_spec.rb @@ -20,7 +20,7 @@ RSpec.describe "User removes labels", feature_category: :team_planning do it "removes label", :js do page.within(".other-labels") do - page.first(".label-list-item") do + page.first(".js-label-list-item") do first('.js-label-options-dropdown').click first('.js-delete-label-modal-button').click end @@ -43,7 +43,7 @@ RSpec.describe "User removes labels", feature_category: :team_planning do it "removes all labels" do loop do - li = page.first(".label-list-item", minimum: 0) + li = page.first(".js-label-list-item", minimum: 0) break unless li li.find('.js-label-options-dropdown').click |