fix tests

This commit is contained in:
Lisa Durand 2023-11-23 16:38:01 +01:00 committed by Kara Diaby
parent f6f18e9c86
commit d0e2f281cc
11 changed files with 31 additions and 31 deletions

View file

@ -75,14 +75,14 @@ describe 'linked dropdown lists' do
expect(page).to have_current_path(commencer_path(path: procedure.path))
click_on 'Commencer la démarche'
expect(page).to have_content("Identité du demandeur")
expect(page).to have_content("Votre identité")
expect(page).to have_current_path(identite_dossier_path(user_dossier))
end
def fill_individual
find('label', text: 'Monsieur').click
fill_in('Prénom', with: 'prenom')
fill_in('Nom', with: 'nom')
fill_in('Prénom', with: 'prenom', visible: true)
fill_in('Nom', with: 'nom', visible: true)
click_on 'Continuer'
expect(page).to have_current_path(brouillon_dossier_path(user_dossier))
end