diff --git a/spec/features/comment_to_authority_spec.rb b/spec/features/comment_to_authority_spec.rb index be87734cd..5b9d7be1a 100644 --- a/spec/features/comment_to_authority_spec.rb +++ b/spec/features/comment_to_authority_spec.rb @@ -103,6 +103,11 @@ # Limiting check to main content to ignore (for the time being) colour contrast issues with the header and footer expect(page).to be_axe_clean.within("main") end + + it "page passes most" do + # Also doing check across whole page so we catch issues like h1 not being used + expect(page).to be_axe_clean.skipping("color-contrast") + end end it "is not immediately publically visible in the comments section" do diff --git a/spec/features/documentation_pages_spec.rb b/spec/features/documentation_pages_spec.rb index 461e3dd28..c72e9aa93 100644 --- a/spec/features/documentation_pages_spec.rb +++ b/spec/features/documentation_pages_spec.rb @@ -24,6 +24,11 @@ # Limiting check to main content to ignore (for the time being) colour contrast issues with the header and footer expect(page).to be_axe_clean.within("main") end + + it "page passes most" do + # Also doing check across whole page so we catch issues like h1 not being used + expect(page).to be_axe_clean.skipping("color-contrast") + end end end end