spec(wcag_usager_spec): add test on dropdown. broken 🤭

This commit is contained in:
Martin 2022-10-06 10:34:08 +02:00 committed by mfo
parent 3f37102f97
commit 48b12d03f6

View file

@ -101,6 +101,13 @@ describe 'wcag rules for usager', js: true do
expect(page).to be_axe_clean
end
scenario 'liste des dossiers et actions sur le dossier' do
dossier
visit dossiers_path
page.find("#actions_menu_dossier_#{dossier.id}_button").click
expect(page).to be_axe_clean
end
scenario 'dossier' do
visit dossier_path(dossier)
expect(page).to be_axe_clean