diff --git a/ee/spec/features/epics/user_comments_on_epic_spec.rb b/ee/spec/features/epics/user_comments_on_epic_spec.rb index 6be5e3097960fb72a0d6625940ee37719dab08cb..f4acd92e409509162cc2f2c7333b3fa3ddc6964b 100644 --- a/ee/spec/features/epics/user_comments_on_epic_spec.rb +++ b/ee/spec/features/epics/user_comments_on_epic_spec.rb @@ -29,6 +29,7 @@ page.within('.note') do expect(page).to have_content(content) + expect(page).to be_axe_clean.within '.note' end page.within('.js-main-target-form') do @@ -48,6 +49,7 @@ epic2.title, href: /#{epic_path(epic2)}/ ) + expect(page).to be_axe_clean.within '.md-preview-holder' end end end @@ -64,6 +66,7 @@ create(:note, noteable: epic, author: epic.author, note: content) expect(page).to have_content(content) + expect(page).to be_axe_clean.within '.note' end end end