Champs editor should handle repetition type

This commit is contained in:
Paul Chavard 2019-01-17 15:15:46 +01:00
parent 9728721a12
commit 9b7b59f67e
13 changed files with 148 additions and 55 deletions

View file

@ -105,7 +105,7 @@ feature 'As an administrateur I wanna create a new procedure', js: true do
end
expect(page).to have_selector('#procedure_types_de_champ_attributes_0_libelle')
fill_in 'procedure_types_de_champ_attributes_0_libelle', with: 'libelle de champ'
expect(page).to have_content('Champs enregistrés')
expect(page).to have_content('Formulaire mis à jour')
within '.footer' do
click_on 'Ajouter un champ'
@ -135,7 +135,7 @@ feature 'As an administrateur I wanna create a new procedure', js: true do
click_on 'Ajouter un champ'
end
fill_in 'procedure_types_de_champ_attributes_0_libelle', with: 'libelle de champ'
expect(page).to have_content('Champs enregistrés')
expect(page).to have_content('Formulaire mis à jour')
click_on Procedure.last.libelle
click_on 'onglet-pieces'