X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/616c6a8fc610bc94b4d257a5d7de6b4de1e8a32c..b6ac7fe88d347582d39fffa002e300af222c578f:/cypress/plugins/index.js diff --git a/cypress/plugins/index.js b/cypress/plugins/index.js index 18ce9ba20a..132f9b0d1f 100644 --- a/cypress/plugins/index.js +++ b/cypress/plugins/index.js @@ -26,7 +26,7 @@ module.exports = (on, config) => { // `on` is used to hook into various events Cypress emits // `config` is the resolved Cypress config on("before:browser:launch", (browser = {}, launchOptions) => { - const downloadDirectory = path.resolve(path.join(__dirname, "..", "downloads")); + const downloadDirectory = path.join(__dirname, "..", "downloads"); if (browser.family === 'chromium' && browser.name !== 'electron') { launchOptions.preferences.default["download"] = { default_directory: downloadDirectory