Merge pull request #10732 from mfo/US/unflack_expert_spec

Tech : corrige un test qui bagotait (expert_spec:141)
This commit is contained in:
mfo 2024-09-02 12:25:34 +00:00 committed by GitHub
commit 622b3d0ff2
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -146,9 +146,9 @@ describe 'Inviting an expert:' do
click_on '1 avis à donner' click_on '1 avis à donner'
click_on avis.dossier.user.email click_on avis.dossier.user.email
click_on 'Télécharger le dossier et toutes ses pièces jointes' # click_on 'Télécharger le dossier et toutes ses pièces jointes'
# For some reason, clicking the download link does not trigger the download in the headless browser ; # For some reason, clicking the download link does not trigger the download in the headless browser
# So we need to go to the download link directly # for some member of the team, so we need to go to the download link directly
visit telecharger_pjs_expert_avis_path(avis.dossier.procedure, avis) visit telecharger_pjs_expert_avis_path(avis.dossier.procedure, avis)
DownloadHelpers.wait_for_download DownloadHelpers.wait_for_download