X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/37f3a8d7a7ce05a15fbb9219763b46ba1c250976..b6ac7fe88d347582d39fffa002e300af222c578f:/cypress/plugins/index.js diff --git a/cypress/plugins/index.js b/cypress/plugins/index.js index 67262bcbef..132f9b0d1f 100644 --- a/cypress/plugins/index.js +++ b/cypress/plugins/index.js @@ -27,7 +27,7 @@ module.exports = (on, config) => { // `config` is the resolved Cypress config on("before:browser:launch", (browser = {}, launchOptions) => { const downloadDirectory = path.join(__dirname, "..", "downloads"); - if (browser.family === "chromium") { + if (browser.family === 'chromium' && browser.name !== 'electron') { launchOptions.preferences.default["download"] = { default_directory: downloadDirectory };