diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2024-01-17 00:06:39 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2024-01-17 00:06:39 +0300 |
commit | d62742b0169769191b32038cf20445a47db3b287 (patch) | |
tree | 0b718d822d0b3bffac1973dcff11b56853e664a2 /spec/features/admin | |
parent | e18006fc6313b1d04128416cdb5f1533adcdb53e (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/features/admin')
-rw-r--r-- | spec/features/admin/admin_browse_spam_logs_spec.rb | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/spec/features/admin/admin_browse_spam_logs_spec.rb b/spec/features/admin/admin_browse_spam_logs_spec.rb index 1f89232759c..c7d52ef441a 100644 --- a/spec/features/admin/admin_browse_spam_logs_spec.rb +++ b/spec/features/admin/admin_browse_spam_logs_spec.rb @@ -25,6 +25,11 @@ RSpec.describe 'Admin browse spam logs', feature_category: :shared do expect(page).to have_link('Trust user') end + it 'passes axe automated accessibility testing', :js do + visit admin_spam_logs_path + expect(page).to be_axe_clean.within('.table').skipping :'link-in-text-block' + end + it 'does not perform N+1 queries' do control_queries = ActiveRecord::QueryRecorder.new { visit admin_spam_logs_path } create(:spam_log) |