Update spec file

This commit is contained in:
Corinne Durrmeyer 2024-07-30 10:02:23 +02:00 committed by Paul Chavard
parent 523a295be0
commit edf9c8807f
No known key found for this signature in database

View file

@ -77,7 +77,7 @@ describe 'Creating a new dossier:', js: true do
find('label', text: 'Monsieur').click # force focus out
within "#identite-form" do
within '.suspect-email' do
expect(page).to have_content("Information : Voulez-vous dire ?")
expect(page).to have_content("L'adresse semble erronée Vouliez-vous écrire : prenom.nom@gmail.com ? Oui Non")
click_button("Oui")
end
click_button("Continuer")