From b98a91dafdfabc154da5df7b485ce10c7cf5bb6e Mon Sep 17 00:00:00 2001 From: Vivian Ha Date: Tue, 19 Nov 2024 11:12:39 -0500 Subject: [PATCH] [#176] Create study rooms accessibility spec --- spec/features/accessibility_spec.rb | 8 ++++++++ 1 file changed, 8 insertions(+) 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