fix(spec): no more flackyness on ./spec/system/experts/expert_spec.rb:141

This commit is contained in:
mfo 2024-09-02 11:14:32 +02:00
parent 46547cb2cd
commit 810068e5a8
No known key found for this signature in database
GPG key ID: 7CE3E1F5B794A8EC

View file

@ -146,9 +146,9 @@ describe 'Inviting an expert:' do
click_on '1 avis à donner'
click_on avis.dossier.user.email
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 ;
# So we need to go to the download link directly
# 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 member of the team, so we need to go to the download link directly
visit telecharger_pjs_expert_avis_path(avis.dossier.procedure, avis)
DownloadHelpers.wait_for_download