diff options
Diffstat (limited to 'spec/features/projects/labels/sort_labels_spec.rb')
-rw-r--r-- | spec/features/projects/labels/sort_labels_spec.rb | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/spec/features/projects/labels/sort_labels_spec.rb b/spec/features/projects/labels/sort_labels_spec.rb index 74ce2f40df8..6b6d000cbf5 100644 --- a/spec/features/projects/labels/sort_labels_spec.rb +++ b/spec/features/projects/labels/sort_labels_spec.rb @@ -22,8 +22,8 @@ RSpec.describe 'Sort labels', :js, feature_category: :team_planning do # assert default sorting within '.other-labels' do - expect(page.all('.label-list-item').first.text).to include('Bar') - expect(page.all('.label-list-item').last.text).to include('Foo') + expect(page.all('.js-label-list-item').first.text).to include('Bar') + expect(page.all('.js-label-list-item').last.text).to include('Foo') end end @@ -43,8 +43,8 @@ RSpec.describe 'Sort labels', :js, feature_category: :team_planning do # assert default sorting within '.other-labels' do - expect(page.all('.label-list-item').first.text).to include('Foo') - expect(page.all('.label-list-item').last.text).to include('Bar') + expect(page.all('.js-label-list-item').first.text).to include('Foo') + expect(page.all('.js-label-list-item').last.text).to include('Bar') end end end |