Avoid to display download panel during integration tests

- it could be the cause of the failures in #14189;
  - and the patch in firefox to enable the pref landed very recently:
  https://hg.mozilla.org/mozilla-central/rev/3de56e38f3c87f33a1e7849701edb3c62bc472a5
This commit is contained in:
Calixte Denizet 2021-10-27 11:43:25 +02:00
parent 390ddd9241
commit a24322fdab

View File

@ -921,6 +921,7 @@ async function startBrowser(browserName, startUrl = "") {
"pdfjs.disabled": true,
"browser.helperApps.neverAsk.saveToDisk": "application/pdf",
// Avoid popup when saving is done
"browser.download.improvements_to_download_panel": false,
"browser.download.panel.shown": true,
// Save file in output
"browser.download.folderList": 2,