add dropdown component for traditional or with export_template export

Co-authored-by: mfo <mfo@users.noreply.github.com>
This commit is contained in:
Christophe Robillard 2024-10-25 15:00:27 +02:00 committed by mfo
parent 6d074abc3f
commit 10706a2712
No known key found for this signature in database
GPG key ID: 7CE3E1F5B794A8EC
5 changed files with 80 additions and 32 deletions

View file

@ -132,8 +132,9 @@ describe 'Instructing a dossier:', js: true do
test_statut_bar(a_suivre: 1, tous_les_dossiers: 1)
click_on "Télécharger un dossier"
within(:css, '.dossiers-export') do
click_on "Demander un export au format .csv"
within(:css, '#tabpanel-standard1-panel') do
choose "Fichier csv", allow_label_click: true
click_on "Demander l'export"
end
expect(page).to have_text('Nous générons cet export.')