From 810068e5a8b609d99db04bf9c57dc61cb934ee6f Mon Sep 17 00:00:00 2001 From: mfo Date: Mon, 2 Sep 2024 11:14:32 +0200 Subject: [PATCH] fix(spec): no more flackyness on ./spec/system/experts/expert_spec.rb:141 --- spec/system/experts/expert_spec.rb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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