spec(selenium): improve chromedriver config

This commit is contained in:
Paul Chavard 2024-09-10 20:23:15 +02:00
parent 4e1e189989
commit 701e71cbbf
No known key found for this signature in database
7 changed files with 33 additions and 53 deletions

View file

@ -189,7 +189,7 @@ describe 'user access to the list of their dossiers', js: true do
expect(page).to have_content(dossier_en_construction.procedure.libelle)
within(:css, ".card", match: :first) do
click_on 'Autres actions'
page.accept_alert('Confirmer la suppression ?') do
accept_alert('Confirmer la suppression ?') do
click_on 'Supprimer le dossier'
end
end