Merge pull request #10733 from demarches-simplifiees/fix_flaky_spec
Tech: corrige une autre spec non fiable
This commit is contained in:
commit
845a4582d3
1 changed files with 3 additions and 3 deletions
|
@ -231,9 +231,9 @@ describe 'Instructing a dossier:', js: true do
|
|||
|
||||
scenario 'A instructeur can download an archive containing a single attachment' do
|
||||
find(:css, '[aria-controls=print-pj-menu]').click
|
||||
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_instructeur_dossier_path(procedure, dossier)
|
||||
|
||||
DownloadHelpers.wait_for_download
|
||||
|
|
Loading…
Reference in a new issue