diff --git a/spec/features/accessibility_spec.rb b/spec/features/accessibility_spec.rb index bd036f3..93d9868 100644 --- a/spec/features/accessibility_spec.rb +++ b/spec/features/accessibility_spec.rb @@ -74,5 +74,13 @@ .according_to(:wcag2a, :wcag2aa, :wcag21a, :wcag21aa) end end + + context 'when visiting study rooms page' do + it 'complies with wcag' do + visit '/study_rooms' + expect(page).to be_axe_clean + .according_to(:wcag2a, :wcag2aa, :wcag21a, :wcag21aa) + end + end end end