diff --git a/spec/features/accessibility_spec.rb b/spec/features/accessibility_spec.rb index 0e526bf..cf15228 100644 --- a/spec/features/accessibility_spec.rb +++ b/spec/features/accessibility_spec.rb @@ -98,5 +98,13 @@ .according_to(:wcag2a, :wcag2aa, :wcag21a, :wcag21aa) end end + + context 'when visiting the locker renewal messages page' do + it 'complies with wcag' do + visit '/locker_renewal_messages' + expect(page).to be_axe_clean + .according_to(:wcag2a, :wcag2aa, :wcag21a, :wcag21aa) + end + end end end