This commit is contained in:
Lisa Durand 2023-09-11 17:43:12 +02:00 committed by Colin Darie
parent 5a571a3535
commit 79669dba37
No known key found for this signature in database
GPG key ID: 8C76CADD40253590

View file

@ -120,14 +120,15 @@ describe 'Instructing a dossier:', js: true, retry: 3 do
end
expect(page).to have_text('Nous générons cet export.')
click_on "Télécharger un dossier"
click_on "voir les exports"
expect(page).to have_text('Un export au format .csv est en train dêtre généré')
assert_performed_jobs 2 do
perform_enqueued_jobs(only: ExportJob)
end
page.driver.browser.navigate.refresh
click_on "Télécharger un dossier"
page.driver.browser.navigate.refresh
expect(page).to have_text('Télécharger lexport au format .csv')
end