feat(dossier): test check conditions on en construction dossier
This commit is contained in:
parent
b2c480fcdc
commit
982e604b07
1 changed files with 8 additions and 0 deletions
|
@ -290,6 +290,14 @@ describe 'The user' do
|
||||||
expect(page).to have_field(type_de_champ.libelle, with: '', visible: false)
|
expect(page).to have_field(type_de_champ.libelle, with: '', visible: false)
|
||||||
choose('Oui')
|
choose('Oui')
|
||||||
expect(page).to have_field(type_de_champ.libelle, with: '', visible: true)
|
expect(page).to have_field(type_de_champ.libelle, with: '', visible: true)
|
||||||
|
|
||||||
|
click_on 'Déposer le dossier'
|
||||||
|
click_on 'Accéder à votre dossier'
|
||||||
|
click_on 'Modifier mon dossier'
|
||||||
|
|
||||||
|
expect(page).to have_field(type_de_champ.libelle, with: '', visible: true)
|
||||||
|
choose('Non')
|
||||||
|
expect(page).to have_field(type_de_champ.libelle, with: '', visible: false)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue