diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2022-11-28 12:11:46 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2022-11-28 12:11:46 +0300 |
commit | 97b93f6d05b26e57a4d6a6d33a46aacb5f3235a6 (patch) | |
tree | dc9aad4a3d7c1866c4bd501e8b5832c5a9a69eb0 /spec/features/issuables | |
parent | 787981be19177a149a901e873f199331ecb873d4 (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/features/issuables')
-rw-r--r-- | spec/features/issuables/issuable_list_spec.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/spec/features/issuables/issuable_list_spec.rb b/spec/features/issuables/issuable_list_spec.rb index a1e80586c05..48e7a1b59df 100644 --- a/spec/features/issuables/issuable_list_spec.rb +++ b/spec/features/issuables/issuable_list_spec.rb @@ -26,9 +26,9 @@ RSpec.describe 'issuable list', :js do it "counts upvotes, downvotes and notes count for each #{issuable_type.to_s.humanize}" do visit_issuable_list(issuable_type) - expect(first('.issuable-upvotes')).to have_content(1) - expect(first('.issuable-downvotes')).to have_content(1) - expect(first('.issuable-comments')).to have_content(2) + expect(first('[data-testid="issuable-upvotes"]')).to have_content(1) + expect(first('[data-testid="issuable-downvotes"]')).to have_content(1) + expect(first('[data-testid="issuable-comments"]')).to have_content(2) end it 'sorts labels alphabetically' do |