diff --git a/spec/system/experts/expert_spec.rb b/spec/system/experts/expert_spec.rb index 82f03decf..6f9309734 100644 --- a/spec/system/experts/expert_spec.rb +++ b/spec/system/experts/expert_spec.rb @@ -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