Merge pull request #9489 from colinux/form-identity-siret-dsfr

ETQ usager le form pour renseigner son SIRET passe au DSFR et est dispo en anglais
This commit is contained in:
LeSim 2023-09-19 08:14:03 +00:00 committed by GitHub
commit 3f9f7d59a2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 33 additions and 18 deletions

View file

@ -93,7 +93,7 @@ describe 'Creating a new dossier:' do
expect(page).to have_content(procedure.libelle)
fill_in 'Numéro SIRET', with: siret
click_on 'Valider'
click_on 'Continuer'
expect(page).to have_current_path(etablissement_dossier_path(dossier))
expect(page).to have_content('Coiff Land, CoiffureLand')
@ -110,7 +110,7 @@ describe 'Creating a new dossier:' do
expect(page).to have_content(procedure.libelle)
fill_in 'Numéro SIRET', with: '0000'
click_on 'Valider'
click_on 'Continuer'
expect(page).to have_current_path(siret_dossier_path(dossier))
expect(page).to have_content('Le champ « Siret » est invalide. Saisir un numéro SIRET avec 14 chiffres')